This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using stm32 disco board for flashing a custom nrf52832 chip with keil

Hello there,

I'm trying to flash my custom nrf52832 pcbs(untill I get my DKs in the tech tour with a reconfigured stm32 disco board's SWD port with keil uVision using the blinky blank example in SDK 14.0 (Already have S132 of those chips and I know the SWD port works sins I was able to flash some stuff to it with arduino but with the ST link V2 dongle which is not supported by keil(what a shame)).

now when I try to download the build example from keil I get this error message:

image description

and here is what the PC sees when connecting ST link to the pc:

image description

Thanks for helping.

Parents
  • Yes, SEGGER don't provide you full version of J-Link OB for free, it releases it for cheap boards like STM32 Dev Kits or nRF5x DK boards but implements internal check of the target and limits it only to the brand of Dev Kit. If you get nRF5x DK and upgrade to latest SEGGER J-Link OB firmware you will get the same error when trying to flash/debug targets from other vendors then Nordic. However this feature is fairly recent so if you find some >1 year old SEGGER J-Link OB firmware for your STM32 board it might work without this internal lock to ST Micro targets. Good luck.

Reply
  • Yes, SEGGER don't provide you full version of J-Link OB for free, it releases it for cheap boards like STM32 Dev Kits or nRF5x DK boards but implements internal check of the target and limits it only to the brand of Dev Kit. If you get nRF5x DK and upgrade to latest SEGGER J-Link OB firmware you will get the same error when trying to flash/debug targets from other vendors then Nordic. However this feature is fairly recent so if you find some >1 year old SEGGER J-Link OB firmware for your STM32 board it might work without this internal lock to ST Micro targets. Good luck.

Children
Related