LPC2378 and Eclipse

Hey there everyone!

I apologize in advance for this noob question about the Thaieasyelec’s Blue Screen but I’ve tried looking at every document they have published and the only document that related to my situation was posted on SparkFun on how to set up Eclipse. I’ve got everything set up so far, but when it gets to the part where code is sent to the board and all it says is “Here you have Blue_Screen.hex, program it to the board using Flash Magic or some kind of tools and then enjoy it!”

I have installed FlashMagic but using the supplied USB cord, all the unit does is boot up the factory program the unit came with. Apparently, where I ordered the unit from, they didn’t give me this jumper everyone is talking about (I can scrounge around and find one) and they didn’t send me the CD with drivers and such for my computer. Others on this forum have tried using a USB to serial or a UART to serial to get FlashMagic to work. What would be the best/easiest/cost effective option to send my code to the Blue Screen?

Hi

Check out page 17/41 of the following document: [<LINK_TEXT text=“http://www.utasker.com/docs/LPC23XX/uTa … PC2XXX.PDF”>http://www.utasker.com/docs/LPC23XX/uTaskerV1.4_LPC2XXX.PDF</LINK_TEXT>

To use Flash Magic connect COM port to UART0, hold the input INT0 (P2-10) to GND at reset. Then you should be able to read the chip ID (as quick test) and download new code.

Some extra notes here: [http://www.utasker.com/forum/index.php?topic=109.0

I hope that I understood your exact problem…

Regards

Mark](Getting started with the NXP LPC23XX)](http://www.utasker.com/docs/LPC23XX/uTaskerV1.4_LPC2XXX.PDF)

That seems like that would work, that makes sense. I was looking at the schematics that I have printed out and I don’t see a INT0 pin2-10. The schematics give me a MOD_RX for pin2-1, that’s the only thing i can think of that may correspond with your description. Is there a pre-made cable I can purchase, or are there schematics for a UART to RS232 cable? Thanks for the suggestion, it is greatly appreciated :slight_smile:

EDIT: again, sorry if I seem like such a noob with this. I’ve only programmed with the Freescale 9S12 models and this is my first time programming with something other than an educational board

EDIT 2: Poking around on sparkfun, I found a module/kit called a RS232 shifter board. Could this possibly be a solution to follow through with sending/receiving data? Here’s a link to the product: http://www.sparkfun.com/commerce/produc … cts_id=133

locarno:
That seems like that would work, that makes sense. I was looking at the schematics that I have printed out and I don’t see a INT0 pin2-10.

On our Blue Screen board, P2.10 is connected to the ISP jumper labelled 'Prog'. (Item 6 in section 5.1 "Peripherals" of the BlueScreen User Manual). This is identified as J1 'FOR ISP' on the schematic.

cfb wrote:

On our Blue Screen board, P2.10 is connected to the ISP jumper labelled ‘Prog’.

Oh ok, that makes sense. I’ll try that once I get a jumper from the lab today. After that, the only thing I figure I have left to do is make a UART to serial cable with the transmits, receives, power and ground connected to each other, right?[/b]

I used this for programming the BlueScreen with FlashMagic:

http://yhst-27389313707334.stores.yahoo … btoua.html

Be warned that it programs very, very slow with FlashMagic.

I now use a JTAG programmer and that is very, very fast!

ok, i’ll give that a shot and see what happens. I’d rather pay $20 for this than try and track down a JTAG debugger for $50+ (at least that’s what ThaiEasyElec had listed)