|
|||||||||||
|
Technical Support Support Resources
Product Information |
ARM: CHECKING FOR CORTEX-M3 LDRD ERRATA 602117Information in this support solution applies to:
QuestionThe Cortex-M3 CPU Core has a problem when executing LDRD with the base register in the list of the form LDRD Ra, Rb, [Ra, #imm]. The instruction may not complete after the load of the first destination register when an interrupt occurs during execution of the instruction. Is this a serious problem that I need to be concerned with? Are the instructions actually generated by the RealView Compiler? AnswerYes, the instructions are generated by the RealView Compiler Version V3.1.0.940 or before. RealView Compiler Versions 3.1.0.941 and later no longer generate this sequence. RealView Compiler update(V3.1.0.942) is part of RealView MDK V3.30 and higher. It actually depends on the device whether the instruction may cause problems or not. For most devices the instruction execution is correct when code is fetched from on-chip Flash ROM. Check with the silicon vendor for clarification of the errata. For existing code you may check the image with the attached fromelf and scanning tool for the erroneous instruction. If the erroneous code is detected in the text file you will see the warning: WARNING: Found 1 instances of LDRD code which are susceptible to the Cortex-M3 LDRD erratum (erratum #602117) To automate the check, apply the following changes to your µVision project:
With these changes the check is performed every time you build your target application. MORE INFORMATIONATTACHED FILESRequest the files attached to this knowledgebase article. Last Reviewed: Monday, February 09, 2009 | ||||||||||
|
|||||||||||