negativerad / eepe

Automatically exported from code.google.com/p/eepe
0 stars 0 forks source link

Avrdude error when using extra arguments #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add extra arguments in the configure window (my programmer is on com3 so I 
put "-P com3" in the Extra arguments line)
2. Try to read the eeprom or flash memory.
3.

What is the expected output? What do you see instead?
Avrdude exits with an error :

==========================================================================
Started AVRDUDE
C:/Program Files/eePe/avrdude.exe -c stk500 -p m64 -U eeprom:r:C:/Program 
Files/eePe/temp.hex:i -P com3
==========================================================================
avrdude.exe: ser_open(): can't open device " com3": Le fichier spécifié est 
introuvable.

==========================================================================
AVRDUDE done - exit code 1
==========================================================================

What version of the product are you using? On what operating system?
r85

Please provide any additional information below.
I think the reason of the error is that the extra arguments are added at the 
end of the command line.

Original issue reported on code.google.com by cry...@free.fr on 13 Oct 2010 at 9:54

GoogleCodeExporter commented 9 years ago
I just tried the following command line directly in Windows' command window 
(cmd.exe) and it works:

"C:/Program Files/eePe/avrdude.exe" -P com3 -c stk500 -p m64 -U 
eeprom:r:"C:/Program Files/eePe/temp.hex":i

So it really seems the problem is the position of the extra arguments.

Original comment by cry...@free.fr on 13 Oct 2010 at 9:59

GoogleCodeExporter commented 9 years ago
I've changed the argument location.
Can you try it on the latest version?

Original comment by erezra...@gmail.com on 13 Oct 2010 at 10:47

GoogleCodeExporter commented 9 years ago
Strange...
I still get the error message :

================================================================================
=
Started AVRDUDE
C:/Program Files/eePe/avrdude.exe -c stk500 -p m64 -P com3 -U 
eeprom:r:C:/Program Files/eePe/temp.hex:i
================================================================================
=
avrdude.exe: ser_open(): can't open device " com3": Le fichier spécifié est 
introuvable.

================================================================================
=
AVRDUDE done - exit code 1
================================================================================
=

"Le fichier spécifié est introuvable" means "file not found".

But it works in Windows' command line with this:
"C:/Program Files/eePe/avrdude.exe" -c stk500 -p m64 -P com3 -U 
eeprom:r:"C:/Program Files/eePe/temp.hex":i
I have to add the "" though.

Original comment by cry...@free.fr on 13 Oct 2010 at 11:06

GoogleCodeExporter commented 9 years ago
Ok, I found the problem...
When I put "-Pcom3" instead of "-P com3" in the extra argument line, it works. 
:)
That's weird though because the space isn't a problem when I use avrdude 
directly...

Original comment by cry...@free.fr on 13 Oct 2010 at 11:10

GoogleCodeExporter commented 9 years ago
Probably lost somewhere in the translation. I'll see what I can do.

Original comment by erezra...@gmail.com on 13 Oct 2010 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by erezra...@gmail.com on 13 Oct 2010 at 11:36