Go Down

Topic: Why? avrdude: can't find programmer id "null" (Read 5 times) previous topic - next topic

bAster.89

Sorry, I didn't read what I have written. I just copied the destination  of the directory C:/DOCUMENTS And SETTINGS/ÑÛÍ/Application Data/PREFERENCES.txt . I can't translate the ÑÛÍ - It's something unreadable (this is no such a word even in Russian)). But this is some folder in Documents and Settings.



If you'll find the solution, please, post it here, because, i still can't program my AVR...

ptool64ar

Right now, I'm trying to delete everything arduino from my computer, then I'll try reloading a fresh new arduino, and hope that it works.

Patrick

ptool64ar

bAster.89
Quote
Sorry, I didn't read what I have written. I just copied the destination  of the directory C:/DOCUMENTS And SETTINGS/ÑÛÍ/Application Data/PREFERENCES.txt . I can't translate the ÑÛÍ - It's something unreadable (this is no such a word even in Russian)). But this is some folder in Documents and Settings.

--------------------------------------------------------------------------------

If you'll find the solution, please, post it here, because, i still can't program my AVR...


Well, it didn't work.  I deleted everything arduino, then reloaded a new arduino, and gave it another try.  I'm no longer getting that message: "avrdude can't find programmer id "null".  This time I found the smaller Preferences.txt file in C:\Documents and Settings\Owner\Application Data\Arduino  Apparently, that file was not being downloaded the first couple of times that I downloaded Arduino-0012; I don't know why, but its absence must have been the cause of the "can't find programmer" error message.

However, I'm right back to where I was in the first place.  Now, I'm getting these two error messages: avrdude: STK500_get sync() not in sync: resp=0x86  AND  avrdude: STK500_disable(): protocol error, expect=0x14, resp=0x86.
I have no idea what they mean, or where to look for their cause.  Those errors are not mentioned in the troubleshooting pages.  I've read posts by others that had the same problems, but have never read of how anyone fixed them.  Of the ones that were fixed, it seems that most of them were fixed almost by accident, and nobody could explain how they were fixed..

It seems strange to me, that somebody, some software engineers, set up programs to detect errors, since these errors are detected by some software, somplace, and the engineered messages are automatically posted, but there seems to be no information on where the messages come from, what they mean or what causes them.  Obviously those error detection codes are deeply buried within tons of software and long forgotten.  Then I had to stumble across them.      
:(  :'(  ::)

Oh well, I guess I'll work on something else for a while.

Patrick

Collin80

Quote
It seems strange to me, that somebody, some software engineers, set up programs to detect errors, since these errors are detected by some software, somplace, and the engineered messages are automatically posted, but there seems to be no information on where the messages come from, what they mean or what causes them.  Obviously those error detection codes are deeply buried within tons of software and long forgotten.  Then I had to stumble across them.      
:(  :'(  ::)

Oh well, I guess I'll work on something else for a while.

Patrick


I also hate it when programmers are so lazy that they can test for an error condition and then still fail to actually tell the end user anything meaningful about the error. It is now 2009 there is no excuse at all for cryptic error codes. Having said that, the error message you are getting actually is reasonably descriptive. The problem is that it could be caused by a number of things and it's impossible for the program to know the exact cause.


At any rate, the errors you are seeing now are a result of a communications problem between the RBBB and the computer. If you have a different device to test you should try that. Also, be absolutely sure that you are using the correct port. For instance, if your arduino is hooked up to COM1 but you have COM2 selected then you'll get errors. Also, be sure nothing else is in the RX/TX path. I have a project that has a biometric scanner hooked up to the RX/TX pins on the arduino and I have to turn off the scanner so that it doesn't interfere or else I cannot program the arduino. If all else fails you could use an oscilloscope or logic probe to test what is going on with the signal between the RBBB and the computer.

ptool64ar

I got it working by using parallel programming.  At least I'll be able to use Arduino that way, which ain't so bad.
I used the "Parallel Port Programmer" described by Arduino; here: http://www.arduino.cc/en/Hacking/ParallelProgrammer
AND, Burning sketches to the Arduino board with an external programmer,  FIND THAT HERE: http://arduino.cc/en/Hacking/Programmer  This is done without a bootloader, so it says in that information page.

I'm sitting here looking at that blinking light, finally
I even modified, slightly, the blink program from a one second blink to a two second blink.  But , since the LED in the sketch uses the same port as the SCK port on the ATMEGA168, (one of the ports used by the parallel programmer) you will need to remove that LED before programming.  You can put it back in after the program is uploaded, and it blinks  :D ;D.  

You will need to make a couple of mods in  Preferences.txt file in C:\Documents and Settings\Owner\Application Data\Arduino , which is the (per-user local version of the pref. file) as the instructions state.(where it says: upload.using=bootloader, replace the word bootloader with the word parallel)

Here's something else, if you should use that homemade arduino programmer that pref. file doesn't include this statement: set the parallel port defaults (used if upload.programmer=dapa). That statement is in one of the main pref., default , files.  I copied it from the main pref. file, found in The "arduino-0012/lib", then inserted it in the smaller (per-user local version of the pref. file) I inserted that statement without the # in front of it.

OK, I gotta go, the LED's still blinking and I gotta get away from this computer for a while.
Patrick

Go Up