This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Intel hex file generated for AT91SAM7SE256

Hello,
I have created one project for AT91SAM7SE256 using RealView compiler. The hex file generated after compilation is more than 64K. For the generated Intel Hex file, there are two header signatures i) at the start and ii) after 64K. The snippet of the hex file is as follows:
//First header signature
:0400000500100000E7
:020000040010EA
:100000006CF09FE56C009FE500D0A0E168009FE5E3
:100010000FE0A0E110FF2FE160009FE560109FE579
. .
. :10FFF0003C020000D800100044011100AC022000B7
:0400000500110000E6 //Second signature
:020000040011E9
:10000000701700005C0110001C000000430000009D
:10001000F8FFFFFF0C0000000E0000000F000000C2
............

When such hex file is downloaded into the flash, it doesn't work properly.

However when the hex file size is less than 64K, the code is working properly.
Can anybody please tell me how to modify the settings to generated hex file such that it will consist only one signature at header and one at the end?
Also, why the hex file greater than 64 K is not working when the on-chip flash for AT91SAM7SE256 is 256K?

Any help/pointers on this are highly appreciated.
Thanks in advance.