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

Not able to flash BLE with SPI

Hello All

softdevice version "s130_nrf51_2.0.1_API" sdk version "nRF5_SDK_11.0.0_89a8197

i am try to flash BLE with SPI code i am not able to flash the hex..while flashing i am facing  some problem...and more thing if i flash the following  hex file  **"examples\ble_peripheral\experimental_ble_app_blinky\pca10028\s130"** that time  i am able to flash . but if i using following hex file **ble_peripheral\experimental_ble_app_blinky\pca10028\ser_s130_spi** i am getting below issue 
could please give right solution 


JLink info:
------------
DLL: V6.10i, compiled Oct 25 2016 19:31:51
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 26 2016 11:30:32
Hardware: V1.00
S/N : 681828363 
 
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: AP-IDR: 0x04770021, Type: AHB-AP
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ F0000000
* JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl 1 @ E00FF000
* JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
* JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
ROMTableAddr = 0xF0000000
 
Target info:
------------
Device: nRF51422_xxAC
VTarget = 3.300V
State of Pins: 
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 1000 kHz
 
Erase Failed!
Error: Flash Download failed  -  "Cortex-M0"
Flash Load finished at 11:21:42
Load "E:\\ALAI_WORKS\\02.STUDY\\BLE_nRF51_DK\\SoftDevice\\SDK\\hh\\examples\\ble_peripheral\\experimental_ble_app_blinky\\pca10028\\ser_s130_spi\\arm4\\_build\\nrf51422_xxac_s130.axf" 
Set JLink Project File to "E:\ALAI_WORKS\02.STUDY\BLE_nRF51_DK\SoftDevice\SDK\hh\examples\ble_peripheral\experimental_ble_app_blinky\pca10028\ser_s130_spi\arm4\JLinkSettings.ini"
* JLink Info: Device "NRF51422_XXAC" selected.
 
JLink info:
------------
DLL: V6.10i, compiled Oct 25 2016 19:31:51
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 26 2016 11:30:32
Hardware: V1.00
S/N : 681828363 
 
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: AP-IDR: 0x04770021, Type: AHB-AP
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ F0000000
* JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl 1 @ E00FF000
* JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
* JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
ROMTableAddr = 0xF0000000
 
Target info:
------------
Device: nRF51422_xxAC
VTarget = 3.300V
State of Pins: 
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 1000 kHz
 
Erase Failed!
Error: Flash Download failed  -  "Cortex-M0"
Flash Load finished at 11:26:03
Load "E:\\ALAI_WORKS\\02.STUDY\\BLE_nRF51_DK\\SoftDevice\\SDK\\hh\\examples\\ble_peripheral\\experimental_ble_app_blinky\\pca10028\\ser_s130_spi\\arm4\\_build\\nrf51422_xxac_s130.axf" 
Set JLink Project File to "E:\ALAI_WORKS\02.STUDY\BLE_nRF51_DK\SoftDevice\SDK\hh\examples\ble_peripheral\experimental_ble_app_blinky\pca10028\ser_s130_spi\arm4\JLinkSettings.ini"
* JLink Info: Device "NRF51422_XXAC" selected.
 
JLink info:
------------
DLL: V6.10i, compiled Oct 25 2016 19:31:51
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 26 2016 11:30:32
Hardware: V1.00
S/N : 681828363 
 
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: AP-IDR: 0x04770021, Type: AHB-AP
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ F0000000
* JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl 1 @ E00FF000
* JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
* JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
ROMTableAddr = 0xF0000000
 
Target info:
------------
Device: nRF51422_xxAC
VTarget = 3.300V
State of Pins: 
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 1000 kHz
 
Erase Failed!
Error: Flash Download failed  -  "Cortex-M0"
Flash Load finished at 11:31:52
Related