English
Language : 

XA-G49 Datasheet, PDF (17/42 Pages) NXP Semiconductors – XA 16-bit microcontroller family 64K FLASH/2K RAM, watchdog, 2 UARTs
Philips Semiconductors
XA 16-bit microcontroller family
64K Flash/2K RAM, watchdog, 2 UARTs
Preliminary specification
XA-G49
API CALL
READ DEVICE ID # 1
READ DEVICE ID # 2
READ SECURITY BITS
READ STATUS BYTE
READ BPC
PROGRAM ALL ZERO
ERASE CHIP
PROGRAM SPECIAL CELL
PARAMETER
Input Parameters:
R0H = 00h
R6H = 00h
R6L = 01h (device ID # 1)
Return Parameter
R4L = value of byte read
Input Parameters:
R0H = 00h
R6H = 00h
R6L = 02h (device ID # 2)
Return Parameter
R4L = value of byte read
Input Parameters:
R0H = 07h
R6H = 00h
R6L = 00h (security bits)
Return Parameter
R4L = value of byte read R4L[3:1] = sb3, sb2, sb1
Input Parameters:
R0H = 07h
R6H = 00h
R6L = 01h (status byte)
Return Parameter
R4L = value of BPC[15:8]
Input Parameters:
R0H = 07h
R6H = 00h
R6L = 02h (boot vector)
Return Parameter
R4L = value of byte read (high byte of Boot PC)
Input Parameters:
R0H = 90h
R6H = block number in bits 7:5, bits 4:0 = ‘0’
block 0 : r6h = 00h
block 1 : r6h = 20h
block 2 : r6h = 40h
block 3 : r6h = 80h
block 4 : r6h = C0h
R6L = 00h
Return Parameters:
R4L = 00 if pass, non–zero if fail
Input Parameters:
R0H = 91h
R4L = 55h
(after chip erase, return to caller)
= AAh
(after chip erase, reset chip)
= others: error
Return Parameters:
R4L = 00 if pass, non–zero if fail
Input Parameters:
R0H = 94h
R6 = special cell address
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
R4L = byte value to program
Return Parameters:
R4L = 00 if pass, non–zero if fail
NOTE: Only four bits of these Special Cells may be programmed at one time.
2000 Apr 03
17