-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EE-Prom data falsified by mySmartUSB Progammer #1716
Comments
Avrdude is most likely using an older avrdude.conf file that contains errors. |
@MartinKES Are you using Arduino As ISP as the programmer? Please use avrdude 7.3 release and |
Question to @MCUdude: An older Update: Looks like the latter, going by @mcuee's reply. |
In version 7.3 the same result with arduino_as_isp:
|
A newer Avrdude executable is being used with an older avrdude.conf file, most likely bundled or built for an older Avrdude version.
Can you please share the entire output, including the command you ran? It's impossible to say what's going on here. From what I know, the baud rate is incorrect. But that's impossible for me to know because you didn't include the Avrdude command. |
|
In this case, your programmer is not "Arduino as ISP", but rather using Please follow the FAQ here when reporting an issue. Thanks.
|
It was you that suggested
@MartinKES how can you be sure that the actual EEPROM values stored at addresses 8 and 9 should be 0? What makes you think Avrdude reports incorrect data? |
|
I was asking whether he was using |
My programmer is mySmartUSB (www.myAVR.de) light. |
Output from atprogram --> JTAG-Ice: |
Output from atprogram --> mySmartUSB light: |
Can you try to read the EEPROM using -U? Like so:
|
avrdude: processing -U eeprom:r:-:i |
The good thing is that you have another programmer Atmel ICE and confirms that there is an issue here. Now there could be two possibilities.
We need to check official STK500v2 now to which one is true. @MCUdude |
I have a STK500 (very old) on my desk. so please wait on hour |
Sorry RS232 defect on STK500 |
I have found a AvrISP with serial link C:\Daten\Test\AvrDude\V7_3>avrdude -p c128 -c stk500v2 -P\.\com5 -t avrdude> dump ee 0 128 Its oll Ok - so my SmartUSB Programmer should be the Problem Sorry for the inconvenience |
Thanks for confirming. It's difficult for us to find out what the issue might be, but it's interesting that it works when using atprogram. As a last test, can you post the entire output of
when using the programmer that reported incorrect data (mySmartUSB), and the programmer that did report correctly (AVRISP with serial link)? The command above has |
Done with AvrISP (serial):
|
Please do the same with your SmartUSB Programmer. There might be a way to support your programmer if we can differentiate the two in terms of USB VID/PID and the firmware differences when reading the EEPROM. Edit to add: Also your |
@MartinKES It looks like your shell doesn't line single quotes. can you try with double quotes instead, for both programmers?
|
@MartinKES
|
Done with AvrDude 7.3 --> mySmartUSB light
|
@mcuee |
I see, Then it is clear that the issue is with |
Since myAVRProgTool works fine, if you really want to get your programmer working with avrdude, you probably have to reverse engineering the FW differences between official STK500v2 and Probably not really worth the effort since you have other well supported programmers with avrdude. |
Change the title so that it is easier for future references. |
What is a good alternative for a programmer (USB to ISP) without drivers? |
There is no such thing as "without drivers" for Windows. Rather you want to use built-in drivers like WinUSB or USB HID. Cheap and good one: well supported by avrdude: USBASP |
Ok – like the good old AvrIsp (STK500, RS232) interface. For USB a UART-Interface (PL2303, FTDI, …) is enough.
Thanks
Martin
|
Using a AT90CA128 on a interactiv Session: "avrdude -c stk500 -p AT90CAN128 -P \.\com9 -t"
Readout offset 8, 9 are always 0xFF but should be 0
The text was updated successfully, but these errors were encountered: