|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Create a Patch Vector TableInformation in this article applies to:
QUESTIONI need to create a ROM mask that provides some functions. However, it should be possible to overwrite the functions for providing software patches. Therefore, a patch table is located in a Flash ROM that may be overwritten by later software downloads, whereas the main part of the software is located in mask ROM and cannot be modified later. Currently, I have defined this patch table as shown below:
However, during linkage, I get a problem with the data overlaying that is implemented in the 8051 Linker. It reports *** WARNING L13: RECURSIVE CALL TO FUNCTION, even when there are no program recursions. How can I prevent the linker from reporting such warnings? ANSWERThe overlay analysis of the linker is based on segment names. However, the Extended AX51 Macro Assembler (which is part of the PK51 Professional Developer's Kit) also supports a procedure concept. First, select the Extended AX51 Macro Assembler under Options for Target - Device. Then modify your patch table as shown below:
Due to the PROC / ENDP statements, the linker can isolate the individual functions and generate a proper call tree during overlay analysis. MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.