English
Language : 

XA-G39 Datasheet, PDF (14/42 Pages) NXP Semiconductors – XA 16-bit microcontroller family XA 16-bit microcontroller 32K FLASH/1K RAM, watchdog, 2 UARTs
Philips Semiconductors
XA 16-bit microcontroller family
32K Flash/1K RAM, watchdog, 2 UARTs
Table 1. Intel-Hex Records Used by In-System Programming
RECORD TYPE
COMMAND/DATA FUNCTION
00 or 80
Data Record
:nnaaaa00dd....ddcc
Where:
Nn
Aaaa
dd....dd
cc
= number of bytes (hex) in record
= memory address of first byte in record
= data bytes
= checksum
01 or 81
Example:
:10008000AF5F67F0602703E0322CFA92007780C3FD
End of File (EOF), no operation
:xxxxxx01cc
Where:
xxxxxx
cc
= required field, but value is a “don’t care”
= checksum
Example:
:00000001FF
83
Miscellaneous Write Functions
:nnxxxx83ffssddcc
Where:
nn
xxxx
83
ff
ss
dd
cc
= 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
Subfunction Code = 01 (Erase Blocks)
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
Example:
:0200008301203C erase block 1
Subfunction Code = 04 (Erase Boot Vector and Status Byte)
ff = 04
ss = don’t care
dd = don’t care
Example:
:010000830478 erase boot vector and status byte
Subfunction Code = 05 (Program Security Bits)
ff = 05
ss = 00 program security bit 1 (inhibit writing to FLASH)
01 program security bit 2 (inhibit FLASH verify)
02 program security bit 3 (disable external memory)
Example:
:02000083050175 program security bit 2
Subfunction Code = 06 (Program Status Byte or Boot Vector)
ff = 06
ss = 00 program status byte
01 program boot vector
NOTE: Only two bits of these Special Cells may be programmed at one time.
Example:
:020000830601FC78 program boot vector to FC00h
Preliminary data
XA-G39
2002 Mar 13
14