[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #39230] error parsing update
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #39230] error parsing update |
Date: |
Tue, 11 Jun 2013 15:32:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?39230>
Summary: error parsing update
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Tue 11 Jun 2013 03:32:16 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: M. Ray Burnette
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Version: Version 5.11-Patch#7610
Environment: Windows VistaSP2
Appears that the Windows environment variables in the form of %variable% do
not work consistently with AVRDUDE.
Example: using %temp%
Specific issue: Reading contents of chip works but writing binary to the chip
fails with a parsing error.
Manual Workaround: Removing the drive letter "C:" from the %temp% resolution
allows the command to complete without error.
Desired behavior: for command files, consistent parsing of the %path% variable
is required
>echo %temp%
C:\Users\owner\AppData\Local\Temp
>
WORKS ========================
>avrdude -c arduino -P com9 -p ATMEGA328P -b 19200 -U
eeprom:r:%temp%\backup_eeprom.bin:r
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: reading eeprom memory:
Reading | ################################################## | 100% 6.57s
avrdude: writing output file
"C:\Users\owner\AppData\Local\Temp\backup_eeprom.bin"
avrdude: safemode: Fuses OK
avrdude done. Thank you.
DOES NOT WORK=========================
>avrdude -c arduino -P com9 -p ATMEGA328P -b 19200 -U
eeprom:w:%temp%\backup_eeprom.bin
avrdude: invalid file format
'\Users\owner\AppData\Local\Temp\backup_eeprom.bin' in update specifier
avrdude: error parsing update operation
'eeprom:w:C:\Users\owner\AppData\Local\Temp\backup_eeprom.bin'
WORKS==========================
>avrdude -c arduino -P com9 -p ATMEGA328P -b 19200 -U
eeprom:w:\Users\owner\AppData\Local\Temp\backup_eeprom.bin
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: reading input file
"\Users\owner\AppData\Local\Temp\backup_eeprom.bin"
avrdude: input file \Users\owner\AppData\Local\Temp\backup_eeprom.bin auto
detected as raw binary
avrdude: writing eeprom (1024 bytes):
Writing | ################################################## | 100% 52.92s
avrdude: 1024 bytes of eeprom written
avrdude: verifying eeprom memory against
\Users\owner\AppData\Local\Temp\backup_eeprom.bin:
avrdude: load data eeprom data from input file
\Users\owner\AppData\Local\Temp\backup_eeprom.bin:
avrdude: input file \Users\owner\AppData\Local\Temp\backup_eeprom.bin auto
detected as raw binary
avrdude: input file \Users\owner\AppData\Local\Temp\backup_eeprom.bin contains
1024 bytes
avrdude: reading on-chip eeprom data:
Reading | ################################################## | 100% 6.58s
avrdude: verifying ...
avrdude: 1024 bytes of eeprom verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?39230>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #39230] error parsing update,
anonymous <=