[mc1322x] OpenOCD and JTAG.

Mariano Alvira mar at devl.org
Tue Nov 3 17:55:10 EST 2009


Ignore me! Well, most of me. Turns out it wasn't a bug and that arm7_9
write_core_regs is suppose to be weird. The real command to use is
reg. Updated instructions below. I still plan to add flashing soon.

-Mar.

 $ 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:
 
 > reg pc 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.
 



More information about the mc1322x mailing list