Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rbickle

#1
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
#2
Andy,

Having the same problem. I've been using the earlier version of Flash Magic for years, but now get the error.
My hex file does contain data at FFF0 and FFF8 for the ucfg bytes and security bytes as generated by the Keil startup code.
I though that flash magic would detect data at these locations and program the appropriate bytes using ISP.
Is that no longer the case?

Thanks,
Rick