Topic : NXP app note AN10337

Forum : 8051

Original Post
Post Information Post
December 29, 2006 - 6:23am
Guest

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?

The link is
http://www.nxp.com/acrobat_download/applicationnotes/AN10337_1.pdf

The source is
http://www.nxp.com/files/markets/microcontrollers/Adding%20ISP%20in%20source%20code.zip

Thansk

Marshall Brown

Replies
Post Information Post
+1
0
-1
December 29, 2006 - 10:06am
Guest

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

+1
0
-1
December 30, 2006 - 3:01am
Guest

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

+1
0
-1
January 1, 2007 - 7:03pm
Guest

Perhaps you would find some information in some of the technical articles about the LPC932. See:
http://www.raisonance.com/support/tech_articles.php
See also the examples in RIDEEXAMPLES8051DERIVATIVES...
Francis

+1
0
-1
January 8, 2007 - 12:17am
Guest

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