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"
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
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.
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
Thank you,
but where will I find this option?
In Keil uVision5?
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?
Hi maxi.jku
Can you please check with an other project?
Thanks MT_dialog