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

Topics - bhavinpshah

#1
LPC2xxx / Flash Magic issue with lpc-p2148
June 06, 2009, 03:02:23 AM
Hi,

I have lpc2148 board from Olimex - lpc-p2148 Rev D. I have download latest flashmagic - 5.01.1656.

1> Firstly when I pull BSL/ICSP switch 1 towards ICSP and press reset button, the board goes in to ISP mode only when it is connected with hyperterminal. If it is connected with FlashMagic, it does not go in ISP mode and keeps executing the program that I downloaded through JTAG (OLIMAX - ARM - USB - OCD)

2> So, I open the hyper terminal, and let the board come in ISP mode. Then close the hyperterminal and open the FlashMagic.

3> With FlashMagic, it shows me everything like Device signature, Blank Check, memory details etc.

4> When I try to erase the Flash (Block 1 & Block 2) It shows me that it has erased the blocks but when I check the memory again, I see the contents there. Means it is not erasing the blocks.

5> I even tried flashing the HEX file. It shows me that it has flashed the file but when I run the program again putting the ISP switch back to OFF condition, it runs the same old program that I flashed with JTAG.  Which means it is not written in the Floash.

Can someone tell me what am I missing here? I use straight serial cable. Is there any setting on the board that I m missing or some option of FlashMagic? Your help is highly appreciated, thanks in advance.

Bhavin Shah