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.

  • (btw. this rises question how you were able to use Arduino IDE to flash something else on nRF5x target through this STM32 J-Link board... it might bypass some things but I believe that these lock downs are implemented in J-Link FW itself or it's combination of FW and J-Link DLL. Smells fishy that you have really succeeded with that set-up before...)

Reply Children
No Data
Related