|
|||||||||||
Technical Support Support Resources
Product Information |
RTX51: Bank Switch Mode 1 causes sporadic Runtime-ErrorsInformation in this article applies to:
SYMPTOMAn application that is using code banking in banking mode 1 or banking mode 4 might cause sporadic problems with RTX51 Full when the system interrupt is triggered within the bank switching code. CAUSEThe RTXCONF.A51 file contains a restore bank function that compares the current bank with the new bank. Since the bank switching code of banking mode 1 and mode 4 no longer disables the interrupt system, a potential run-time error might cause crashes of the application. This occurs when the RTX51 system interrupt is called exactly on the update of the B_CURRENTBANK value, but before external hardware I/O lines are updated. RESOLUTIONChange the code for ?RTX_SWITCHBANK in the file RTXCONF.A51 to:
STATUSThe problem only exists in combination with L51_BANK.A51 configuration file version 2 and will be solved in future RTX51 revisions. If you are using the L51_BANK.A51 Version 1.4 (which was part of the C51 Version 5) the run-time error does not occur, since this code disables the interrupt system during bank switching. 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.