LPC902 Programming Question...

Started by mmillard, January 03, 2007, 04:23:22 PM

Previous topic - Next topic

mmillard

Total newbie to LPC902 device.  Veteran w/8051!

Q: What should we buy to program the LPC902?

In case it matters to your answer...
1 - We do not require simulator or debugger capabilities.
2 - I will write this in 100% Assembler, using a 20-year old Avocet assembler.
2.5 - I'd rather skip the learning curve, but if it's truly WORTH IT, I'd consider the Keil "suite".
3 - Our needs are for the LPC901/2/3 devices only.
4 - All things considered, we short on bench space for yet another EPROM-style programmer...
5 - The code, once developed, will never need to be updated once we ship it to a customer.
6 - It will also be so simple, (hopefully), I won't even have to update it after I write it.  ??

Now of course eventually, we'll get away from using breadboards and DIP packages in development and we'll have to program surface mount in production. 

So with all that in mind, is the Emulator/Programmer EPM900? the best way to go?
What do I need to buy?  Do I have have to use this FlashMagic thing?
I've already verified that I can pretty easily adjust the Avocet assembler to accomodate the SRF's, etc...,

Basically, I'm going to have a *.HEX file and I want a "No-B/S" way to get it into the device.

Thanks.

BTW - I'm sure this has been asked a million times.
Please feel free to just email me the write up.
mmillard@towerswitch.com

Thanks a bunch!
-Michael

Je Gold

Hi Michael,

Q: What should we buy to program the LPC902?

EPM900 as an emulator / programmer is quite good.  BUT There are others.

EPM900 is available from Keil  www.keil.com and  LPCTools
http://www.lpctools.com/index.asp?PageAction=VIEWCATS&Category=12

EPM900 User Guide Here
http://www.keil.com/support/man/docs/epm900/epm900_flash.htm

Read the application note AN10258 available on the Flash Magic  Resources page
http://www.flashmagictool.com/resources.html

Flash Magic takes INTEL Hex files

LPC900 micro's will work with you assembler  but you will need to additional equates in your header file for the addition SFR's

Keil is good and has a good simulator.. most of the NXP(Philips) examples are in Keil C.... other C open source (free) compiler  SDCC. Download the MIDE-51 package that has SDCC and MIDE-51 IDE.

OTHER OPTION
Is to obtain the keil MCB900 development kit whch uses the 28pin LPC900 parts.... This will get you doing with a development board
and learing about all those new  SFRs and additonal perpherals..... Using AN10258  you can make your own  LPC902 programmer.

BUT read my notes on message http://forum.flashmagictool.com/index.php?topic=3245.msg3326#msg3326  and the attachment.

joe


Yes,  Use Flash Magic