Forums

LPC2132 RAM corruption

Started by Unknown August 12, 2005
Hello,
I would like to ask the people of this forum if anyone has experienced problems with RAM being overwritten following a power cycle of the LPC2132. I'm using GNU ARM gdb and a Chameleon POD with OCDRemote 2.12.

If I cycle power, download code with arm-elf-gdb ('load'), the code is corrupted when I start executing. The corruption causes my code to crash.

If I cycle power, download the with gdb and executed until crash, then re-load to RAM (without power cycle) and start again, the program works fine!
Any help / suggestions would be greatly appreciated.
Thanks in advance

Sen Madsen


An Engineer's Guide to the LPC2100 Series

Sen, I don't know it this helps, but with KEIL ULINK, when cycling power
or doing a hard reset from the IDE, execution starts and runs for a while
until the ULINK (Keil's JTAG interface) stops the core. This takes about 0.3
seconds. I put a 0.5 seconds busy loop in the startup code in order to
prevent this from causing damage to what I have in RAM.
Lars Marmsater

-----Original Message-----
From: Sen Christian Madsen [mailto:scm@scm@...]
Sent: Friday, August 12, 2005 3:53 AM
To: lpc2000@lpc2...
Subject: [lpc2000] LPC2132 RAM corruption

Hello,
I would like to ask the people of this forum if anyone has experienced
problems with RAM being overwritten following a power cycle of the LPC2132.
I'm using GNU ARM gdb and a Chameleon POD with OCDRemote 2.12.

If I cycle power, download code with arm-elf-gdb ('load'), the code is
corrupted when I start executing. The corruption causes my code to crash.

If I cycle power, download the with gdb and executed until crash, then
re-load to RAM (without power cycle) and start again, the program works
fine!
Any help / suggestions would be greatly appreciated.
Thanks in advance

Sen Madsen Yahoo! Groups Links

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005