www.robowars.org

RoboWars Australia Forum Index -> Technical Chat

Antweight Resource Page
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next

Post new topic   Reply to topic
  Author    Thread
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

Building.
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Thu May 17, 2012 5:50 pm 
 View user's profile Send private message
seanet1310



Joined: 08 Nov 2006
Posts: 1265
Location: Adelaide


 Reply with quote  

Did you install GCC correctly? (By this I mean WinAVR) If so do you know the build? Will be some big number eg '20100110'
Did you install it in the default directory?
Are you running some form of virtual box, emulator or wine type program to use windows ? (Ie is your Operating system linux, OSX or similar)

Edit: looking at that tutorial, most of pololu's stuff is good but I am not impressed with their install bit. Unless of course AVStudios 6 comes with GCC installed. To be honest I still run 4. Last time I checked over a year ago 6 was in beta and buggy. Steve I am sure will be more help.

Latest version of WinAVR can be found here http://sourceforge.net/projects/winavr/files/


I have never seen such a message but looks like an installation issue or interface issue.
_________________
Remember to trust me, I am an Engineer.

http://www.youtube.com/watch?v=rp8hvyjZWHs

Post Thu May 17, 2012 7:46 pm 
 View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

I am running Windows 7. I followed this section for the installation. I did make the mistake of trying to install the Pololu AVR Development Bundle before Atmel Studio 6.0. After I installed Atmel Studio 6.0, I reinstalled the Development Bundle.

I just went for the standard installation. I didn't customise anything.


quote:
3.1. Installing Prerequisites

As a first step for programming AVRs in Windows, we recommend downloading and installing Atmel Studio 6.0, an integrated development environment (IDE) from Atmel. You can use this direct download link for Atmel Studio 6.0 (~540 MB exe) or find it on Atmel’s website.

After Atmel Studio 6.0 is installed and working, download and install the Pololu AVR Development Bundle (~6MB exe). The Pololu AVR Development Bundle contains these components:
•The Pololu AVR C/C++ Library, which provides functions for interacting with the hardware on your Orangutan or 3pi robot.
•Pololu USB AVR Programmer drivers and software.
•Orangutan SVP drivers.

_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Fri May 18, 2012 5:46 am 
 View user's profile Send private message
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

I'll try to replicate the issue today when I upgrade to AVRStudio6.
_________________
https://www.halfdonethings.com/

Post Fri May 18, 2012 8:05 am 
 View user's profile Send private message
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

hmmm
http://www.sparkfun.com/products/11218
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Fri May 18, 2012 11:12 am 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

Probably doses everything with interference.
_________________
https://www.halfdonethings.com/

Post Fri May 18, 2012 11:31 am 
 View user's profile Send private message
seanet1310



Joined: 08 Nov 2006
Posts: 1265
Location: Adelaide


 Reply with quote  

A) I want one re spark gap. looks like I need a sparkrun order. Video hinted at for release tomorrow in comments sounds interesting.
B) re your issue phil, if Aaron has no luck ill try upgrading to 6 tomorrow as well, see if I notice anything. Seams you do not need WINAVR any more as pololu have replaced it if you use their one so disregard much of what I said above.

Only thing I can think ATM is if you went reinstall for Pololus Dev bundle it may have left some crap in. Try to uninstall the bundle then reinstall may help. I will do the upgrade how you did it tomorrow (dev kit then studio then devkit) and see if I can replicate the error.
_________________
Remember to trust me, I am an Engineer.

http://www.youtube.com/watch?v=rp8hvyjZWHs

Post Fri May 18, 2012 6:12 pm 
 View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

Thanks. I will try to uninstall.

Edit: Good call, Sean. Atmel Studio 6 has just built the Pololu project that failed earlier.

Done building project "orangutan_app2.cproj".

Build succeeded.

Edit 2:Now I just need it to recognise the usb adaptor .
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Sat May 19, 2012 3:52 am 
 View user's profile Send private message
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

I cut and pasted this program into the studio http://www.robowars.org/wikka/PololuB328 but received this error message

Error 1 OrangutanMotors.h: No such file or directory C:\Users\parents\Documents\Atmel Studio\GccApplication2\GccApplication2\GccApplication2.c 17 29 GccApplication2

Other examples build correctly such as blink light. Any ideas?
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Sun May 20, 2012 5:13 am 
 View user's profile Send private message
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

quote:
Originally posted by Philip:
I cut and pasted this program into the studio http://www.robowars.org/wikka/PololuB328 but received this error message

Error 1 OrangutanMotors.h: No such file or directory C:\Users\parents\Documents\Atmel Studio\GccApplication2\GccApplication2\GccApplication2.c 17 29 GccApplication2

Other examples build correctly such as blink light. Any ideas?


You need to add the OrangutanMotors.h file to the project (you should have the library installed from the Pololu AVR Development Bundle).
_________________
https://www.halfdonethings.com/

Post Sun May 20, 2012 12:54 pm 
 View user's profile Send private message
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

Thanks. I had assumed that it went into the Atmel Studio during installation.

I have found the file. Do I just cut and paste it into the project before or after Steve's program?
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Sun May 20, 2012 1:30 pm 
 View user's profile Send private message
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

Would someone be willing to share their hex file of Marto's program for the B328, please? I can communicate with the board using the kkMulticopterFlashTool.
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Thu May 24, 2012 6:28 am 
 View user's profile Send private message
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

Just upgrading/tidying up my arduino environment and I'll generate a hex file for you
_________________
https://www.halfdonethings.com/

Post Thu May 24, 2012 9:34 am 
 View user's profile Send private message
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

http://dl.dropbox.com/u/18577553/B328_ESC.hex

PD4 and PD7 are the input channels and it has mixing.
_________________
https://www.halfdonethings.com/

Post Thu May 24, 2012 10:34 am 
 View user's profile Send private message
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

Thanks, Aaron.
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Thu May 24, 2012 5:54 pm 
 View user's profile Send private message
  Display posts from previous:      

Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 11 of 12

Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Last Thread | Next Thread  >
Powered by phpBB: © 2001 phpBB Group
millenniumFalcon Template By Vereor.