Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane
Building. _________________ So even the rain that falls isn't actually going to fill our dams and our river systems
Thu May 17, 2012 5:50 pm
seanet1310
Joined: 08 Nov 2006
Posts: 1265
Location: Adelaide
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.
Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane
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
Joined: 08 Nov 2006
Posts: 1265
Location: Adelaide
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.
Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane
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
Sat May 19, 2012 3:52 am
Philip Experienced Roboteer
Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane
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
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/
Sun May 20, 2012 12:54 pm
Philip Experienced Roboteer
Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane
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
Sun May 20, 2012 1:30 pm
Philip Experienced Roboteer
Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane
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
Thu May 24, 2012 6:28 am
Knightrous Site Admin
Joined: 15 Jun 2004
Posts: 8511
Location: NSW
Just upgrading/tidying up my arduino environment and I'll generate a hex file for you _________________ https://www.halfdonethings.com/
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