We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I just bought a J-LINK and downloaded the eval version of Keil MDK v3.70. Flash loading with J-LINK always fails with:
No Algorithm found for: 00000000H - 00002C57H
The J-LINK works fine with CrossWorks & IAR, and KEIL works fine with ULINK, so I don't think it's faulty HW. I'm using a Keil MCB2140 board.
Any input appreciated.
Thanks - Chip
Here's the log output:
Build target 'MCB2140' assembling Startup.s... compiling DiskImg.c... compiling usbhw.c... compiling usbcore.c... compiling usbdesc.c... compiling usbuser.c... compiling mscuser.c... compiling memory.c... linking... Program Size: Code=6936 RO-data=4356 RW-data=60 ZI-data=17780 ".\Obj\Memory.axf" - 0 Error(s), 0 Warning(s). Load "C:\\Keil\\ARM\\Boards\\Keil\\MCB2140\\USBMem\\Obj\\Memory.AXF" VTarget = 3.248V Info: TotalIRLen = 4, IRPrint = 0x01 Info: TotalIRLen = 4, IRPrint = 0x01 Info: RTCK reaction time is approx. 126ns Info: Auto JTAG speed: Adaptive DLL version V4.05i, compiled May 18 2009 19:20:52 Firmware: J-Link ARM V8 compiled Jun 30 2009 11:00:16 Hardware: V8.00 Hardware-Breakpoints: 2 Software-Breakpoints: 2048 Watchpoints: 0 Found 1 JTAG device, Total IRLen = 4: Id of device #0: 0x4F1F0F0F ARM7 identified. Using adaptive clocking instead of fixed JTAG speed. Info: TotalIRLen = 4, IRPrint = 0x01 Info: TotalIRLen = 4, IRPrint = 0x01 JTAG speed: 1000 kHz No Algorithm found for: 00000000H - 00002C57H Erase skipped!
Here's the Keil info:
IDE-Version: µVision3 V3.85 Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2009
Tool Version Numbers: Toolchain: RealView MDK-ARM Version: 3.70 Toolchain Path: BIN40\ C Compiler: Armcc.Exe V4.0.0.524 [Evaluation] Assembler: Armasm.Exe V4.0.0.524 [Evaluation] Linker/Locator: ArmLink.Exe V4.0.0.524 [Evaluation] Librarian: ArmAr.Exe V4.0.0.524 [Evaluation] Hex Converter: FromElf.Exe V4.0.0.524 [Evaluation] CPU DLL: SARM.DLL V3.70 Dialog DLL: DARMP.DLL V1.45 Target DLL: Segger\JLTAgdi.dll V??? Dialog DLL: TARMP.DLL V1.45
Hi,
with ULINK & J-Link you must set up the debug and the utilities tab in "Options for target".
Debug: [x] Use J-Link (for CM3: Cortex-M3 J-Link) Settings Configure for your needs (speed, ...)
Utilities: Select J-Link or Cortex-M3 L-Link Settings Add programming algorithm for your chip
Then you can erase, flash download, debug.
BR, /th.
I just tested your problem. Works fine here.
Board: MCB2140 J-Link Pro V1.10, dll V4.08i Example: MCB2130\Blinky
Please add "LPC2000 IAP2 512kB Flash (500k) to the programming algorithms page.
For the programming algorithms you can always look into the ULINK configuration, we use the same algorithms for ULINK and J-Link (means you do not need Flash DL license when working with uVision)
I believe the addition of the "LPC2000 IAP2 512kB Flash (500k)" to the programming algorithms page is most likely the missing sauce and will fix the problem. I'll test it later today.
Thanks.
This was indeed the problem. Thanks for your help.
Chip