This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SRAM SAM-ICE

I am using ATMEL SAM 9263 as my target and ATMEL SAM ICE with JTAG interface as the debugger. While using the KEIl IDE, under "Options for Target 'sram-SAM-ICE'", below the "debug" tab, I am selecting an initialistion file JLinkArm_sram-SAM-ICE.ini, which has the following commands

FLASH
SkipProgOnCRCMatch = 1
VerifyDownload = 1
AllowCaching = 1
EnableFlashDL = 2
Override = 0
Device="ADUC7020X62"
[BREAKPOINTS]
ShowInfoWin = 1
EnableFlashBP = 2
[CPU]
AllowSimulation = 1

While attaching the device from KEIL IDE, I am getting an error for these commands. Since I wish to execute my program from SRAM, should I need different commands for SRAM. Can anybody please help me with the commands.

Parents
  • Hmmm ...

    all the settings should be set up proper when you select the correct device from the Options for Target - Menue.

    Also the device in your command list is wrong, and the SAM-ICE will _never_ work with a device that does not come from Atmel.

    Try this minimal example:

    load Int_RAM\Blinky.axf
    PC = 0xF8002000
    g, main

    Of course you have to set the value for the PC to where your programm starts in SRAM, and the name/location of your axf file :-)

    Also you can find an example where the SRAM is set up from the debugger (when entering debug session), this is located in:
    C:\Keil\ARM\Boards\Atmel\AT91SAM9263-EK\Blinky

    BR,
    /th.

Reply
  • Hmmm ...

    all the settings should be set up proper when you select the correct device from the Options for Target - Menue.

    Also the device in your command list is wrong, and the SAM-ICE will _never_ work with a device that does not come from Atmel.

    Try this minimal example:

    load Int_RAM\Blinky.axf
    PC = 0xF8002000
    g, main

    Of course you have to set the value for the PC to where your programm starts in SRAM, and the name/location of your axf file :-)

    Also you can find an example where the SRAM is set up from the debugger (when entering debug session), this is located in:
    C:\Keil\ARM\Boards\Atmel\AT91SAM9263-EK\Blinky

    BR,
    /th.

Children
No data