|ARM Technical Support Knowledge Articles|
Applies to: RealView Development Suite (RVDS)
RealView Debugger supports debug and trace of both little-endian (LE) and big-endian (BE) ELF images.
ARM cores are natively little-endian but can be configured for either little-endian or big-endian memory systems. The big-endian configuration depends on the ARM Architecture version implemented. ARM cores based on ARM Architecture v5 and earlier support word invariant BE32 while cores based on ARM Architecture v6 and later support byte invariant BE8.
Details on how to configure your ARM core for big-endian can be found in the Technical Reference Manual (TRM) available on the ARM Information Centre website.
In order to load and debug big-endian images in RealView Debugger you first need to configure both the debugger and target for big-endian operation.
Note that you need to change your target endianness to match your image before the image is loaded. The compilation tools will prepare the image contents based on the specified endianness so your image will not work if you load it onto a target with opposite endianness, even if your image startup code correctly changes the endianness.
Also note that the RealView Compilation Tools and RealView Debugger do not support mixed endianness images.
Did you find this article helpful? Yes No
How can we improve this article?