| Electronic Components Datasheet Search |
|
COP8SCR9KMT7 Datasheet(PDF) 30 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP8SCR9KMT7 Datasheet(HTML) 30 Page - National Semiconductor (TI) |
|
30 / 80 page ![]() 11.0 In-System Programming (Continued) 11.6 RETURN TO FLASH MEMORY WITHOUT HARDWARE RESET After programming the entire program memory, including options, it is necessary to exit the Boot ROM and return to the flash program memory for program execution. Upon receipt and completion of the EXIT command through the MICROWIRE/PLUS ISP, the ISP code will reset the part and begin execution from the flash program memory as de- scribed in the Reset section. This assumes that the FLEX bit in the Option register was programmed to 1. 11.7 MICROWIRE/PLUS ISP National Semiconductor provides a program, which is avail- able from our web site at www.national.com/cop8, that is capable of programming a device from the parallel port of a PC. The software accepts manually input commands and is capable of downloading standard Intel HEX Format files. Users who wish to write their own MICROWIRE/PLUS ISP host software should refer to the COP8 FLASH ISP User Manual, available from the same web site. This document includes details of command format and delays necessary between command bytes. The MICROWIRE/PLUS ISP supports the following features and commands: • Write a value to the ISP Write Timing Register. NOTE: This must be the first command after entering MICROWIRE/PLUS ISP mode. • Erase the entire flash program memory (mass erase). • Erase a page at a specified address. • Read Option register. • Read a byte from a specified address. • Write a byte to a specified address. • Read multiple bytes starting at a specified address. • Write multiple bytes starting at a specified address. • Exit ISP and return execution to flash program memory. The following table lists the MICROWIRE/PLUS ISP com- mands and provides information on required parameters and return values. TABLE 10. MICROWIRE/PLUS ISP Commands Command Function Command Value (Hex) Parameters Return Data PGMTIM_SET Write Pulse Timing Register 0x3B Value N/A PAGE_ERASE Page Erase 0xB3 Starting Address of Page N/A MASS_ERASE Mass Erase 0xBF Confirmation Code N/A (The entire Flash Memory will be erased) READ_BYTE Read Byte 0x1D Address High, Address Low Data Byte if Security not set. 0xFF if Security set. Option Register if address = 0xFFFF, regardless of Security BLOCKR Block Read 0xA3 Address High, Address Low, Byte Count (n) High, Byte Count (n) Low 0 ≤ n ≤ 32767 n Data Bytes if Security not set. n Bytes of 0xFF if Security set. WRITE_BYTE Write Byte 0x71 Address High, Address Low, Data Byte N/A BLOCKW Block Write 0x8F Address High, Address Low, Byte Count (0 ≤ n ≤ 16), n Data Bytes N/A EXIT EXIT 0xD3 N/A N/A (Device will Reset) INVALID N/A Any other invalid command will be ignored N/A Note: The user must ensure that Block Writes do not cross a 64 byte boundary within one operation. 11.8 USER ISP AND VIRTUAL E 2 The following commands will support transferring blocks of data from RAM to flash program memory, and vice-versa. The user is expected to enforce application security in this case. • Erase the entire flash program memory (mass erase). NOTE: Execution of this command will force the device into the MICROWIRE/PLUS ISP mode. • Erase a page of flash memory at a specified address. • Read a byte from a specified address. • Write a byte to a specified address. www.national.com 30 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |