OpenOCD r423 : flash write (write_binary) not working

He friends,

I installed the r423 and found out that the flash command ist not accepting further keywords like write or the newer command write_binary.

Any idea ?

Am I doing s.th. wrong?

Regards

Thomas

I don’t know why open ocd went and changed its syntax but

you want to use

flash write_image startaddr type

i.e. for my test proram I use

flash write_image /home/mgross/dev/lpc/sample/test.bin 0x0 bin

BTW erase_sector is now “flash erase_sector” too.

See src/flash.c and grep for “register_command” to see what is no longer documented in the open ocd tree.

or read the openocd man, there is a chapter on old and replacement commands.

Cheers

Spen