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

Messages - bhavinpshah

#1
LPC2xxx / Re: Flash Magic issue with lpc-p2148
June 10, 2009, 02:55:04 AM
Hi,

I found one setting file for FlashMagic from some example code. I have attached that file. With that file setting now My FlashMagic has started flashing the .hex files in the flash and erasing the flash blocks. I guess the differrence with this file and what I was doing was Crystal Frequency. Previously, I was keeping it blank. Now I have it as 16 MHz as a part of attached config file.

Thanks Andy for your help. I thought of uploading it so that people who face same problem can get help.

Regards,
Bhavin Shah
#2
LPC2xxx / Re: Flash Magic issue with lpc-p2148
June 09, 2009, 04:18:39 AM
Hi,

Please find two debug files attached. As the name suggested, I performed two operations -

1> Erase the Flash - flashmagic_erase_flash.fmd
2> Write .hex file in flash - flashmagic_write_hex_file.fmd

Warm Regards,
Bhavin
#3
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