[En-Nut-Discussion] Ethernut on TI's Cortex-M3 (Stellaris LM3S...)

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Nov 6 11:15:16 CET 2012


>>>>> "Philipp" == Philipp Burch <phip at hb9etc.ch> writes:
...

    Philipp> So obviously there is an offset of one pointer (4 bytes) in the
    Philipp> structure. When comparing the map files, the structure is
    Philipp> located at 0x200001d0 for the working example (without scanf())
    Philipp> and at 0x200001d4 when it's wrong.

    Philipp> What could cause such a behaviour? I'd like to do more
    Philipp> debugging, but not today evening (in fact, not before
    Philipp> Wednesday), so if someone has a hint, please drop me a note.

Are you sure you don't have some stale file around?
Does it happen after a make clean? Does it happen woth different
optimizations?

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list