DA14580 programming failure

4 posts / 0 new
Last post
ksrgopinath
Offline
Last seen:3 years 8 months ago
加入:2016-12-10 08:01
DA14580 programming failure

HI all,
;
I am a newbie here. I have followed the instructions DA14580 basic kit : getting started guide to program blinky code in to DA14580 baord but was contantly comming across these error. can any of you please guide me please.

console output:
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'BLINKY'
compiling per_ex_hard_fault.c...
assembling boot_vectors.s...
compiling system_ARMCM0.c...
compiling gpio.c...
compiling uart2.c...
compiling common_uart.c...
compiling main.c...
compiling periph_setup.c...
linking...
Program Size: Code=4288 RO-data=176 RW-data=0 ZI-data=560
FromELF: creating hex file...
".\out\blinky.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:01
Load "C:\\Dialog\\__SRI_workspace\\resources\\firmware_upload\\blinky_arrived\\out\\blinky.axf"
Set JLink Project File to "C:\Dialog\__SRI_workspace\resources\firmware_upload\blinky_arrived\JLinkSettings.ini"
* JLink Info: Device "ATSAM3U2C" selected.

JLink info:
------------
DLL: V6.12j, compiled Feb 15 2017 18:01:10
Firmware: J-Link OB-SAM3U128 V1 compiled Jan 31 2017 09:46:32
Hardware: V1.00
S/N : 480057296

* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: AP-IDR: 0x04770021, Type: AHB-AP
* JLink Info: AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
* JLink Info: Found Cortex-M0 r0p0, Little endian.
**JLink Warning: Identified core does not match configuration. (Found: Cortex-M0, Configured: Cortex-M3)
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ E00FF000
* JLink Info: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
ROMTableAddr = 0xE00FF000
***JLink Error: AT91SAM3 / AT91SAM4 reset: Core never enters reset state.

Target info:
------------
Device: ATSAM3U2C
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: 5000 kHz

Full Chip Erase Failed!
Error: Flash Download failed - "Cortex-M3"
Flash Load finished at 23:38:31

I have attached the pdf doc with image of settings I have follwed. Please help me.

Best regards,
Sri.

Device:
MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi ksrgopinath,

Hi ksrgopinath,

There is no embedded flash on the 580 in order to erase and also there is no dialog document that indicates the steps that you mention on your post, please check the UM-B-048:DA1458x Getting Started with Development Kit Basic, additionally please make sure that in the "Options for Target" in the Utilities tab the radio button "Use External Tool for Flash Programming" is selected.

Thanks MT_dialog

ksrgopinath
Offline
Last seen:3 years 8 months ago
加入:2016-12-10 08:01
@MT_dialog.

@MT_dialog.
Thank you so much for your responce. Will try your advice and get back to you.
If you do not mind, can you provide me a link to a doc which describes programming steps via keil and smartsnippets please.
cheers,
Sri.

MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi ksrgopinath,

Hi ksrgopinath,

Sure, here is the linkhttps://support.dialog-semiconductor.com/resource/basic-dev-kit-um-b-048...

Please if you find the answer useful mark it as Accepted.

Thansk MT_dialog