[En-Nut-Discussion] Winavr, studio 4.18 and ethernut 13h, trying to follow your guidance...

Harald Kipp harald.kipp at egnite.de
Fri Mar 11 20:55:53 CET 2011


Hi Karla,

First let me point out, that this problem has nothing to do with the SP 
Duo upgrade.

On 3/11/2011 5:22 PM, Karla Gamez wrote:

> As for the screen cast 3, i use avrdude but i got the same problem
> again
>> avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks
>> -Wall -Wstrict-prototypes -Wa,-ahlms=testcode.lst -DETHERNUT1
>> -D__HARVARD_ARCH__ -IC:/ethernut-4.8.8/nutbld13h/include
>> -IC:/ethernut-4.8.8/nut/include testcode.c -o testcode.o In file
>> included from C:/ethernut-4.8.8/nut/include/arch/avr/gcc.h:78, from
>> C:/ethernut-4.8.8/nut/include/arch/avr.h:94, from
>> C:/ethernut-4.8.8/nut/include/compiler.h:75, from
>> C:/ethernut-4.8.8/nut/include/sys/types.h:167, from
>> C:/ethernut-4.8.8/nut/include/sys/file.h:53, from
>> C:/ethernut-4.8.8/nut/include/sys/device.h:102, from
>> C:/ethernut-4.8.8/nut/include/dev/debug.h:97, from
>> C:/ethernut-4.8.8/nut/include/dev/board.h:105, from testcode.c:1:
>> c:/winavr/lib/gcc/../../avr/include/avr/pgmspace.h:222: error:
>> expected '=', ',', ';', 'asm' or '__attribute__' before
>> 'prog_int64_t'
>> c:/winavr/lib/gcc/../../avr/include/avr/pgmspace.h:223: error:
>> expected '=', ',', ';', 'asm' or '__attribute__' before
>> 'prog_uint64_t' testcode.c: In function 'NutAppMain':
>> testcode.c:11: warning: implicit declaration of function '_ioctl'
>> make.exe: *** [testcode.o] Error 1

OK, just to make sure: Screencast 1 went through without any problem, 
right? In the message window of the Configurator you can see the line

---- 'make install' terminated successfully ----

right? That's great.

You also selected 'Create Sample Directory' from the build menu to 
update the directory nutapp13h, right?


> problem lies within the bottom, in the nutos configurator x.x. Would
> u mind telling me what versions of winavr and avr studio and ethenut
> do YOU know work properly together?? Or should i use the Test
> enviroments recommended on the nutwiki page? Board     Nut/OS
> WinAVR     Tera Term 1.3 H     2.6.4     20080610     4.61

In general they almost all work together. To put it the other way round, 
I do not know which combination won't work.

Well, on the other hand I became a bit confused by the prog_uint64_t 
type. So I tied Nut/OS 4.8.8 again with WinAVR 20100110. The only 
problem I got was

testcode.c: In function 'NutAppMain':
testcode.c:11: warning: implicit declaration of function '_ioctl'

But that can be ignored.


> Oh great, when i open the nutos configurator the "select a file"
> windows shows, but not the "NUtos configurator" windows on the back,

Umpf!!! How can you successfully pass Screencasts 1 and 2 without the 
Nut/OS Configurator window?!

> after i selected the ethernut13hgcc.config(that´s how i named it),

What do you mean you named it? Which part of the Screencast told you to 
name it?


> nothing happens, no other window pops up and that´s it, just nothing.
> Arrgg, i believe i´m just gonna uninstall the ethernut 4.8.8. I read
> somewhere that the 4.7.3 beta is quite good but i will wait for your
> answer.

Please, do not try anything else. Simply follow the Screencasts step by 
step. At the first step that fails, don't do anything except reporting 
exactly that problem.


> Btw, should i just reply from here or post it in the forum too?

You mean Nabble? No, a simple post to this list will do. The only 
problem was, that you quoted far too much and that you send an 
HTML-formatted text. Thus, your message exceeds the size limit and has 
to wait for being manually confirmed.

Btw. you can always check the archive
http://lists.egnite.de/pipermail/en-nut-discussion/
to verify if your message got processed.


> Thanks for the help:)

You are welcome,

Harald




More information about the En-Nut-Discussion mailing list