[En-Nut-Discussion] problems making binairy to burn in flash

Faas, Hylke Hylke.Faas at echostar.com
Tue Sep 8 09:43:53 CEST 2009


Hi Harald,

I have indeed seen the Openocd page on ethernut.de and have allmost all
the information based on the instructions given there.
I have also tried to use jtagomat, only jtagomat gives an error that it
can't find the turtelizer so I steped back to openocd.

I have seen that bootmon is using its own makefile en linker script,
that is excactly why I don't understand what is going wrong.

The size of my own binary is only 6 bytes bigger than the original
provided with the source. Thats not disturbing but strangely not
working.

If you have any idea please tell me.

Regards,
Hylke


System information:
Windows XP Pro SP2
openOCD 0.2.0 (with libUsb driver 0.1.8.0 both downloaded
at:http://www.freddiechopin.info/)
jatagomat 1.2.7 (although not used)
Nut/OS 4.8.3

Build of yagarto use the following versions:
binutils: 2.19.1
gcc:      4.3.3
newlib:   1.17.0
gdb:      6.8.50-20080308-cvs




-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Harald Kipp
Sent: Monday, September 07, 2009 17:31
To: Ethernut User Chat (English)
Subject: Re: [En-Nut-Discussion] problems making binairy to burn in
flash

Faas, Hylke wrote:

> For example; If I try to compile and burn the bootmon 1.0.6 version 
> (downloaded from ethernut.de) I get a time out error form openocd, but

> when I burn the bootmon (version 1.0.2) binairy that is already 
> compiled It just work.

You may already know
http://www.ethernut.de/en/hardware/enut3/openocd.html

I can see from your output, that you are using the correct sequence.

If the original bootmon binary works, then the problem may be related to
your linker script. Note, that bootmon is compiled and linked in its own
subdirectory, using its own Makefiles and linker script.

Does the size of your binary look acceptable?

Harald

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list