Hello list,
I am using openocd with lpc2148 target. I am having problem while
downloading code in internal RAM of LPC2148.
Can anybody please answer following:
- Is working area alway needed to be configured for both RAM and flash
downloads?
- What if I download my image (elf) at the address of RAM which I have used
as working area?
- For RAM download with elf type of image, using command
load_image /home/myimg elf
does openocd actually downloads according to adresses in elf image. ( I
have built elf image for RAM)
But the RAM addresses are not updated, that is write has failed.
- why openocd has seperate downlad cmd for binary files in RAM
(load_binary) as it is already included in load_image command with
argument?
- In my case using command
load_binary /home/led.bin 0x4000
gives output as
0 bytes written at address 0x4000
downloaded 0 bytes in 0 sec 2046us
what can be the problem in this case.
Please do reply.
Regards,
Rahul