XA-G49 NXP Semiconductors, XA-G49 Datasheet - Page 14
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
XA-G49
Manufacturer Part Number
XA-G49
Description
Xa 16-bit Microcontroller Family 64k Flash/2k Ram, Watchdog, 2 Uarts
Manufacturer
NXP Semiconductors
Datasheet
1.XA-G49.pdf
(42 pages)
Philips Semiconductors
Table 1. Intel-Hex Records Used by In-System Programming
2001 Jun 27
RECORD TYPE
XA 16-bit microcontroller family
64K Flash/2K RAM, watchdog, 2 UARTs
00 or 80
01 or 81
83
Data Record
Where:
Example:
End of File (EOF), no operation
Where:
Example:
Miscellaneous Write Functions
Where:
Subfunction Code = 01 (Erase Blocks)
Subfunction Code = 04 (Erase Boot Vector and Status Byte)
Subfunction Code = 05 (Program Security Bits)
Subfunction Code = 06 (Program Status Byte or Boot Vector)
NOTE: Only two bits of these Special Cells may be programmed at one time.
Example:
:nnaaaa00dd....ddcc
Nn
Aaaa
dd....dd
cc
:10008000AF5F67F0602703E0322CFA92007780C3FD
:xxxxxx01cc
xxxxxx
cc
:00000001FF
:nnxxxx83ffssddcc
nn
xxxx
83
ff
ss
dd
cc
ff = 01
ss = block number in bits 7:5, Bits 4:0 = zeros
block 0 : ss = 00h
block 1 : ss = 20h
block 2 : ss = 40h
block 3 : ss = 80h
block 4 : ss = C0h
Example:
ff = 04
ss = don’t care
dd = don’t care
Example:
ff = 05
ss = 00 program security bit 1
Example:
ff = 06
ss = 00 program status byte
:0200008301203C
:010000830478
:02000083050175
:020000830601FC78
01 program security bit 2
02 program security bit 3
01 program boot vector
= number of bytes (hex) in record
= memory address of first byte in record
= data bytes
= checksum
= required field, but value is a “don’t care”
= checksum
= number of bytes (hex) in record
= required field, but value is a “don’t care”
= Write Function
= subfunction code
= selection code
= data input (as needed)
= checksum
erase boot vector and status byte
erase block 1
program security bit 2
program boot vector to FC00h
COMMAND/DATA FUNCTION
(inhibit writing to FLASH)
(inhibit FLASH verify)
(disable external memory)
14
XA-G49
Preliminary data