Hmm...Can you try the latest version please and delete the chip first ?
I had no corrupted files, but perhaps it helps to update. There were updates for SerialFlash, too.
Franks,
Thanks for replying.
I rebooted, erased and reloaded everything including SerialFlash.
I still see the same issue on the files copied back.
Interesting to note that the file sizes seem correct on the Teensy, it's only when copied back to the PC I see the file size change.
For fun I re-copied back the file I originally copied. The file size then stays the same.... weird.
C:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe eeprom -w foo
teensytransfer: Communication error
C:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe eeprom foo
teensytransfer: Communication error
C:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe eeprom -l
... { No Error, no output }
C:\tCode\libraries_not\TeensyTransfer\extras>teensytransfer.exe -l
teensytransfer: Communication error
C:\tCode\libraries_not\TeensyTransfer\extras>teensytransfer.exe -l eeprom
teensytransfer: Command not supported by device
C:\tCode\libraries_not\TeensyTransfer\extras>teensytransfer.exe -i eeprom
teensytransfer: Command not supported by device
C:\tCode\libraries_not\TeensyTransfer\extras>teensytransfer.exe -i
teensytransfer: Communication error
@Tim: "-i teensy" gives an communcation error, too ?
In one case (your post), there was no communcation error. At least something seems to work .) But i *really* have no idea whats wrong... i guess you've double/triple-checked that it uses the latest version of the library ? Did you change anything on the sketch ?
>and with the Teensy in a different USB2 port - also not the HUB I get the comm error.C:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -l
teensytransfer: Communication error
C:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -l
teensytransfer: no rawhid device found
@Wozzy, do you use windows or linux ?
@Wozzy, if you're using windows, can you try the attached file ? I have no idea if it works, but i've changed something on the filehandling of stdout.
@Wozzy Can you post the output of "teensytransfer -i teensy" please ? (does it work ? - maybe it helps to find Tims' problem..)
Model : Teensy 3.1/3.2 (MK20DX256)
Serial: 58289
MAC : 04:E9:E5:00:E3:B1
EEPROM: 2048 Bytes
F_CPU : 120000000 Hz
F_PLL : 120000000 Hz
F_BUS : 60000000 Hz
F_MEM : 24000000 Hz
ID : EF 40 17
Serial: D1 65 38 25 47 46 4A 2D
Size : 8388608 Bytes
116080 scream.wav
26826 boards.txt
54892 COPYboards.txt
If that does not work, i'll need help to make it work... (and to be able to reproduce the problem. the files look like windows ist outputting to stdout in a 16bit mode on Wozzy's system)
The sourcecode of ttransfer is on github (and yes..it's very simple)..but for any pullrequests, please keep in mind that it must work for win, linux and mac
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i
teensytransfer: Communication error
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i teensy
teensytransfer: Communication error
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i teensy
teensytransfer: Communication error
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i eeprom
teensytransfer: Command not supported by device
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i eeprom
teensytransfer: no rawhid device found
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i eeprom
teensytransfer: Command not supported by device
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i teensy
Model : Teensy 3.1/3.2 (MK20DX256)
Serial: 46703
MAC : 04:E9:E5:00:B6:6F
EEPROM: 2048 Bytes
F_CPU : 96000000 Hz
F_PLL : 96000000 Hz
F_BUS : 48000000 Hz
F_MEM : 24000000 Hz
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -l
teensytransfer: Communication error
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -i teensy
Model : Teensy 3.1/3.2 (MK20DX256)
Serial: 125347
MAC : 04:E9:E5:01:E9:A3
EEPROM: 2048 Bytes
F_CPU : 96000000 Hz
F_PLL : 96000000 Hz
F_BUS : 48000000 Hz
F_MEM : 24000000 Hz
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -l
teensytransfer: Communication error
I:\tCode\libraries\TeensyTransfer\extras>teensytransfer.exe -e
teensytransfer: Communication error
I'v tested it with 24..120MHZ optimized and un-optimized. Does it work if you use the hex-file ?
It should print some info about the flash chip
..but I don't want to spam this thread with this topic!
C:\Users\Kurt\Documents\Arduino\libraries\TeensyTransfer\extras>teensytransfer.exe -i
ID : EF 40 17
Serial: D1 65 38 25 47 2E 0B 21
Size : 8388608 Bytes