Topic : olimex lpc-2378-stk flash loading problem

Forum : ARM

Original Post
Post Information Post
March 14, 2010 - 1:22pm
Guest

I have board from olimex lpc-2378-stk and Rlink Standard with Ride7 (Ride7 v 7.26.09.0351 and RKit-ARM 1.24.10.0050). I'm able to compile projects (my own, and example for lpc23xx) but the flashing result is... strange.
.hex file seems to be ok, because when I flash it with FlashMagic I have the right result. When I do it with Ride7 there is never the right result (for example the screen color is different, the text on a screen is not correct). It looks like the device wasn't really flashed. However the program said that the flash was loaded with success. I can load flash with success using Ride7 only after flashing it with FlashMagic. When I do erase target with Ride7 and after I try to flash it with Ride7 I've got: Unable to read IdCode. Please check that the target is connected.
In processor settings I have device chosen to LPC2378 and variables set as by default.

Does anyone have a solution or maybe a project with right settings to use with this board? Have someone had a similar problem?

Replies
Post Information Post
+1
0
-1
March 15, 2010 - 4:27pm
Guest

Hi

First I suggest you try to check if it is not related to that post
http://raisonance-forum.xsalto.com/viewtopic.php?id=2497

Than it might be intersting to:
+ program hex with FlashMachic
+ read the content of the target using ride7
+ try to program the hex file which has been read into the target using RLink this time.

Regards
Matloub

+1
0
-1
March 16, 2010 - 12:55am
Guest

I checked connection it's fine. I'm also able to flash another Olimex board (STM32F103-STK) out of box.

I did what you suggested. I compiled a file with Ride and Flashed with FlashMagic. I read the content with Ride. And:
Hex file read by Ride is almost the same as file compiled by Ride (and it works when I flash it with FlashMagic) it also works when I flash it with Ride. But after small changes to the code (for example text on display) when I flash the device with Ride it is not right anymore. The processor also starts much faster. It looks like the code is diffrent...

(Does anyone made Rlink working with olimex lpc-2378-stk?)