EmbDev.net

Forum: µC & Digital Electronics GM328 transistor tester MCU firmware update


Author: John M. (sdancer75)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Hi,

I bought a GM328 transistor tester that can't be calibrated. It stucks 
at the "short probes" stage. Anyway, I decided to update the MCU 
firmware.

I connected the ATMega328pu to my breadboard and I double checked the 
connections with my DMM. The AVRdude always return the following error :
D:\temp\GM328\EN>avrdude -pm328p -cUSBasp -B4 -Pusb

avrdude: set SCK frequency to 187500 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


I even tried to connect an external crystal but without luck. What seems 
to be wrong here? My OS is Win10/64Bit and AVRdude is v5.10

Regards,

: Moved by Moderator
Author: John Maverick (Guest)
Posted on:

Rate this post
0 useful
not useful
An 8Mhz crystal solved the problem!

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig