I'm afraid, in return, you have managed to confuse me farrrrr more than=20
I was before I asked the question. In response to your questions about=20
placement of RAM & FLASH, those numbers are printed on top of the 8051=20
which is soldered to the PAULMON board. As to your information regarding =
what the command line utilities do, thanks, I thought those numbers=20
stipulated where the program got storred. Now I know I have to hand edit =
the assembly code from the sdcc compiler so that it is able to utilize=20
the PAULMON boot loader.
Bernhard Held wrote:
>> If I have a target with RAM @ 0x2000 and FLASH @ 0x8000 (I assume 64K =
>> blocks of each),=20
> Between $2000 and $8000 there=B4s only 24 kByte space. And if we talk a=
bout 8051, you have only 32 kByte left above $8000.
>> I would like to be able to load my program into flash=20
>> and run it from RAM, what command line parameters should I use? Right =
>> now I am experimenting with "--xram-loc 0x2000 --code-loc 0x8000", but=
>> am uncertain if this will work.
> You have to link your program for the address, from where your program =
is executed. And not for the address, where it's stored. You will have to=
write a run-time bootloader, which copies your program from flash to RAM=
> Are you sure, that your hardware can execute code from RAM? Further not=
e, that a 8051 fetches the first Opcode from $0000. What about interrupts=
Evan L. Carew
Linux, where do you want to go tomorrow?