CC32RS512JTAG » History » Version 1
laforge, 02/19/2016 10:49 PM
1 | 1 | laforge | = CC32RS512 JTAG = |
---|---|---|---|
2 | |||
3 | If the CC32RS512 is packaged in a DIL package for use on a development board, its ARM-JTAG is exposed on pads |
||
4 | and available for hardware assisted debugging, flashing, etc. |
||
5 | |||
6 | The osmo-cos.git repository has an example OpenOCD configuration file, as well as a patch for adding |
||
7 | support for the CC32RS512 internal flash controller. |
||
8 | |||
9 | == flashing binary code from a file == |
||
10 | |||
11 | You can use the following command to flash the contents of /my/local.file into flash starting at base address |
||
12 | 0x40000. |
||
13 | |||
14 | {{{ |
||
15 | reset halt |
||
16 | flash write_image erase /my/local.file.bin 0x40000 |
||
17 | }}} |
||
18 | |||
19 | You can verify the result by looking at the memory at 0x40000: |
||
20 | {{{ |
||
21 | mdw 0x40000 10 |
||
22 | }}} |