Offline
Sr. Member
Karma: 9
Posts: 279
|
 |
« Reply #15 on: December 22, 2012, 02:24:51 pm » |
Thank you! This will come in very useful.
I'm interfacing to a 128x64 GLCD and I could use more speed to display multiple spectrum bar graphs faster.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #16 on: December 22, 2012, 03:25:56 pm » |
If you want, you will find that most of them will run at 32Mhz @ 5v.
Pretty amazing.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #17 on: December 22, 2012, 04:38:52 pm » |
Hmm. Time to revisit my VGA output sketch. If I can get it to run that fast I could get somewhat higher resolution.
Does it get hot?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #18 on: December 22, 2012, 04:56:57 pm » |
Well that idea will have to wait. Don't have any 24 MHz crystals. Nor does my function generator output above 20 MHz.
Oh wait, found 5 x 24 MHz crystals on eBay for $1.41 + free postage. Kind of unbelievable but whatever. Worst I will do is lose $1.41.
|
|
|
|
|
Logged
|
|
|
|
|
Brebu
Offline
Full Member
Karma: 1
Posts: 242
New to Arduino
|
 |
« Reply #19 on: December 22, 2012, 05:27:53 pm » |
Hi Nick,
No it doesn't get hot at all. I test it now for 4 hours in a row and i found out that serial, adc conversion and eeprom read/write works well. No trouble so far. I've change one other board and put it to the test.
I will see in the morning if it goes well.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #20 on: December 23, 2012, 01:16:16 am » |
I ordered 100 x 20 MHz crystals for $5.69 as well. We'll see what happens with that one. 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #22 on: December 23, 2012, 02:33:13 am » |
Thanks Bill.
If the worst comes to the worst, they can become stocking-fillers next year.
"What, this, Dad?"
"It's a crystal, darling"
"Cool!"
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Full Member
Karma: 0
Posts: 219
|
 |
« Reply #23 on: February 03, 2013, 03:55:51 pm » |
Today I tried getting an ATmega328P-PU to work at 20MHz. I downloaded the optiboot.zip file and copied the contents to my optiboot folder (I'm using Arduino-1.0.3 on linux). I made the necessary changes to boards.txt. I then started the Arduino ide and selected the "GVI High Speed (5V-20MHz-250k Baud)" board. Burned the bootloader with an USBasp, uploaded without errors. I then hooked up my ftdi usb/serial converter to the board and tried uploading the blink sketch. But no luck, it can't get serial communication. I tried another ftdi usb/serial converter but I got the same error: avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding
Just to be sure I plugged the chip in another board with a 16MHz crystal. Bootloaded the Uno bootloader and uploaded a couple of sketches, no problems there, so the chip is fine.
When I try uploading a sketch the led on pin 13 blinks a couple of times. So can I assume that the bootloader is working?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #24 on: February 03, 2013, 04:28:07 pm » |
What is the entry for boards.txt for the board you selected? In particular, the upload baud rate?
Where did you get the bootloader which expects to run at 20 MHz?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #26 on: February 03, 2013, 07:20:39 pm » |
Hmm. Well I was getting strange error messages if I had a non-standard baud rate: avrdude: ser_setspeed(): tcsetattr() failed avrdude: ser_open(): can't set attributes for device "/dev/cu.usbserial-A900gcHm": Invalid argument ioctl("TIOCMGET"): Bad file descriptor avrdude: ser_close(): can't reset attributes for device: Bad file descriptor
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Full Member
Karma: 0
Posts: 219
|
 |
« Reply #27 on: February 04, 2013, 01:45:12 pm » |
I get this: Using Port : /dev/ttyUSB0 Using Programmer : arduino Overriding Baud Rate : 250000 avrdude: serial_baud_lookup(): Using non-standard baud rate: 250000 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding
Uploading sketches with the USBasp works.
|
|
|
|
|
Logged
|
|
|
|
|
Brebu
Offline
Full Member
Karma: 1
Posts: 242
New to Arduino
|
 |
« Reply #28 on: February 04, 2013, 01:45:48 pm » |
Did you change the xtal to a 20MHz one?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #29 on: February 04, 2013, 04:06:43 pm » |
would you not just change the crystal to a faster one? do you really need to change the code?
devobtch
|
|
|
|
|
Logged
|
|
|
|
|
|