I am certain that the steps that I follow here can be modified to work with many other Cortex-M targets and many other JTAG adapters/emulators, so this guide can be useful to people who are developing on something different from the STM32-P152 and have a different cable than the C232HM-EDHSL-0. In particular I have been inspired by this post for developing on STM32F3Discovery on Mac OS X using Eclipse and this post for Windows. I suppose there are many alternatives that are probably simpler and lighter (Eclipse is quite large and complicated), but here’s what I did. I wanted to extend this setup by using an IDE, and I chose Eclipse because it seems to have the right plugins and resources. Debugging the STM32-P152 board with GDB.Flashing the STM32-P152 board with OpenOCD.JTAG connection with OpenOCD and FTDI cable.Some time ago I played with Olimex STM32-P152 board and wrote some posts about it:
0 Comments
Leave a Reply. |