Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

No response from meg640

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR
View previous topic :: View next topic  
Author Message
nisse

Bascom Member



Joined: 14 Dec 2006
Posts: 50

sweden.gif
PostPosted: Wed Apr 09, 2014 9:53 pm    Post subject: No response from meg640 Reply with quote

Hi
I have a meg640 that has been working fine untill just now.
I was programming it from Bascom with a USB-ISP programmer when downloading suddenly slowed down. It finished, but in more than double the normal time.
After this the chip doesn't work, I don't even get any response when trying to reprogram it, no chip ID, nothing but unknown chip FFFFF.
The programmer works, tried it with other chips. The meg640 is run from an external clock.
I suspect a fuse bit or two got messed up... Sad
Any ideas on how i can solve this?
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Thu Apr 10, 2014 10:03 pm    Post subject: Reply with quote

it is simple to solve : connect a clock signal (for example oscillator output from a working avr circuit) to the xtal input. Look in the pdf to see which pins server as input and output.
then change the fuse bytes to the proper value.

some times pulling the usb cable and plug it again can help too. when you use the jumper to power the circuit you need to take care not to draw too much current from the usb port.

_________________
Mark
Back to top
View user's profile Visit poster's website
nisse

Bascom Member



Joined: 14 Dec 2006
Posts: 50

sweden.gif
PostPosted: Fri Apr 11, 2014 6:32 am    Post subject: Reply with quote

Thanks Mark, but its already running from an external oscillator Sad
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Fri Apr 11, 2014 8:58 am    Post subject: Reply with quote

but is that external osc still working ?
and does the programmer still work ?

_________________
Mark
Back to top
View user's profile Visit poster's website
nisse

Bascom Member



Joined: 14 Dec 2006
Posts: 50

sweden.gif
PostPosted: Fri Apr 11, 2014 10:26 am    Post subject: Reply with quote

yes
yes
Guess I have to get the 0.4mm solder iron out and replace that AVR Sad
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1257
Location: SYDNEY

australia.gif
PostPosted: Sun Apr 13, 2014 11:42 pm    Post subject: Reply with quote

Hello nisse

Have you tried a 1Mhz clock to the AVR others have noted that this has worked

Regards Paul
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum