Explore >> Select a destination


You are here

malwaretech.com
| | ciesie.com
3.8 parsecs away

Travel
| | You programmed STM32 microcontroller using Nucleo or Discovery boards. That means you used Serial Wire Debug (SWD) for programming/debugging. Now, you are designing a PCB with a STM32 microcontroller on it, which means you have to be able to program it. One solution is uploading the code through a bootloader - a small piece of software, made by ST that has been saved in the protected (read-only) memory of the microcontroller.
| | www.malwaretech.com
0.2 parsecs away

Travel
| | Now that everything is ready to be connected, power up the hard drive an run openocd with the following command: openocd -f interface/<your interface here>.cfg -f target/test.cfg test.cfg should be the configuration for the CPU used by your hard disk controller, for most marvell CPUs this config should work. I'm not sure of the adapter_khz, so I've set mine to 100 (as long as this value is lower than the actual it should work).
| | sergioprado.blog
6.6 parsecs away

Travel
| | This is going to be my new blog about embedded systems development.
| | johannesbrodwall.com
26.6 parsecs away

Travel
|