|
Title: Complile problems Post by: Chris on 11 Oct 2005, 20:25 Hi,
When I tyr to compile the source I get the following error C:\testmd\MD\IPbus_v5_MD>make -------- begin -------- avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack- struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=link.lst link.c -o lin k.o link.c:2:23: avr/timer.h: No such file or directory link.c: In function `read_message': link.c:72: warning: implicit declaration of function `cbi' link.c:74: warning: implicit declaration of function `timer0_source' link.c:74: error: `CK64' undeclared (first use in this function) link.c:74: error: (Each undeclared identifier is reported only once link.c:74: error: for each function it appears in.) link.c:75: warning: implicit declaration of function `timer0_start' link.c:76: warning: implicit declaration of function `inb' link.c:78: warning: implicit declaration of function `inp' link.c:132: warning: implicit declaration of function `sbi' link.c: In function `read_byte': link.c:150: error: `CK64' undeclared (first use in this function) link.c: In function `read_byte_wo_parity': link.c:195: error: `CK64' undeclared (first use in this function) link.c: In function `send_acknowledge': link.c:227: error: `CK64' undeclared (first use in this function) link.c: In function `send_message': link.c:249: error: `CK64' undeclared (first use in this function) link.c: In function `read_acknowledge': link.c:404: error: `CK64' undeclared (first use in this function) make: *** [link.o] Error 1 It cannot find avr/timer.h! and I cannot find it under C:\WinAVR\avr\include\avr Please help!!! Title: Re: Complile problems Post by: brokly on 12 Oct 2005, 10:52 Hi.
Small question... What for you compile this code? Look it http://www.vitat.spb.ru/forum/index.php/topic,151.0.html "You need to use one of the earlier version of winavr since the code doesnt compile properly with the newer versions." Title: Re: Complile problems Post by: Sergey on 12 Oct 2005, 23:42 See your "PATH variables". "C:\WinAVR\avr\" and "C:\WinAVR\" must include in 'PATH'.
Title: Re: Complile problems Post by: brokly on 14 Oct 2005, 08:50 This `cbi' and this `sbi' àre absent in the new versions.
Title: Re: Complile problems Post by: Chris on 14 Oct 2005, 12:48 Doh!, Had the wrong WinAvr version installed. Now compiling fine.
The problem I have now is that after installing IPbus_v5_MD the HU show the device as External (which is fine) but just sits there flashing TOC READ at me. I really want to use some of the features of this version such as: FUNC -> enter to functions mode and choises function UP or DOWN => fastforward on tracks with 1 track step, this function allows at fast browsing on tracks to see their names (only in MD mode) etc.. I am using the emulator to control a PC if this makes any diffrence. Also what is "Stupid mode"? Cheers Title: Re: Complile problems Post by: brokly on 14 Oct 2005, 23:45 Hi,
Îê, I repeat only for you ;) For a choice ID press next keys: FUNC-FUNC-FUNC-UP-UP-...(While on the screen will not appear "MAIN ID") - press and hold UP (On the screen "MAIN 05", Means ID of the emulator 05) - UP -UP-...(While on the screen will not appear "MAIN NN" , where NN number of the device, for CD - 06, for MD - 0C (only if head supports MD), for EXT - other ) - press and hold UP (The emulator will be disconnected, after activate will be new ID). see -> http://www.vitat.spb.ru/forum/index.php/topic,93.0.html http://www.vitat.spb.ru/forum/index.php/topic,97.0.html (for translate http://www.translate.ru) And if the emulator does not react to commands HU means there is no communication with a computer. In this case on the screen always - " TOC READ " "Stupid mode" - It when HU works using the universal frame of the report. Happens in that case when HU not understand the conection device. For example not all HU know MD, but everyone can operate. If HU does not know the device some functions are inaccessible. |