Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

T89C51CC01 Datasheet(PDF) 21 Page - ATMEL Corporation

Part # T89C51CC01
Description  CAN Microcontrollers
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

T89C51CC01 Datasheet(HTML) 21 Page - ATMEL Corporation

Back Button T89C51CC01_06 Datasheet HTML 17Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 18Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 19Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 20Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 21Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 22Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 23Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 24Page - ATMEL Corporation T89C51CC01_06 Datasheet HTML 25Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 32 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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