Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years ago.
Use CMSIS DAP Interface to program/debug a STM32 board?
Hi, we are developing 3, lost cost STM32 based boards. For details, see this page: http://forum.modtronix.com/index.php?topic=2197.msg10061#msg10061
For programming, we would like an optional small daughter board that can plug into this board (see link above for details). For this small board, we can either:
1) Copy the circuit use on STM32 Nucleo boards, Will provide ST-Link(program/debug), Virtual Serial Port and Mass Storage device for programming.
2) Use the mbed CMSIS-DAP Interface Firmware. Will provide CMSIS-DAP(program/debug), Virtual Serial Port and Mass Storage device for programming.
For option 1, we are currently trying to get a reply from ST if they will allow us to do that.
For option 2, it seems like the current CMSIS-DAP Interface firmware will not support programming a STM32 processor? Is this correct?
Does anyone know if the current CMSIS-DAP Interface firmware allows for programming/debugging STM32 chips? If not, how much work will it be to get that to work.
Question relating to:
5 years ago.
So it seems like the part of the CMSIS-DAP firmware which won't work for you is the MSD portion since it contains no code to program the FLASH on these parts. What if you just get the virtual serial port and core SWD debugger support up and running though. I see that pyOCD contains some code which would allow programming of STM32F103RC devices if basic SWD debugging support is working. Maybe you could start with this and extend/port for your particular device?