Author Topic: Re: 50 dollar robot code building error  (Read 2529 times)

0 Members and 1 Guest are viewing this topic.

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot code building error
« 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)
« Last Edit: November 21, 2014, 06:58:37 PM by Zevoo »

Offline Gertlex

  • Supreme Robot
  • *****
  • Posts: 763
  • Helpful? 24
  • Nuclear Engineer ยท Roboticist
    • Index of Oddities
Re: 50 dollar robot code building error
« Reply #1 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.
I

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot code building error
« Reply #2 on: November 29, 2014, 06:00:13 AM »
AVR studio 4 does not let me connect to the programmer :(

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: 50 dollar robot code building error
« Reply #3 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
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot code building error
« Reply #4 on: November 30, 2014, 11:57:22 AM »
Could you check out my other post. I have encountered another problem while building the code.

 


Get Your Ad Here