| Electronic Components Datasheet Search |
|
T89C51CC01 Datasheet(PDF) 21 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
T89C51CC01 Datasheet(HTML) 21 Page - ATMEL Corporation |
|
21 / 32 page ![]() 21 T89C51CC01 CAN Bootloader 4210D–CAN–05/06 Erasing the Flash The ID_WRITE_COMMAND flow described below allows the user to erase the Flash memory. This operation can be executed only with a device previously opened in communication. Two modes of Flash erasing are possible: • Full Chip erase • Block erase The Full Chip erase command erases the whole Flash (32 Kbytes) and sets some Con- figuration Bytes to their default values: • BSB = FFh • SBV = FFh • SSB = FFh (NO_SECURITY) The Block erase command erases only a part of the Flash. Three Blocks are defined in the T89C51CC01: • block0 (from 0000h to 1FFFh) • block1 (from 2000h to 3FFFh) • block2 (from 4000h to 7FFFh) T o s t art t h e er as i ng oper at i on, t he Hos t s ends a “ w ri t e ” C A N m e s s age (ID_WRITE_COMMAND). Requests from Host Answers from Bootloader As the Program Configuration Information flows, the erase block command has two pos- sible answers: • If the chip is protected from program access an “Error” CAN message is sent (see Section “Error Message Description”, page 22). • Otherwise an acknowledge is sent. The full chip erase is always executed whatever the Software Security Byte value is. On a full chip erase command an acknowledge “Command OK” is sent. Identifier Length Data[0] Data[1] Description ID_WRITE_COMMAND 2 00h 00h Erase block0 (0K to 8K) 20h Erase block1 (8K to 16K) 40h Erase block2 (16K to 32K) FFh Full chip erase Identifier Length Data[0] Description ID_WRITE_COMMAND 1 00h Command OK |
|
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 |