stm32keiltruestudiobluenrg

How to load the examples given by st on an IDB008V2 board?


I need to develop software on a bluenrg-2. I use the IDB008V2 development board. I would like to use the chat example provided by ST: https://www.st.com/en/embedded-software/stsw-bluenrg-dk.html

The compilation works correctly but it is impossible to load it into the board. It restarts and the old program is still present. In addition, the card is not detected by the stlinkv2 (via JTAG), I am forced to use the USB port.

I don't know if it's a good idea to port the source files to a new project. It would be a good start if I could load the example program to the board.


Solution

  • Sometimes user forgot he enabled Simulation in the options. For Keil MDK, please in Option | Debug , select "Use ST-Link Debugger" instead of "Use Simulator"

    Besides, by default SWD shall be used. In the Target Com Port, please select "SW" instead of "JTAG".

    Then please check: in Flash Download, the BlueNRG-2 On-chip Flash shall be present: enter image description here

    Please Add manually if it is not seen.