Discussion Forum

8051 linker question

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

DetailsMessage
Read-Only
Author
Attila Asztalos
Posted
5-Oct-2003 22:43 GMT
Toolset
C51
New! 8051 linker question
Is it possibble to force the place of the RESET vector in the BL51 linker?
I can move only the INTERRUPT vector places,
but the RESET vector (LJMP XXXX) always be
placed at 0x0000 adrress in the generated HEX file.

Thanx in advance,
Attila
Read-Only
Author
Jon Ward
Posted
6-Oct-2003 02:49 GMT
Toolset
C51
New! RE: 8051 linker question
Take a look at the following knowledgebase article.

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

It tells how to relocate a whole program including the reset vector and interrupt vectors.

Jon
Read-Only
Author
erik malund
Posted
6-Oct-2003 13:56 GMT
Toolset
C51
New! RE: 8051 linker question
It tells how to relocate ... the reset vector
How will the chip work, it starts at 0, if the reset vector is not there?

Erik
Read-Only
Author
Andrew Neil
Posted
6-Oct-2003 14:00 GMT
Toolset
C51
New! RE: 8051 linker question
There must be something else at address zero, and that "something" must eventually call the application code (in fact, the application's startup code).

Presumably a boot loader, or something?

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