Download to Flash Via Jlink SWD and Keil uVision V5.13.00

7 posts / 0 new
Last post
christopher.j.m...
Offline
Last seen:6 years 1 month ago
加入:2015-01-29 19:44
Download to Flash Via Jlink SWD and Keil uVision V5.13.00

I am trying to update the flash in the PAN1740 module using the built in Jlink to the PAN1740-USB module. I am just using the Serial Port Service Example code (v 3.150.2), sps_device.uvproj
I have also configured the flash tools to use SW instead of JTAG in the JLINK/JTRACE settings

I can get the project to build and debug, however it gives me this error when I hit the download button "Download code to flash memory"

JLink info:
------------
DLL: V4.94j, compiled Dec 10 2014 13:52:41
Firmware: J-Link OB-SAM3U128 V1 compiled Nov 28 2014 10:24:11
Hardware: V1.00
S/N : 480041547

* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
ROMTableAddr = 0xE00FF003

Target info:
------------
Device: Cortex-M0
VTarget = 3.300V
State of Pins:
TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 2000 kHz

No Algorithm found for: 20000000H - 2000009FH
No Algorithm found for: 20000160H - 20000333H
No Algorithm found for: 20000350H - 200003F3H
No Algorithm found for: 20000450H - 2000387BH
Erase skipped!
Error: Flash Download failed - "Cortex-M0"

Keywords:
Ingo
Offline
Last seen:3 months 2 weeks ago
Guru Panasonic
加入:2014-01-16 11:19
Hi Christopher, you would

Hi Christopher, you would need to press the debug button instead of the download button. There is no flash on the USB-Dongle.
Best regards, Ingo

maxi.jku
Offline
Last seen:5 years 9 months ago
加入:2015-07-09 09:09
Hi Ingo, I have the same

Hi Ingo, I have the same problem. This happens also when I try it with the download button.
I want to test my device with the test code from DIALOG which is called Blinky.
I installed all programs step by step as it is discribed in the userguide.

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi maxi.jku

Hi maxi.jku

Go to Options for Target -> Utilities -> Use External Tool for Flash Programming and then press the start/stop Debug Session.

Thanks MT_dialog

maxi.jku
Offline
Last seen:5 years 9 months ago
加入:2015-07-09 09:09
Thank you,

Thank you,
but where will I find this option?
In Keil uVision5?

maxi.jku
Offline
Last seen:5 years 9 months ago
加入:2015-07-09 09:09
Excuse me, I was blind.

Excuse me, I was blind.
But there is another problem.
It show me "Evaluation mode Running with Code Size Limit: 32k"
After I press ok I see "Error: Could not load file 'C:\hex\blinky_20140528.axf'. Debugger aborted!"
Help me why don´t work it?

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi maxi.jku

Hi maxi.jku

Can you please check with an other project?

Thanks MT_dialog