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

Code created by RealView doesn't run on AT91SAM7S-EK

Hi,

I am playing with Keil evaluation compiler. The version information is as following.

Compiler:

IDE-Version:
µVision3 V3.33
Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2006

Tool Version Numbers:
Toolchain Path: E:\Keil\ARM\BIN\
C Compiler: CA.Exe V2.54a
Assembler: AA.Exe V2.50
Linker/Locator: LA.Exe V2.54a
Librarian: LIBA.Exe V4.26
Hex Converter: OHA.Exe V2.10
CPU DLL: SARM.DLL V3.02a
Dialog DLL: DARMATS.DLL V1.02a
Target DLL: BIN\AGDIRDI.DLL V1.06c
Dialog DLL: TARMATS.DLL V1.02

Evaluation Board: AT91SAM7S-EK ATMEL SAM-ICE

If I test demo code (write for Keil compiler), everthing works fine. I can start debug mode and run code on my EV board. (See the four LEDs flashing)

But if I use demo code written for RealView compiler(..\rv30),
it won't run on my EV board. And I don't get any error messages.

Do I need setup something for RealView compiler to make it run? Any comments are appreiated!

Thanks!

Parents
  • I downloaded the latest evaluation package (uversion 3.5...) and try the the demo code under "\..\keil\arm\rv30\boards\atmel\at91sam7s-ek\Blinky".

    The project is build without any problem. But when I started debug mode, I noticed that the RAM.ini used to load code actually loads code from \..\RAM\Blinky.axf and not from \Flash. The code loaded from \..\RAM works. But it is not the code I just created under \..\Flash.

    I've tried to modify the RAM.ini file to load flash code. The Window gives me some odds error message about memory address and uversion got to be shut down.

    How can I load the Blinky (flash version) to the hardware?

    Thanks!

Reply
  • I downloaded the latest evaluation package (uversion 3.5...) and try the the demo code under "\..\keil\arm\rv30\boards\atmel\at91sam7s-ek\Blinky".

    The project is build without any problem. But when I started debug mode, I noticed that the RAM.ini used to load code actually loads code from \..\RAM\Blinky.axf and not from \Flash. The code loaded from \..\RAM works. But it is not the code I just created under \..\Flash.

    I've tried to modify the RAM.ini file to load flash code. The Window gives me some odds error message about memory address and uversion got to be shut down.

    How can I load the Blinky (flash version) to the hardware?

    Thanks!

Children