[mc1322x] OpenOCD and JTAG.

Mariano Alvira mar at devl.org
Tue Nov 3 15:39:09 EST 2009


Many of you have inquired about Redbee JTAG --- it's coming, I
promise! I've fixed a bug in OpenOCD that now makes JTAG more useful
for this part. You can get my OpenOCD tree at:

    git://git.devl.org/git/malvira/openocd.git

This tree includes a config file and my arm7_9_write_core_regs
fix. Once you get it you can do something like:

$ openocd -f /usr/local/share/openocd/scripts/target/mc1322x.cfg

  then can connect to openocd:

$ telnet localhost 4444

  reset and halt the processor:  

> soft_reset_halt

  load your image into RAM:

> load_image /home/malvira/work/blink-red.bin 0x00400000 bin

  update the PC:

> arm7_9_write_core_reg 15 19 0x00400000
 
  then:

> resume

and your image should be running. I'll try to make this easier to use,
but I wanted to get it out there now in case it helps somebody.

-Mar.








More information about the mc1322x mailing list