Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Running Arduino on Windows 98 on: December 10, 2007, 11:12:09 am
I haven't tried using version 0009.  I used 0010, and I just tried playing around with the driver settings to get the drivers working.

I'll download 0009 and I'll let you know if it works.  Thanks  smiley-grin

Edit:  Yes, it worked after I downloaded version 0009.  It worked just fine in Windows 98; there were a bunch of command prompt popups, but it is normal and it worked just fine.  It uploaded successfully.

Thanks smiley-grin
2  Forum 2005-2010 (read only) / Troubleshooting / Running Arduino on Windows 98 on: December 09, 2007, 03:13:24 pm
Hi,

I just recently tried running the Arduino IDE on Windows 98.  After installing the correct drivers, I keep getting the following error when I try to upload to the board:

Code:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7

avr-g++: _spawnv: No such file or directory
avr-g++: _spawnv: No such file or directory
avr-gcc: _spawnv: No such file or directory

Couldn't determine program size: C:\WINDOWS\Profiles\dad\Desktop\arduino-0010-wi
n\arduino-0010\hardware/tools/avr/bin/avr-size: 'C:\WINDOWS\Profiles\dad\My Docu
ments\Arduino\Blink2\applet\Blink2.hex': No such file

avrdude: can't open input file C:\WINDOWS\Profiles\dad\My Documents\Arduino\Blin
k2\applet\Blink2.hex: No such file or directory
avrdude: write to file 'C:\WINDOWS\Profiles\dad\My Documents\Arduino\Blink2\appl
et\Blink2.hex' failed

The files avr-gcc and avr-g++ are in there, and I made sure to save the code to the hard drive.  Is there anything else I can do to get the upload process working.

I am using the Arduino Diecimila.
3  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help, FAST (please) on: December 10, 2007, 05:40:45 pm
The ATMEGA168 chip I ordered arrived in the mail today.  I replaced it with the one in the Freeduino, and it works just fine.

This proves that it's a problem with the microcontroller chip itself and not the board.  However, I don't know how to actually fix the problem.

If you're willing to spend $5, you can order a new one to replace the one in your board.  As of the verification error, I don't know what to do about that, so I'll just hold onto it until there's a way for me to deal with it.
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help, FAST (please) on: December 06, 2007, 08:32:34 am
Quote
Anthony, what Freeduino board do you have?  Is it the KIT based board or the assembled prerelease board?

Hello.  It's an assembled Freeduino pre-release board; when I received it, it was the board alone with its own ATMEGA168, and it came with nothing else.
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help, FAST (please) on: December 05, 2007, 05:19:08 pm
I ordered a Arduino Diecimila board as a replacement; it worked with the Arduino IDE, which shows that it's a problem with my Freeduino.  I realized that I could also replace the ATMEGA168 chip for $5, and see if I can still use my Freeduino.

I should get it in the mail somewhere around next week, so I let you all know if it works; I'm sure it will, since the chip is basically the heart of the board, and I doubt that it's a problem with the Freeduino board itself that would just instantly pop-up.

The last thing I remember doing with my board is uploading code to operate an LED with a potentiometer, and I made a 9V battery adapter that works with the Arduino also.  I also kept unplugging and replugging the battery in, but I don't think that would cause a "Verification Error" over time.

Thank goodness that the ATMEGA168 chips are cheap. smiley-grin
6  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help, FAST (please) on: December 01, 2007, 03:04:08 pm
The same exact issue just happened to me.  I tried to upload the the first LED flash code from the tutorials, and I got a similar error (with a different address):

Code:
avrdude: verification error, first mismatch at byte 0x0042
         0x9d != 0xd0
avrdude: verification error; content mismatch

I'm using a Freeduino with the ATMEGA168 chip and there are no wires plugged into any pins.  It is being powered by the USB port.

I set upload.verbose = true, and I received more data that I could not understand; I could not fit all of it due to the character limit set on this post:

Code:
Reading | avrdude: Send: U [55] . [00] . [00]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
#####avrdude: Send: U [55] @ [40] . [00]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
######avrdude: Send: U [55] . [80] . [00]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
######avrdude: Send: U [55] . [c0] . [00]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
######avrdude: Send: U [55] . [00] . [01]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
#####avrdude: Send: U [55] @ [40] . [01]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
######avrdude: Send: U [55] . [80] . [01]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
######avrdude: Send: U [55] . [c0] . [01]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] . [80] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
######avrdude: Send: U [55] . [00] . [02]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Send: t [74] . [00] X [58] F [46]   [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
#### | 100% 0.85s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0042
         0x9d != 0xd0
avrdude: verification error; content mismatch
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: Recv:

avrdude done.  Thank you.

I stored the full text online at http://www.box.net/shared/774c65cjnc
7  Forum 2005-2010 (read only) / Exhibition / Re: 4 legs robot (12 servos) on: November 15, 2007, 12:25:23 pm
Great job.  It's a very amazing walking bot.  This shows that the Arduino can do just about anything with the right parts and code.  smiley
8  Forum 2005-2010 (read only) / Exhibition / Re: ArduCopter V1 Beta on: November 19, 2007, 11:27:37 am
You're English is very good; don't worry too much about translations; a picture is worth a thousand words, and we're excited to see a video if you ever get the time to do so.  That's an excellent helicopter you put together.  It's cool that people are coming up with complex ideas and getting them to work. smiley-grin
9  Forum 2005-2010 (read only) / Exhibition / Re: My work in progress on my rover robot on: November 19, 2007, 02:03:22 pm
Fascinating.  It's a very versatile design you made; cool!
10  Forum 2005-2010 (read only) / Exhibition / Re: wiimote firefighting robot on: November 26, 2007, 10:24:49 pm
That's awesome.  The sound it makes reminds me of a water sprinkler.
11  Forum 2005-2010 (read only) / Exhibition / My First Arduino on: November 20, 2007, 06:54:28 pm
Actually, it's a Freeduino based off the Arduino, but it's essentially the same and it works with the Arduino drivers and dev program.  Now that I got that over with...

Anyways, I have finished my first program.  It's the flash sketch, but I made some very simple modifications; it will only flash 5 times, and it uses Serial to print to the computer that it has flashed 5 times.  The LED I used is a flashing LED, so it flashes for a second instead of staying solid.  I have a good knowledge of Java and C programming, and I thought I should give this a try to learn more things about the electronics side.

Check it out; I hope to do more stuff whenever I get the time.


Code:
#define ledPin 13  // LED connected to digital pin 13
#define FLASHES 5  // How many times the LED will flash

void setup()
{
  Serial.begin(9600);           // Sets the baud rate to send serial data to my computer
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
  
  int i;
  for (i = 0; i < FLASHES; i++)
  {
    digitalWrite(ledPin, HIGH);   // sets the LED on
    delay(1000);                  // waits for a second
    digitalWrite(ledPin, LOW);    // sets the LED off
    delay(1000);                  // waits for a second
    Serial.println(i+1,DEC);      // print the amount of times it has flashed so far
  }
  
  //Print a sentence stating how many times it has flashed
  Serial.print("I am done flashing ");
  Serial.print(FLASHES,DEC);
  Serial.print(" times.");  
}

/*
  I'm not using the loop function below because I only want the program to run the code once :(
*/
void loop(){}
Edit:  After posting this, I later found a red LED and it worked like it should smiley-grin
12  Forum 2005-2010 (read only) / Exhibition / Re: Got my clone built and working on: November 15, 2007, 07:12:56 am
That is very amazing.  Good job    smiley
Pages: [1]