Andy,
I have re-reviewed the registers of the P89LPC920 and as far as I can see, no bits of these registers are being set that the device does not support.
The user's manual for this chip does not show a register for UCFG2 and the Keil startup code sets it to zero.
Would this cause Flash Magic to generate an error?
Keil startup code sample:
_UCFG1 EQU FOSC OR (WDSE SHL 4) OR (BOE SHL 5) OR (RPE SHL 6) OR (WDTE SHL 7)
_UCFG2 EQU 0
CSEG AT 0FFF0H
DB _UCFG1 ; place UCFG Bytes in hex file
DB _UCFG2 ; reserved for future use
DB BOOTVEC
DB BOOTSTAT
CSEG AT 0FFF8H
DB SEC0
DB SEC1
DB SEC2
DB SEC3
DB SEC4
DB SEC5
DB SEC6
DB SEC7
Thanks,
Rick
I have re-reviewed the registers of the P89LPC920 and as far as I can see, no bits of these registers are being set that the device does not support.
The user's manual for this chip does not show a register for UCFG2 and the Keil startup code sets it to zero.
Would this cause Flash Magic to generate an error?
Keil startup code sample:
_UCFG1 EQU FOSC OR (WDSE SHL 4) OR (BOE SHL 5) OR (RPE SHL 6) OR (WDTE SHL 7)
_UCFG2 EQU 0
CSEG AT 0FFF0H
DB _UCFG1 ; place UCFG Bytes in hex file
DB _UCFG2 ; reserved for future use
DB BOOTVEC
DB BOOTSTAT
CSEG AT 0FFF8H
DB SEC0
DB SEC1
DB SEC2
DB SEC3
DB SEC4
DB SEC5
DB SEC6
DB SEC7
Thanks,
Rick