Gast
#1595163
Hi,
ich arbeite an einem Linkerscript, welches mir eine Section im RAM (die
ersten 128 Byte des RAMs) des Microcontrollers reserviert:
MEMORY
{
ramfixed (rw) : ORIGIN = 0x20000000, LENGTH = 0x80
ram (rwx) : ORIGIN = 0x20000080, LENGTH = 64K-0x80
rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
}
SECTIONS
{
.ramfixed :
{
*(.ramfixed)
} >ramfixed
Zugriff über:
u32 U32FixedRam __attribute__((section(".ramfixed")));
Resultat ist, dass zwar die Adressen richtig verteilt werden aber der
Bereich von 0x20000000 - 0x20000080 als Flash ROM deklariert wird.
Gibt es Ideen zu dem Problem?
danke