Keil™, An ARM® Company

Technical Support

LX51: RESET VECTOR JUMPS OUTSIDE STARTUP AREA


Information in this article applies to:

  • C51 All Versions

SYMPTOM

My Philips MX program won't execute because the initial jump from the boot vector goes outside the 256 byte startup area.

CAUSE

Your version of START_MX.A51 probably has the wrong segment declaration for the startup code. The code that sets MXCON could be linked in the wrong location.

RESOLUTION

Just before the STARTUP1: label, look for a line similar to:

RSEG       ?C_C51STARTUP

...change that to:

CSEG    AT      7BH

...that will force the startup code into the proper location.

STATUS

This will be fixed in a future release.

MORE INFORMATION

Last Reviewed: Wednesday, March 09, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure