Pages: 1 [2]   Go Down
Author Topic: [solved] Changing CPU speed & boards.txt  (Read 4210 times)
0 Members and 1 Guest are viewing this topic.
Bristol, United Kingdom
Offline Offline
Newbie
*
Karma: 0
Posts: 23
ARGH dwee No!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In my experience, once you switch the fuse settings to an external crystal, if there is a problem with the external crystal, then the processor will not communicate through an ICSP.  Once the crystal issue was resolved everything worked.  Your experience sounds similar to mine but not identical.

Do you have anything connected to the board?

I did have, but I took it it all out to go 'back to basics'. I connected the 'L' LED, but that's all. (Aside from the crystal, of course)

Your point about the crystal is intersting. After I'd burnt the bootloader, I could upload Blink fine the first time. Then I changed the delay to 100ms (so that it would be obvious the program had definitely uploaded), and sometimes it would upload, sometimes it would give the verification error. I was never able to upload more than 2 programs without having to re-burn the bootloader.

It would be simpler if I were able to use the FT232 breakout I have... My first thought was that it's a problem with the timings, as maybe they're never 'syncing'?

I'll try another few crystals and double check the crystal setup and report back.

Thanks for the advice so far.
Logged

Tom

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12853
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

By "crystal" do you mean "crystal and capacitors"?
Logged

Bristol, United Kingdom
Offline Offline
Newbie
*
Karma: 0
Posts: 23
ARGH dwee No!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

By "crystal" do you mean "crystal and capacitors"?

I do!

So after all that, and all your help, it worked.

When uploading the bootloader it gave a verification error, yet I can upload programs absolutely fine.

Having uploaded and tested them, I can confirm that all functions to do with timing work fine. All I had to change was the cpu speed and upload speed, as suggested.

I've no idea why it wasn't working before, but it does now!

Thanks for all your help.

Logged

Tom

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12853
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm glad to know you have it working and thank you for the follow-up.
Logged

Pages: 1 [2]   Go Up
Jump to: