cancel
Showing results for 
Search instead for 
Did you mean: 

Programming the STM32WB with Openocd

mrchips
Visitor

Hi,

I need to program an STM32WB from a Raspberry Pi from the command line, preferably Python. I have got it up and running with my STM32FG0 but having no luck with the WB. From my understanding I need to:

  1. Program BLE Stack using FUS (Not sure how to do this using OpenOCD)
  2. Erase Application Coprocessor (Are there any specific flash banks or addresses I need to be aware of?)
  3. Program Bootloader (Should be simple)
  4. Program Application (Ideally I can do this Over The Air using the RPi's BLE but will settle for using OpenOCD if that isn't possible)

I have tried using the STM32CubeProgrammer but that doesn't run on the Raspberry Pi.

 

Any help or advice on the above would really help!

Thanks,

0 REPLIES 0