Hi, ich spiele grad mit dem eZDSP stick. Wenn ich ein neues Projekt anlege, funktioniert printf "out of the Box", aber folgende Warnung kommt beim Erstellen: warning: creating output section ".cio" without a SECTIONS specification warning: creating output section ".const" without a SECTIONS specification warning: creating ".stack" section with default size of 0x3e8; use the -stack option to change the default size warning: creating ".sysmem" section with default size of 0x7d0; use the -heap option to change the default size warning: creating ".sysstack" section with default size of 0x3e8; use the -sysstack option to change the default size und beim debuggen kommt: C55xx: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map. Wenn ich dann das Linkerfile (einfach aus nem fertigen Testprojekt für den stick) hinzufpüge sind die Warungen weg, aber printf funktioniert nicht mehr. Ich könnte die testlib nehmen, die bei der Toolchain dabei war, aber das möchte ich nicht. Wie muss ich vorgehen, um printf wieder zum laufen zu bringen?
Upps, noch paar Infos vergessen. Das Programm selbst läuft, ich teste es mit LED blinken, es geht nur bei printf nicht weiter. Und ich verstehe halt nicht, wieso es nicht mehr gehtm wenn ich die Speichersektionen dem Programm zuteile mit dem linkerfile.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.