Show Posts
Pages: [1] 2 3 ... 28
1  Using Arduino / Installation & Troubleshooting / Re: How to make the Arduino use the latest avrdude.conf file? on: January 13, 2014, 10:03:52 am
Well I found the avrdude.exe file and replaced it with the 6.0 (newest) verison and I'm still having issues uploading, although I am no longer getting the syntax errors.

This is a ATMEL328 chip on this board, I don't understand why it won't upload.
2  Using Arduino / Installation & Troubleshooting / How to make the Arduino use the latest avrdude.conf file? on: January 13, 2014, 09:02:49 am
The Arduino IDE version 1.5.5r2 uses the avrdude.conf file dated 2011-08-26, this is way old and does not support the latest 328 chip. (although it claims it does, I think it is "fooling" the IDE some how and not doing it properly as clone boards won't work)

The avrdude.conf file that does support the 328 is this file,
http://download.savannah.gnu.org/releas ... ingw32.zip

Which is dated 2013-10-18, however when replacing the old conf file with this conf file, the Arduino IDE pukes with systax errors. After closer examination of the two files there are differences causing these syntax errors.

I want to try and upload the sketch using the avrdude.exe but I'm not sure of the command line i need for the 328 chip. I believe this is because the Arduino IDE is still using an old version of the avrdude.exe instead of incorporating the latest version of that. Is there a way I can point the Arduino IDE to use the latest version of the avrdued.exe file?




3  Using Arduino / Installation & Troubleshooting / Re: Windows 8 cant find drivers on: September 15, 2013, 01:50:47 pm
Found it,

If you purchased your computer with win8 pre installed you must enter the BIOS by pressing F2 (asus laptop, could be F8 or Delete key on others) while the computer is starting up. Once in the bios disable the security boot.

Then follow the steps to disable driver sig enforcement.
4  Using Arduino / Installation & Troubleshooting / Windows 8 cant find drivers on: September 15, 2013, 01:03:24 pm
Can't get the arduino IDE to find any com ports with any arduinos.
When I try to install/update drivers I browse to the arduino/drivers folder and windows says there are no drivers for my hardware.

I tries all the steps here I could fined, including Disable driver signature enforcement.

I also downloaded and installed the Arduino version 1.5.4r - same thing.

anything else I can try?
5  Using Arduino / Installation & Troubleshooting / Re: Burning bootloader to Pro Mini on: August 21, 2013, 06:26:23 am
Try this:

http://www.gammon.com.au/forum/?id=11633

That doesn't use avrdude at all.

Your chip might be dead, what were you doing before it, er, died?

The chip came from someone else, I'm just trying to verify that the chip is dead - or needs a boot loader. I originally loaded the sketch about a year ago, so I know that it did work at one time. Knowing the track record of this person I would have to say +12 was applied to the wrong pin. However that usually just blows a pin hole in the top of the chip and renders that pin useless, but the chip still function as normal. This time however there is no pin hole and the chip simply does not respond to anything.


6  Using Arduino / Installation & Troubleshooting / Re: new Arduino, loop back test failed + not in sync errors on: August 20, 2013, 07:17:47 pm
What i'm trying to say is that i don't need to source my arduino from italy to get an arduino.

Ahh but that is where you are partly mistaken.
Can they duplicate it - sure. as you pointed out anybody can.
However that does not mean that they use comparable components and it defiantly does not mean the Chip is from Atmel. Even if it says that it is. They can be re-label.
https://www.sparkfun.com/products/retired/9831
https://www.sparkfun.com/news/364
https://www.sparkfun.com/news/395

Yes there are other compatible Arduino boards but if they are not an "official" Arduino Board than be prepared for frustration and failures. That's all CodingBadly is trying to tell you. It's buyer beware.
http://arduino.cc/en/Main/Products?from=Main.Hardware

If they replace it, then great! maybe they will replace that one too smiley-wink
7  Using Arduino / Installation & Troubleshooting / Re: Burning bootloader to Pro Mini on: August 20, 2013, 03:50:00 pm
Right, I've done that. same thing.
8  Using Arduino / Installation & Troubleshooting / Re: new Arduino, loop back test failed + not in sync errors on: August 20, 2013, 03:48:25 pm
Your chip is most likely dead, or does not have the Bootloader installed.
http://forum.arduino.cc/index.php?topic=183446.0;topicseen

9  Using Arduino / Installation & Troubleshooting / Re: Burning bootloader to Pro Mini on: August 19, 2013, 05:07:47 pm
Update.
Tried using the AVR pocket programmer and I get this error

avrdude: initialization failed, rc=-1

I'm going to say this chip is dead.
10  Using Arduino / Installation & Troubleshooting / Burning bootloader to Pro Mini on: August 19, 2013, 04:23:13 pm
Hello.
I have an Arduino Pro Mini, 5v that I think is bad.
I can no longer upload a sketch and it does not respond to anything, but the red power light lights up. There is no green flash of the LED tied to pin 13 on reset so was thinking maybe the bootloader got wiped.

Following these instructions, http://forum.arduino.cc/index.php?topic=136546.0

I am trying to use an Arduino to burn the bootloader. I get the following error

avrdude: stk500_getsync(): not in sync: resp=0x00

Which is the same error I get when trying to load a sketch. Anyone see this before? Is the Arduino dead?

Thanks

11  Using Arduino / Programming Questions / Re: nan (not a number) on: April 30, 2013, 07:08:04 am
OK, figured it out. The number is being pulled from the EEPROM, so on first load there is no number stored yet. Previous Arduino versions just displayed a 0.0 in the serial monitor, but now it displays a nan.

I tried testing it for a NULL but that don't work, so how do I test for a nan? I want to set a default value if there is nothing in EEPROM yet.

EDIT
Got it!

if(isnan(VALUE))
...

Works like a charm. smiley-wink

Thanks
12  Using Arduino / Programming Questions / Re: nan (not a number) on: April 29, 2013, 08:59:16 pm
It is a float value. Does it have to be grater than 0.0?

It needs to be the problem encountered in your code. If you cannot find the problem, then best you post the code.
Or just make it whatever you want and we can continue guessing.



I understand,
It works if I upload it with any other version of Arduino. So was hoping that maybe there was something specific I needed to look at based on what has changed in version 1.0.4

But, if I try to recreate it I may just find the issue my self smiley-wink

Thanks
13  Using Arduino / Programming Questions / Re: nan (not a number) on: April 29, 2013, 06:49:03 pm
Unfortunately I am not at liberty to post the file here

Then I suggest you create a test case that demonstrates the problem without revealing anything you aren't allowed to.

Good idea, let me see if I can re-create the issue and get back to you.

It is a float value. Does it have to be grater than 0.0?

14  Using Arduino / Programming Questions / nan (not a number) on: April 29, 2013, 05:14:29 pm
I have a file that has worked for the past 4 years and runs and compiles just fine up until version 1.0.4
The file still compiles under 1.0.4 but when loaded the serial port reports a "nan" instead of the expected number.
When loaded with 1.0.1 or earlier version of the IDE, it reports the correct number.

Unfortunately I am not at liberty to post the file here but if some one can point me in the right direction I can probably figure out what is happening. I assume maybe 1.0.4 implements some stricter rules for math.h? Or something like that and I have something that is not actually "right" but works. Should I look for a number that is being sent as a string maybe? (or visa-versa)

Thanks



15  Using Arduino / Programming Questions / Re: Strings, Char, and Arrays on: April 03, 2013, 10:01:39 pm
Have you learned pointers? It's easier if you know pointers before tackling strings because strings use pointers so much.


I have a basic grasp of pointers yes. My biggest issues is knowing where the pointer currently pointing smiley-eek-blue
Pages: [1] 2 3 ... 28