-
Notifications
You must be signed in to change notification settings - Fork 26
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
Problem in HVPP mode with atmega8 #5
Comments
OK, I've managed out it to work.
But this doesn't matter as now with correct fuse bits I'm able to read and write flash with usual ISP. |
Hello, I've compiled sketch of ScratchMonkey with latest Arduino IDE (1.8.3) and loaded up it to Arduino Mega 2560 R3 (original, not chinese version). Connected all like in Target Connection Diagram from https://microtherion.github.io/ScratchMonkey/Connection.html (used ATmega328 diagram, mine is ATmega8, but pins match). 12V source is 12V 1.5A power unite of TP-LINK router connected to external power connector of Arduino. Vin connected as in High Voltage Programming diagram (https://microtherion.github.io/ScratchMonkey/img/external.png) through BC547C transistor.
Command line of avrdude is:
-c stk500pp -p m8 -P COM9
Output:
All fuses reads as 0x04:
If I add force (-F) key and do dump - it looks normal (although I don't remember what where on that mega8, but it looks normal at least at start, at end it goes like repeated sequence
00 FF 01 FF 02 FF 03 FF 04 FF 05 FF 06 FF 07 FF
till theF8 FF F9 FF FA FF FB FF FC FF FD FF FE FF FF FF
)I can't erase and write to flash. avrdude reports that write or erase is OK, but during verification it throws error and when I read flash after that - it has same contents.
What does it mean? What could be wrong?
P.S. If I compile ScratchMonkey with Arduino IDE 1.0.5 it doesn't respond to avrdude at all and continuously output some trash to COM port (TX led blinking all time).
The text was updated successfully, but these errors were encountered: