Hello. I work AT91SAM9X5-EK board. I use SAM-ICE JTAG and Keil v5.
JTAG connect.. and power on board..
I click <Download> icon. but it fail with the message "Error: Flash Download failed - ARM926EJ-S"
I think it error memory setup.
Can you tell me how to set it up?
Or is it another matter?
---------------------------------------------------------- log message --------------------------------------------------------- Load "C:\\Keil_v5\\ARM\\Examples\\ATMEL\\sam9x25-ek\\examples\\usart_serial\\build\\mdk\\sram\\sram.axf" ProjectFile = C:\Keil_v5\ARM\Examples\ATMEL\sam9x25-ek\examples\usart_serial\build\mdk\JLinkArm_sram.ini Device = SAM9X25 Info: Device "AT91SAM9X25" selected. VTarget = 3.327V Info: TotalIRLen = 4, IRPrint = 0x01 Info: CP15.0.0: 0x41069265: ARM, Architecure 5TEJ Info: CP15.0.1: 0x1D152152: ICache: 16kB (4*128*32), DCache: 16kB (4*128*32) Info: Cache type: Separate, Write-back, Format C (WT supported) Info: RTCK reaction time is approx. 83ns Info: Auto JTAG speed: Adaptive Info: J-Link: ARM9 CP15 Settings changed: 50078 from 78, MMU Off, ICache Off, DCache Off Info: CP15.0.0: 0x41069265: ARM, Architecure 5TEJ Info: CP15.0.1: 0x1D152152: ICache: 16kB (4*128*32), DCache: 16kB (4*128*32) Info: Cache type: Separate, Write-back, Format C (WT supported) DLL version V6.10i, compiled Oct 25 2016 19:31:51 Firmware: J-Link V9 compiled Sep 1 2016 18:29:50 Hardware: V9.40 Hardware-Breakpoints: 2 Software-Breakpoints: 8192 Watchpoints: 0 Found 1 JTAG device, Total IRLen = 4: Id of device #0: 0x0792603F ARM9 identified. Using adaptive clocking instead of fixed JTAG speed. Info: CP15.0.0: 0x41069265: ARM, Architecure 5TEJ Info: CP15.0.1: 0x1D152152: ICache: 16kB (4*128*32), DCache: 16kB (4*128*32) Info: Cache type: Separate, Write-back, Format C (WT supported) Using adaptive clocking instead of fixed JTAG speed. No Algorithm found for: 00300000H - 003027B3H Erase skipped! Error: Flash Download failed - ARM926EJ-S Flash Load finished at 12:03:15
>>No Algorithm found for: 00300000H - 003027B3H
You'd need to go into the Debug configuration, Settings -> Flash Download and pick one suitable for the part.
If it is a RAM address, then you need to use a debugger script to load it rather than "Update Target"
Thank you for your answer.
but I don't see it <Debug configuration, Settings -> Flash Download>.
Where is it?
I did.
<Options for target...> click.
it show many tab menu.
<Device>,<Target>,<Output>,<Listing>,<User>,<C/C++>,<Asm>,<Linker>,<Debug>,<Utilities>
and I click <Debug>.
but none.
I excute Keil v5 and show popup.
this is message.
--------------------------------------------------------------------------------- The Project references devices, files or libraries that are not installed. Download and Install:
Third Party Device Support for 'Atmel: at91sam9x25' (Device not included in Legacy Device Database) ----------------------------------------------------------------------------------
Do you know Download path for 'Atmel: at91sam9x25' ?