TB025 Microchip Technology, TB025 Datasheet - Page 7
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
TB025
Manufacturer Part Number
TB025
Description
Microcontrollers
Manufacturer
Microchip Technology
Datasheet
1.TB025.pdf
(8 pages)
www.DataSheet4U.com
FIGURE 2:
1998 Microchip Technology Inc.
No
store in LineChecksum
Decrement ByteCount
add to LineChecksum
add to LineChecksum
add to LineChecksum
add to LineChecksum
add to LineChecksum
Read ByteCount and
Read RecType and
Read AddrH and
Read AddrL and
Read DataH and
Read DataL and
Get a single byte
Record type = 0?
Download Code
get # of words
Divide by 2 to
ByteCount = 0?
Character = :?
RecType = 0?
FLOWCHART
GetByte
1
3
Yes
Yes
No
No
Yes
2
Return with W = 0
add to LineChecksum
Read Checksum and
Yes
Return with W = 1
add to LineChecksum
Read Checksum and
Result = 0?
RecType = 1?
Result = 0?
No
2
Yes
Return with W = 1
Return with W = FFh
Return with W = FFh
Yes
No
No
1
1
No
No
Move HexDataH:HexDataL
Wait for EE Write complete
Set EEPGD and WREN bits
Continue with program
Write AAh to EECON2
Move AddrH:AddrL
Write 55h to EECON2
into EEADRH:EEADR
EEDATH = HexDataH?
EEDATA = HexDataL?
into EEDATH:EEDATA
Set WR bit
Set RD bit
DS91025A-page 7
TB025
3
Yes
Yes