On Wed, 2009-03-11 at 20:27 +0000, jeo_dan wrote:
> i compile hello.c and generate hello.s19 code compiled at 0x8000 correctly.
but s19 file not contain reset vector info
> i run myown emulator correctly when i add reset vector info manually to s19
file.
> how can i generate s19 with reset vector info?
The way I do it is as follows:
Define a section in the linker script where the vector table is to go,
simplified linker script just for vectors below:
.section .vectors
short someFunction
short someFunction
... ; Entries skipped
short resetVector ; last call, reset vector
And that's it.
When you go to link, the linker will now know where to put the vector
table and your s19 file will contain the correct addresses. If you
haven't created your own linker script yet, now would be a good time to
do so. The default linker script more than likely doesn't 100% match
your hardware. =)
thanx i find something.. i load a vector.s file in my project (i'am using your application!) and it works fine ... From: "Eric Engler" <englere@...> ...
olivier
cfr21@...
Jul 11, 2003 5:59 am
Hello Eric, ... vectors. I downloaded twice the ZIP archive pointed by the link, seems corrupted... Tried with WinRAR 3, Winzip 6.3 & 8.0. I'm gonna try once &...
... I just downloaded Eric's IDE, again, from http://www.geocities.com/englere_geo/asmide27.zip and it comes thru fine. At least 2 of my unzipping programs...
Hi, ... http://www.geocities.com/englere_geo/asmide27.zip Hey, I downloaded the C++ IDE, not the ASM IDE (I downloaded it, indeed, and it works). The C IDE...
I am using a 68hc11a1p in expanded mode with a 28c64 eeprom mapped at E000, as shown at http://www.freescale.com/files/microcontrollers/doc/app_note/AN1010.pd...
If you look in the GEL project, there are some sample vectors.s/c files there for populating the interrupt vectors/reset vector. The vectors.c/s file sets up a...
Thank you for your help. I modified an example vectors.s file, assembled it and linked vectors.o with the other object files. This solved the problem. Chris...
i compile hello.c and generate hello.s19 code compiled at 0x8000 correctly. but s19 file not contain reset vector info i run myown emulator correctly when i...
... The way I do it is as follows: Define a section in the linker script where the vector table is to go, simplified linker script just for vectors below: ...