Hi,
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 [1] 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 [2].
Any help is welcome :-)
Kind regards
Daniel
[1] https://www.keil.com/support/man/docs/armlink/armlink_pge1362065953229.htm
[2] www.keil.com/.../armlink_pge1362065930871.htm
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.