M64 removal - Refitting & putting it to work.

Cant get your radio to work? General Hardware issues?
Post Reply
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

M64 removal - Refitting & putting it to work.

Post by C.João »

Hi again, I just got my new M64 and new cristals, installed them, checked every little thing and tried to program my 9x.

I get this warning: avrdude.exe: warning: cannot set sck period. please check for USBASP firmware update

my old 9x programs, reads/writes no prob at all. this new one does not boot.
I got a perfect 16Mhz sine ware on the crystal output, I've got all voltages correct. I've removed the reset line capacitor (for testing at least) I've been wondering around the board and could not get to a solution. any thoughts? I've tried to reduce the programmer speed, no luck either

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: M64 removal - Refitting & putting it to work.

Post by Kilrah »

I get the same warning everytime but everything works fine. If shouldn't affect anything, it's just a question of the firmware on the usbasp.
Did you set the fuses with eepe/companion?

If there is an error, it should be somewhere else in the avrdude messages, please post the entire result.
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

I removed mi M64 with 4 big blobs of some heavy temp solder. heated all 4 sides alternating from end to end and pulled the M64 out.

re-soldering is easy as pie. I did drag soldering but that could be hard for newbies. the best solution is to use some no-clean solder flux or solder paste.

hope you don't have the same problem cos' mine does not work yet.
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: M64 removal - Refitting & putting it to work.

Post by Kilrah »

I did not replace a processor (yet). Next week if I receive my m128s by then :D

I was saying that the "warning: avrdude.exe: warning: cannot set sck period. please check for USBASP firmware update" is common, I have it everytime I flash my 9xs, and it should not cause trouble.

Doesn't that post belong in another thread by any chance?
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

that post was on the right thread. you were just to quick :P

I've checked the fuses. I write them anyway. I checked the voltages... I've been checking it all... I just can't find the problem...

C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

plus, It also oscillates at 16Mhz with a 'perfect' sine wave (low distortion)
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: M64 removal - Refitting & putting it to work.

Post by Kilrah »

Hmm... Are you sure you don't have a short somewhere between pins?
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

on the pins no. I've checked that with a lens and a meter (did 1 year SMD soldering for prototypes and another year soldering and reworking on a factory... I got a 400€ soldering station and lots of patience... I have a problem... but it is 'away' from the M64...
I don't know were to look.

I don't get any single glitch on any output of the M64. it simply does not start... My old radio does the same warning but programs/works perfectly...
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: M64 removal - Refitting & putting it to work.

Post by MikeB »

Have you programmed the fuse bits at all? The default for a new processor is to use the internal oscillator at 1MHz. Because of this, the fuses need to be programmed with quite a slow SCK on the programmer.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

I could try again with an external clock but... when I read the fuses over AVRdude (win AVR version) they are correct... I will try tonight and get back to this... that board will work. (part from that, no one stepped in to sell a new or old board... )
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

well... noting for trying with the external oscillator... I must take of the crystal in order to get the controller to "stop" and listen to my external clock...

will post again upon results.
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

read/write fuses on external osc: check.
flash firmware on external 1Mhz clock: check.
do all the same with onboard 16Mhz clock: check. (oscilating stable)

but got no boot... I can't get the problem... don't even know what to search now. I'm about to forget the stock PCB and try to buy other stock PCB.
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

on external 1Mhz clock I could clearly see data flowing to the LCD data lines
on 16Mhz I can't see... but could be a measuring problem.
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

on 16Mhz external clock I can clearly see data flowing into the LCD. still no signal of life. the LCD is "OK" (its a test-only LCD since it has broken/dead lines)

I'm checking the ppm lines ans schematic... I suspect I have a problem on the external LCD capacitors...
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

ppm signal out check (seems OK)

one LCD data line not OK, seems to be the problem... gonna try to solve... will report back soon.
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

broken resistors: check. finding spares... ongoing (I actually like talking/typing to myself) (ignoring timezone issues of course)
C.João
Posts: 147
Joined: Thu Jan 12, 2012 7:49 pm
Country: -

Re: M64 removal - Refitting & putting it to work.

Post by C.João »

3*10K resistors. one on the top side and 2 stacked on the down side. LDC with image. board fixed! to bad I did not find this before. I guess I needed some time sleeping and resting! now I do feel I'm on vacation. let the mods begin' no! let the mod continue :P
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: M64 removal - Refitting & putting it to work.

Post by jhsa »

Great, good that you fixed it..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “Hardware”