![]() ![]() This suggestion is applicable when the 'UNALIGN_TRP' bit is set by the application. The runtime library is built to take advantage of this. When the device is set up in this manner, the IAR C/C++ Compiler™ can generate more efficient code. The first suggestion makes the device accept unaligned accesses. Compile the application with the option -no_unaligned_access.This makes the device accept unaligned accesses. Let the application clear the 'UNALIGN_TRP' bit (or avoid setting the bit), in the Configuration and Control register.These are two different suggestions for avoiding exceptions: For other architectures, especially the ARMv6-M, see the heading ‘Other architectures’ below. This technical note applies to devices based on the ARMv6 (excluding ARMv6-M), ARMv7-M, and ARMv8-M architectures. ![]() This technical note describes actions to take when an unaligned access leads to a ‘Usage Fault’ or ‘Hard Fault’ exception. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |