Dobrica Pavlinušić's random unstructured stuff
DPS5005: Revision 7
OpenDPS
upgrade to opensource firmwarehttps://github.com/kanflo/opendps.git dpavlin@nuc:/nuc$ git clone --recursive https://github.com/kanflo/opendps.git dpavlin@nuc:/nuc$ cd opendps/ dpavlin@nuc:/nuc/opendps$ make -C libopencm3 dpavlin@nuc:/nuc/opendps$ make -C opendps st-linkconnecting rst pin to unpowered st-link stops dps5005 from booting https://johan.kanflo.com/upgrading-your-dps5005/ pi@pihdmi:~ $ sudo openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg Open On-Chip Debugger 0.10.0+dev-01489-g06c7a53f1-dirty (2020-11-14-15:21) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html WARNING: interface/stlink-v2.cfg is deprecated, please switch to interface/stlink.cfg Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'. Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : clock speed 1000 kHz Info : STLINK V2J28S7 (API v2) VID:PID 0483:3748 Info : Target voltage: 3.273018 Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints Info : starting gdb server for stm32f1x.cpu on 3333 Info : Listening on port 3333 for gdb connections from another terminal pi@pihdmi:/nuc/opendps $ ./ocd-client.py all | tee 5V-off.txt # exit openocd, turn output on pi@pihdmi:/nuc/opendps $ ./ocd-client.py all | tee 5V-on.txt |