Discussion Forum

loading BIN to external RAM

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

DetailsMessage
Read-Only
Author
PT Tam
Posted
10-Apr-2005 16:38 GMT
Toolset
ARM
New! loading BIN to external RAM
Is there any body who knows how to load a binary file to particular external RAM address in uvision?

The command "LOAD" do not indicate any load address.
Read-Only
Author
Hans-Bernhard Broeker
Posted
10-Apr-2005 17:38 GMT
Toolset
ARM
New! RE: loading BIN to external RAM
That's not supposed to be necessary, ever. The debugger works with the same code you'ld have in real hardware. I.e. if you need the code relocated, it's not the debugger's work to do it for you.

Use external tools, like the Hex file generator and hex2bin/bin2hex converters.
Read-Only
Author
A.W. Neil
Posted
11-Apr-2005 20:49 GMT
Toolset
ARM
New! RE: loading BIN to external RAM
"That's not supposed to be necessary, ever."

I'm sure there are situations where you might want to load data into RAM;
eg, to simulate shared memory, or if you're doing a datalogger and want to simulate a large amount of previously-aquired data.

But, in answer to the original question, LOAD supports Intel Hex and Absolute Object files only - so you'd have to convert the BIN to one of those.

eg, see http://www.keil.com/support/docs/2482.htm
(it's for the 8051, but I'm sure you get the idea).

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