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

Loading AXF image to a target

Hello,


Working with the Arm Development Studio I build an image to ARM CORTEX-M55.

I have a simple scatter file with RO ZI RW,
When uploading the AXF to the target the RW variables that should be initialized (global variables) are NOT initialized with the proper values.

When looking at the load address on the target (cortex M-55) for a global variable i do NOT see the correct value on the target, so when running target I also do not see the correct value in the execution address of the variable.

I can see that scatter copy is done but not with the correct value.

I can see in the .AXF file that the initial value exits.

Thanks 

Ethan

Parents
  • Hi again Ethan

    The .axf file generated by AC6 is in industry-standard ELF format (possibly containing DWARF debug information).

    If a plain .bin is being loaded correctly, but the .axf is not, that would point to the ELF format not being handled correctly by the debug adapter (or by the software interface between debugger and debug adapter), which seems unlikely.

    Your scatter-file looks OK to me - a single load region containing a few load regions.

    As an experiment, maybe you can try a loading a small "Hello World" program with a simple scatter-file.  Does this smaller/simpler ELF image load correctly?

    Stephen

Reply
  • Hi again Ethan

    The .axf file generated by AC6 is in industry-standard ELF format (possibly containing DWARF debug information).

    If a plain .bin is being loaded correctly, but the .axf is not, that would point to the ELF format not being handled correctly by the debug adapter (or by the software interface between debugger and debug adapter), which seems unlikely.

    Your scatter-file looks OK to me - a single load region containing a few load regions.

    As an experiment, maybe you can try a loading a small "Hello World" program with a simple scatter-file.  Does this smaller/simpler ELF image load correctly?

    Stephen

Children