[mc1322x] OpenOCD custom proc

Mariano Alvira mar at devl.org
Mon Jun 7 13:41:05 EDT 2010


On Mon, Jun 07, 2010 at 12:54:40PM -0400, Jon Smirl wrote:
> On Mon, Jun 7, 2010 at 12:06 PM, Daniel Berenguer
> <dberenguer at usapiens.com> wrote:
> > 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"
> 
> Mar can explain the error...

I was hoping someone else knew the answer :)

But here it is:

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

You need to run -c init first because -c overrides what 'normally'
happens (init). You still need it to run the init command though.

And I too rarely flash them. Only when I'm doing in application
tests. Contiki will also flash in a Redwire EUI64 ID by default. You
can turn that off in the Contiki config or specify your own
identifiers.

-Mar.



More information about the mc1322x mailing list