Re: [Openocd-development] Message script openocd 0.4.0 windows for In Board flash programming.

2010-09-16 Thread Andreas Fritiofson
> flash write_binary 0 BootLoader_108.bin 0x0 0: command requires more > arguments There is no command with the name 'flash write_binary'. Perhaps you mean 'flash write_bank'? In that case, the extra zero on the end shouldn't be there. The error message is nonsense. "> help flash write_bank fla

Re: [Openocd-development] Message script openocd 0.4.0 windows for In Board flash programming.

2010-09-17 Thread Mahjoub Kamel
Thank you for your answer. Knowing that i'm new to such developments and at the same time i have to accomplish openocd flash programming, i had yet corrected my code i succeded only to program the On-chip flash of the lpc2212. by the script ".cfg" here attached ( I have only one WARNING to correct

Re: [Openocd-development] Message script openocd 0.4.0 windows for In Board flash programming.

2010-09-17 Thread Nived
Mahjoub, I think you are using a very old configuration file. Some of the commands in the file have changed for OpenOCD 0.4.0. i recommend you use the configuration files that come with the OpenOCD itself, look for cfg files corresponding to your board/requirements, in directories board,interface