Keil™, An ARM® Company

Discussion Forum

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

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Hui J
Posted
20-Feb-2007 15:41
Toolset
ARM
New! 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!

Read-Only
Author
Reinhard Keil
Posted
22-Feb-2007 08:56
Toolset
ARM
New! RE: Code created by RealView doesn't run on AT91SAM7S-EK

Did you try the example in the folder:

..\Keil\ARM\RV30\Boards\Atmel\AT91SAM7S-EK\Blinky

Read-Only
Author
Hui J
Posted
22-Feb-2007 10:08
Toolset
ARM
New! RE: Code created by RealView doesn't run on AT91SAM7S-EK

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!

Read-Only
Author
Hui J
Posted
22-Feb-2007 15:48
Toolset
ARM
New! RE: Code created by RealView doesn't run on AT91SAM7S-EK

After following the instructions on link below, it starts working now.

http://www.keil.com/support/docs/3178.htm

Read-Only
Author
Andy Neil
Posted
22-Feb-2007 18:49
Toolset
ARM
New! RTFM!

"After following the instructions ... it starts working"

Yes, that is generally the case!

Next Thread | Thread List | Previous Thread Start a Thread | Settings