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

Error: Flash Download failed - "Cortex-M4" at keil uvision5

Hello support Team,An unclear point came out when driving nRF52810 with Keil uVision5.
I have a soft device(S112) write error. Can you help me with the following information?

Chip:nRF52810
Module:EBSLCNZWW (Taiyo Yuden)
SDK:Keil uvision5
Nordic SDK:ver14.2.0
File:C:\Nordic Semiconductor\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\pca10040e\s112\arm5_no_packs\ble_app_uart_pca10040e_s112.uvprojx

■Console log
Load "..\\..\\..\\..\\..\\..\\components\\softdevice\\s112\\hex\\s112_nrf52810_5.1.0_softdevice.hex"
Set JLink Project File to "C:\Nordic Semiconductor\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\pca10040e\s112\arm5_no_packs\JLinkSettings.ini"
* JLink Info: Device "NRF52810_XXAA" selected.
 
JLink info:
------------
DLL: V6.52e, compiled Oct 16 2019 12:16:54
Firmware: J-Link Lite-Cortex-M V9 compiled May 17 2019 09:50:01
Hardware: V9.00
S/N : 519002337
Feature(s) : GDB
 
* JLink Info: InitTarget() start
* JLink Info: InitTarget() end
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
* JLink Info: AP[1]: JTAG-AP (IDR: 0x02880000)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M4 r0p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
* JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS
* JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
* JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTableAddr = 0xE00FF000
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
 
Target info:
------------
Device: nRF52810_xxAA
VTarget = 3.228V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 255
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints:          4
JTAG speed: 4000 kHz
 
Erase Failed!
Error: Flash Download failed  -  "Cortex-M4"
Flash Load finished at 00:00:58

Parents Reply
  • Thanks for the screen dumps. There are no services listed in your attribute table so that explains why the toolbox app isn't working. The screenshot below shows what the attribute table is supposed to contain.

    Have you made any changes to the original ble_app_uart example that you're testing with now? Also, have you tried rebooting the phone to ensure the attribute cache is cleared?  

Children
Related