Hello,
我试图上传作品DA1示例代码4580, but Keil's uVision is producing the following error:
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'BLINKY'
compiling common_uart.c...
compiling main.c...
compiling periph_setup.c...
compiling gpio.c...
linking...
Program Size: Code=5168 RO-data=176 RW-data=0 ZI-data=916
FromELF: creating hex file...
".\out\blinky.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:01
Load "C:\\Dialog\\blinky_20150501_old\\blinky_arrived\\out\\blinky.axf"
Set JLink Project File to "C:\Dialog\blinky_20150501_old\blinky_arrived\JLinkSettings.ini"
* JLink Info: Device "CORTEX-M0" selected.
JLink info:
------------
DLL: V6.10i, compiled Oct 25 2016 19:31:51
Firmware: J-Link OB-SAM3U128 V1 compiled Jan 31 2017 09:46:32
Hardware: V1.00
S/N : 480066313
* 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 @ 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
Target info:
------------
Device: ARMCM0
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: 25000 kHz
No Algorithm found for: 20000000H - 200014DFH
Erase skipped!
Error: Flash Download failed - "Cortex-M0"
Flash Load finished at 19:20:58
I tried to follow instructions fromhttp://www.cdiweb.com/datasheets/iwatt/DA14580DEVKT-BUserGuide.pdf
Unfortunately, I couldn't make it work.

Hi toddgun,
You cannot donwload code via using the flash downloading tool that keil has. You can only use keil tool in order to download code directly to the sysram, in order to do that you will have to go to the "Options for target" -> Go to the "Utilities" tab and select the "Use External Tool for Flash Programming". That will allow you to download code directly to the 580's sysram. In order to download code to an external flash, you will have to use the Smart Snippets tool and the dedicated flash burner tool.
Thanks MT_dialog