Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Monochron Graphics Speed
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Monochron Graphics Speed

by neutron spin on Mon May 03, 2010 10:25 pm

I noticed the speed of the Pong and Intruderchron graphics seems a little slow. When I burned the hex using AVR Studio on new chips I used the default clock speed for the MCU. I don't remember what it was set at when they were programmed. Would that slow down the graphics if the MCU clock was set too low? If so what should the recommended clock speed be set to? I am using the Atmel STK500 board and AVR Studio. As usual....thanks... :)
neutron spin
 
Posts: 163
Joined: Sat Apr 03, 2010 6:11 pm

Re: Monochron Graphics Speed

by adafruit on Tue May 04, 2010 10:29 am

look in the Makefile for the proper fuses

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Monochron Graphics Speed

by neutron spin on Tue May 04, 2010 12:03 pm

adafruit wrote:look in the Makefile for the proper fuses


Thank you....So if I used the Makefile that was created for the Monochron firmware and created the hex file and then burned the hex that would set the fuses to the proper values?...sorry if I am asking basic questions but a yes or no answer would suffice...thanks... :oops:
neutron spin
 
Posts: 163
Joined: Sat Apr 03, 2010 6:11 pm

Re: Monochron Graphics Speed

by adafruit on Tue May 04, 2010 1:44 pm

no you have to burn the fuses

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Monochron Graphics Speed

by FazJaxton on Tue May 04, 2010 2:22 pm

I have not used AVR studio recently, but for AVR Dude, fuse burning is a separate operation from writing the program flash. From the documentation, it looks like it's an option from the STK500 programming dialog. http://www.atmel.com/dyn/resources/prod_documents/doc1925.pdf. See the beginning of section 5.
FazJaxton
 
Posts: 59
Joined: Mon Sep 28, 2009 2:18 pm
Location: Kansas, USA

Re: Monochron Graphics Speed

by neutron spin on Tue May 04, 2010 3:01 pm

FazJaxton wrote:I have not used AVR studio recently, but for AVR Dude, fuse burning is a separate operation from writing the program flash. From the documentation, it looks like it's an option from the STK500 programming dialog. http://www.atmel.com/dyn/resources/prod_documents/doc1925.pdf. See the beginning of section 5.


Thank you...I am just getting up to speed with with programming these MCU's. There is a dialog box in the program that allows you to set fuse attributes. It probably is still set at the factory default clock value which I think is 8mhz with some divide by number...maybe 4?....I just sent the hex to the target and left all the other values at default numbers. Now I suppose I must check the Makefile and try to decipher what the clock speed fuse attributes are I guess and burn the correct fuse values. I really appreciate all the help.... :D
neutron spin
 
Posts: 163
Joined: Sat Apr 03, 2010 6:11 pm

Re: Monochron Graphics Speed

by neutron spin on Tue May 04, 2010 4:31 pm

All is well now...the speed of the graphics is looking great. The fuse settings were wrong and fixed by using the values in Makefile and reprogrammed and all is fine. Thanks to Ladyada and FazJaxton for taking the time to help...as I said before....I really do love this place!... :D
neutron spin
 
Posts: 163
Joined: Sat Apr 03, 2010 6:11 pm

Please be positive and constructive with your questions and comments.