|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Avoiding ACALL Problems in Maxim DS80C390 Rev BX DevicesInformation in this article applies to:
QUESTIONI'm using the Keil PK51 Professional Developer's Kit with a Maxim (formerly Dallas Semiconductor) DS80C390 Rev Bx Device in Contiguous Mode. I'm using the ROM(D512K) directive to generate compact code using the extended ACALL instructions. However, there is a potential chip problem with ACALL instructions in the DALLAS SEMICONDUCTOR ERRATA SHEET DS80C390 Revision B4 under item 6:
What should I do? ANSWERThe code generated by the Keil tools avoid this problem as follows:
Therefore, ACALL will not be the last instruction in a 64K Byte block and this chip problem cannot occur. To be certain that no ACALL instructions are located at the end of a 64K Byte block by the assembler parts of your application code, you may reserve the last memory location in each code page using the LX51 Linker RESERVE directive. For example, in µVision under Options for Target - LX51 Locate - Reserve: enter:
This will ensure that no CPU instruction is located at the last byte of a 64K Byte block in the memory segments 0, 1, 2, and 3. MORE INFORMATION
SEE ALSO
Last 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.