eZDSP stick und printf

Gast #1767260
Lesenswert?

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?
Gast #1767281
Lesenswert?

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.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren