Society of Robots - Robot Forum

Software => Software => Topic started by: Zevoo on November 21, 2014, 12:53:12 PM

Title: Re: 50 dollar robot code building error
Post by: Zevoo on November 21, 2014, 12:53:12 PM
I encountered an error when trying to build the Photovore_V1 and SoR_Utils. How do I fix it? :O
I have attached a picture.
Also after you build the code where do you go in device programming to write it onto the chip and which file do you use? (Im confused by the new studio Layout)
Title: Re: 50 dollar robot code building error
Post by: Gertlex on November 23, 2014, 09:22:32 AM
I'm not sure what's up with that (though it doesn't seem that that issue would arise due to using a different version of AVR Studio).

Just in case it might help others, what version of Windows are you running? And what Atmega chip are you using for your $50 robot?

There are some google results for you error. Is it possibly you have AtmelStudio set up to compile for the wrong chip?

Finally, I would suggest trying AVR Studio 4 if the above doesn't work, as that is known to work best in the past; You might avoid some future issues, but again, unlikely to be the issue here.
Title: Re: 50 dollar robot code building error
Post by: Zevoo on November 29, 2014, 06:00:13 AM
AVR studio 4 does not let me connect to the programmer :(
Title: Re: 50 dollar robot code building error
Post by: Webbot on November 29, 2014, 01:54:58 PM
In your up to date AVR Studio:-
try changing
Code: [Select]
SIGNAL (SiG_ADC)
to

Code: [Select]
ISR(ADC_vect)
The SIGNAL mechanism has been deprecated for a while. Newer compiler versions now drop it and say that its poisined.  Its replaced by the more recent ISR mechanism
Title: Re: 50 dollar robot code building error
Post by: Zevoo on November 30, 2014, 11:57:22 AM
Could you check out my other post. I have encountered another problem while building the code.