XA-G39 NXP Semiconductors, XA-G39 Datasheet - Page 17

no-image

XA-G39

Manufacturer Part Number
XA-G39
Description
Xa 16-bit Microcontroller Family Xa 16-bit Microcontroller 32k Flash/1k Ram, Watchdog, 2 Uarts
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
2002 Mar 13
XA 16-bit microcontroller family
32K Flash/1K RAM, watchdog, 2 UARTs
READ DEVICE ID # 1
READ DEVICE ID # 2
READ SECURITY BITS
READ STATUS BYTE
READ BPC
PROGRAM ALL ZERO
ERASE CHIP
PROGRAM SPECIAL CELL
IAP CALL
Input Parameters:
Return Parameter
Input Parameters:
Return Parameter
Input Parameters:
Return Parameter
Input Parameters:
Return Parameter
Input Parameters:
Return Parameter
Input Parameters:
Return Parameters:
Input Parameters:
Return Parameters:
Input Parameters:
Return Parameters:
NOTE: Only two bits of these Special Cells may be programmed at one time.
R0H = 00h
R6H = 00h
R6L = 01h (device ID # 1)
R4L = value of byte read
R0H = 00h
R6H = 00h
R6L = 02h (device ID # 2)
R4L = value of byte read
R0H = 07h
R6H = 00h
R6L = 00h (security bits)
R4L = value of byte read R4L[3:1] = sb3, sb2, sb1
R0H = 07h
R6H = 00h
R6L = 01h (status byte)
R4L = value of BPC[15:8]
R0H = 07h
R6H = 00h
R6L = 02h (boot vector)
R4L = value of byte read (high byte of Boot PC)
R0H = 90h
R6H = block number in bits 7:5, bits 4:0 = ‘0’
R6L = 00h
R4L = 00 if pass, non–zero if fail
R0H = 91h
R4L = 55h
R4L = 00 if pass, non–zero if fail
R0H = 94h
R6
R4L = byte value to program
R4L = 00 if pass, non–zero if fail
= AAh
= others: error
= special cell address
block 0 : r6h = 00h
block 1 : r6h = 20h
block 2 : r6h = 40h
0000h: program BPSW[7:0]
0001h: program BPSW[15:8]
0002h: program BPC[7:0]
0003h: program BPC[15:8]
0004h: program status byte
000Ah: program security bit #1
000Ch: program security bit #2
000Eh: program security bit #3
(after chip erase, return to caller)
(after chip erase, reset chip)
17
PARAMETER
XA-G39
Preliminary data

Related parts for XA-G39