This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Questions about image loading and booting of Flash through SBL

Part Number: AM2634

To Expert,

I am trying to boot by loading a flash image using AM2634 SBL.

I have A Application based on CCS example and B Application based on AUTOSAR OS.

I have a few questions about this.

1. I changed the area start of A Application from 0x70040000 to 0x70020000, but it doesn't work. Are there any constraints on the area?

2. If .elf is directly loaded through CCS, B Application works well.

    However, when loading from an external Flash through SBL, Application B does not work and Application A works fine. A Application and B Application have the following differences.

 - B Application's .elf contains entrypoint information, and SBL's Bootloader_BootImageInfo > Bootloader_CpuInfo > entryPoint information appears. But in A Application, this value is 0.

 - After loading "B Application" and executing Bootloader_runSelfCpu, the program counter is located at 0x0000XXXX, and the 0x0000XXXX area is filled with 0.

 - The following is the comparison result of the .rprc file created from the .elf of A Application and B Application. (A Application on the left, B Application on the right)

Ultimately, I want to load Application B from external Flash and run it.

Any help would be appreciated.

Jiung Choi