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

How to flash/erase nRF52832 using PE Micro Multilink Universal?

Hi,

My name is Bruno, and I am working with a Bluetooth module from u-blox(NINA B112-00B) which contains a nordicSemi board nRF52832 with a Cortex M4 processor. I'm getting this "Target DLL has been cancelled" error while trying to erase or program it using Keil uVision IDE.

I am using Keil IDE uVision v5.24.2.0 and a PE Micro Multilink Universal rev b connected via port G - mini-10 for debugger/flashing.

I've looked into some manufacturer's forum and here are some information that might be helpfull:

Operating System: Windows 10

In uVision IDE these are my config:

Flash->Configure Flash Tools...->Debug->Use: PEMicro Debugger->Settings: -Interface: USB Multilink, USB Multilink FX, or Embedded OSJtag -Port: USB1 : Multilink Universal Rev B (PE5655164) -Device: NRF52832-CIAA -Debug Shift Speed = (0) : Multilink = 1.00Mhz, Multilink FX = 25.00Mhz, OSJTAG = 0.25Mhz [checked] Use SWD reduced pin protocol

Is there any configuration i must've done/changed?

on my {Keil_Installation_Folder}\ARM\PEmicro\P&E folder, i got the icdarmcortex_dll_v614.dll and progarmcortex_dll_v614.dll files and also the icdarmcortex_dll_v603.dll and progarmcortex_dll_v599.dll files

Pemicro_ArmCortexInterface.dll is located on my {Keil_Installation_Folder}\ARM\PEmicro folder.

I've downloaded the supportFiles_ARM pack provided by PEMicro website and the Keil_PnE_Support_install_b161130.exe file.

Also tried to flash the module via PROGACMP software, but it stopped answering after an erase attempt.

I don't know where the issue might be, if anyone could help me that would be great.

Thanks in advance,

Bruno.

  • Hi Bruno. Very sorry for the delayed response. Have you tried erasing and programming using the Nordic Semiconductor nRFGoStudio program? You can erase the application by clicking on the nRF52 development boards tab under Device Manager. There, you can press the Erase All button. See this tutorial for an easy explanation. After you flash the softdevice, you can try compiling and flashing your program using Keil again. Hope that helps!

Related