![]() |
Electronic Components Datasheet Search |
|
XA-G39 Datasheet(PDF) 14 Page - NXP Semiconductors |
|
XA-G39 Datasheet(HTML) 14 Page - NXP Semiconductors |
14 / 42 page ![]() Philips Semiconductors Preliminary data XA-G39 XA 16-bit microcontroller family 32K Flash/1K RAM, watchdog, 2 UARTs 2002 Mar 13 14 Table 1. Intel-Hex Records Used by In-System Programming RECORD TYPE COMMAND/DATA FUNCTION 00 or 80 Data Record :nnaaaa00dd....ddcc Where: Nn = number of bytes (hex) in record Aaaa = memory address of first byte in record dd....dd = data bytes cc = checksum Example: :10008000AF5F67F0602703E0322CFA92007780C3FD 01 or 81 End of File (EOF), no operation :xxxxxx01cc Where: xxxxxx = required field, but value is a “don’t care” cc = checksum Example: :00000001FF 83 Miscellaneous Write Functions :nnxxxx83ffssddcc Where: nn = number of bytes (hex) in record xxxx = required field, but value is a “don’t care” 83 = Write Function ff = subfunction code ss = selection code dd = data input (as needed) cc = 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 |