Using Big-Endian with for Open AT compilation

ADL, A&D memory, Flash objects, multi-tasking, file system, DOTA.

Using Big-Endian with for Open AT compilation

Postby FAQ_Poster » Mon Jan 21, 2013 4:14 pm

To change the output code that is generated to Big Endian format, the compiler options for the compiler being used have to be changed.

Eg: In ARM ADS compiler, the following options have to be set to configure whether the application is compiled for Little Endian or Big Endian format.

“-mbig-endian”: Generate "big endian" format output.
“-mlittle-endian”: Generate "little endian" format output.

The Open AT® Firmware expects the Open AT® Application to be present only in Little Endian format. Hence the format in which the application is compiled should not be changed.

Also Sierra wireless does not allow to change the processor register bits which is used by the ARM processor to determine whether it should use big-endian or little-endian format.

At boot time, the Little-Endian mode is activated by default.
User avatar
Posts: 254
Joined: Thu Oct 25, 2012 7:10 am
Has thanked: 0 time
Have thanks: 5 times

Topic Tags

compilation, Big-Endian, processor, compiler, Open AT

Return to Operating System FAQ

Who is online

Users browsing this forum: No registered users and 1 guest