i am interested in programming our own startup code because i cannot see what __main does exactly.
For GCC i had already programmed this but we need to use Keil (ARMCLANG) this time. The linker script for GCC is easier to understand for me than the scatter file.
I found this information  to get the symbols.
Does anyone have a good document for me to start at?
At the moment i would start with zeroing at address 'Image$$region_name$$ZI$$Base' for all regions.
Image$$region_name$$ZI$$Base' for all regions.
Copying 'Load$$region_name$$RO$$Base' to 'Image$$region_name$$RO$$Base' with 'Image$$region_name$$RO$$Length' for all regions.
Now i have to understand how i have to decompress the RW data .
Any help is welcome :-)
Hi Daniel, the following documentation should be useful:
The scatterloading mechanism you are looking at above is somewhat proprietary. You can disable data compression with the armlink option --datacompressor=off
Thank you for your help!
Disabling the datacompressor is a great help!
It seems to me that i've initialized all the needed stuff. At the moment i am happy that we don't need C/C++ library.
View all questions in Simulation Models forum