Forum : 8051
Original Post
Post Information | Post |
---|---|
December 29, 2006 - 6:23am
|
I would like to add the ISP code from NXP AN10337 to my project for an LPC925, however when I add it I get a whole lot of errors. Without listing them all, is there anything simple that I should set in my IDE to make this asm file get included? Reference: NXP AN10337 (PDF) Thansk Marshall Brown |
In the assembly file, there is no header included for the SFRs.
To define the standard 8051 SFRs, check the option "Define Symbols for ..." in: "Options|Project|MA51|Source".
Francis
This worked perfectly - thankyou.
No the next question. is there a standard Raisonance startup.a51 for the LPC9xx series, I have tried the Keil one, and although it compiles in OK, it won't boot.
Should this be under a new thread?
Thanks
Marshall Brown
To all others that are having issues with the programming of the UCFG in the LPC's
simply declare a variable at the top of your main.c file along the lines of the following
at 0xFFF0 code char regis = 0x93;
then you don't need a startup file (unless you want to do other special stuff to it)
Thanks to the Acqura.com help files for the emulator for this insight.
Marshall