Project

General

Profile

CC32RS512JTAG » History » Revision 2

Revision 1 (laforge, 02/19/2016 10:49 PM) → Revision 2/3 (laforge, 02/19/2016 10:49 PM)

= CC32RS512 JTAG = 

 If the CC32RS512 is packaged in a DIL package for use on a development board, its ARM-JTAG is exposed on pads 
 and available for hardware assisted debugging, flashing, etc. 

 The osmo-cos.git repository has an example OpenOCD configuration file, as well as a patch for adding 
 support for the CC32RS512 internal flash controller. 
  * http://cgit.osmocom.org/cgit/osmo-cos/tree/openocd/0001-Add-a-flash-driver-for-the-CC32RS512-internal-flash-.patch 
  * http://cgit.osmocom.org/cgit/osmo-cos/tree/openocd/cc32rs512.cfg 

 == flashing binary code from a file == 

 You can use the following command to flash the contents of /my/local.file into flash starting at base address 
 0x40000. 

 {{{ 
 reset halt 
 flash write_image erase /my/local.file.bin 0x40000 
 }}} 

 You can verify the result by looking at the memory at 0x40000: 
 {{{ 
 mdw 0x40000 10 
 }}} 

 == erasing flash == 

 You can use the following command to erase 512 bytes of flash: 
 {{{ 
 flash erase_address 0x40000 512 
 }}} 
Add picture from clipboard (Maximum size: 48.8 MB)