hello !! please i want to know how could i control the placement of RW data of a "xxxx.o" on a specific region into the flash PS : my input is a .axf file and my output would be a .hex file
Read the documentation for SCATTER files
i know the scatter file very well in fact i want to create a new layer in the architecture to organize the RW secion of a scpecific module in a specific adress into the internal flash
i know the scatter file very well ...<i/>
So why ask the f@#!ing question then?
because my work will be after linking process using a .axf file as an input
Should we assume that you've got a copy of AND READ the documentation relating to the AXF format?
Why ??
Surely this is exactly the kind of thing that the Linker is for ?!
in other way ,sir, after linker will copy data from flash to RAM , as a result we can just see the location of that RW at RAM , my question is that i want to know placement of that data before being copied to RAM it means their position into internal flash before linking process , hope that my goal is some what clear now
The linker creates internal structures describing the way statics are copied and zeroed out of FLASH. This function is nominally __scatterload, and the table between Region$$Table$$Base and Region$$Table$$Limit
The structure of the ELF object format is widely distributed on the internets if that is of interest. You'd have to manipulate that in a post-link scenario.
ok Pier but is debug mode the only way to see the scatterload function and Region$$Table$$Base ?
View all questions in Keil forum