-
Notifications
You must be signed in to change notification settings - Fork 9
idea - use icd/companion chip as second cpu #73
Comments
Really interesting idea! |
Just to let you know that I managed to attach to both cpus via openocd and stlink v2 clone over SWD and managed to backup flash from icdi cpu and erase and restore it to main cpu and when now attached via device usb connector it is detected as icdi interface too just with different serial number (maybe the real icdi chip takes the serial from main cpu somehow via jtag), here is how it get detected now, first real icdi via debug usb connector then device usb connector
here is how i run openocd with stlink V2 (I have stellaris launchpad, maybe for tiva C the ID will be different, it that case it will complain about unexpected id)
for backup and restore I used commands
and
the swd on the 10pin is reversed when compared to info in pdf, when having board upside down with pins in bottom right corner I see this
x=holes, o=pins Anyway, the main info is that both CPUs are accessible via SWD and are identical and usable so this idea may indeed work:-) When attaching SWD I powered the board from 3.3V an GND pins in topleft rows j1 and j3 and both cpus were powered from that and green led was lit. |
And BTW this may be useful too if you have two launchpads |
there are two same cpus on the board, both can be reprogrammed via swd so the main one can be i/o video/audio chip with vga frame buffer in ram and the debugging chip can be main cpu as it has almost no i/o except usb console, uart and gpios used as jtag (could be repurposed too?) - which is enough for main CPU.
The schematics of whole board is in launchpad user guide on TI site.
http://www.ti.com/lit/ug/spmu289c/spmu289c.pdf , icdi cpu wiring is on page 23
jtag pins are in the corner from other side - small 10 pin with 3 holes
Same link for tiva C launchpad here http://www.ti.com/lit/ug/spmu296/spmu296.pdf
With Tiva C it could be attractive that there is usb host mode so such monotron device could have both device and host working at the same time :-)
I guess I'll try to attach to ICDI chip and reprogram it just for fun, looks like the firmware can be backed up/restored according to this thread http://e2e.ti.com/support/microcontrollers/other/f/908/t/397003
The text was updated successfully, but these errors were encountered: