[mc1322x] OpenOCD custom proc

Daniel Berenguer dberenguer at usapiens.com
Mon Jun 7 12:06:56 EDT 2010


Sorry guys to come back with basic issues...

I'm trying to flash a binary into one of my EconoTags through a single
OpenOCD command as follows:

openocd -f ../openocd.cfg -c "run blink-green_redbee-econotag.bin"

but I'm getting this error:

Runtime error, file "../openocd.cfg", line 80:
invalid command name "soft_reset_halt"

Same thing with "load_image" if I comment the above command in openocd.cfg.

I'm currently using Mar's cfg file with the latest OpeOCD version (0.4.0)

On my old OpenOCD version (0.0), I used to halt/wait_halt instead of
soft_reset_halt. As for writing new images I used "flash write"
instead of load_image. The funny thing is that OpenOCD is accepting
both commands via telnet but not through the custom "run" proc.

Any help is appreciated. Thanks!

Daniel.



More information about the mc1322x mailing list