On Wed, Oct 19, 2011 at 2:23 PM, freddie_chopin <freddie_cho...@op.pl>wrote:

> W dniu 2011-10-19 14:14:11 użytkownik Akos Vandra <axo...@gmail.com>
> napisał:
> > #lpcfixchecksum takes only binary files, so
> > #make a binary file from the elf, and fix the checksum.
> > arm-eabi-objcopy -O binary $FILE tmp.bin
> > lpcfixchecksum tmp.bin
>
> On LPC2xxx you can use elf, hex of bin - no need to convert anything.
>

Actually, that's true for all targets.


> > -c "reset run" -c "mwb 0x400FC040 0x01"
>
> How do you expect to write anything to memory when chip is running? 99% of
> problems in OpenOCD are solved by using "reset halt" only.
>

LPC17xx is Cortex-M3, right? Then it shouldn't have any problems with
writing to memory with the core running.

But what is the mwb 0x400FC040 0x01 doing? Perhaps it's better placed in the
reset init handler and doing "reset init" instead.

/Andreas
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to