Michigan, US
Offline
Full Member
Karma: 3
Posts: 148
Go Huskies
|
 |
« Reply #15 on: September 11, 2010, 08:28:44 pm » |
Got the 1284p working requires updating the included avrdude on 18 though haven't tried 19 yet see here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1273415167Uses the sanguino core
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 87
It's Electric
|
 |
« Reply #16 on: September 11, 2010, 09:33:13 pm » |
Using the modified code mdmetzle provided should do the trick?
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #17 on: September 14, 2010, 03:21:09 pm » |
Mark S. Do you have links to these?
Very nice work on all of them.
Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Full Member
Karma: 2
Posts: 213
Arduino rocks
|
 |
« Reply #18 on: September 14, 2010, 09:13:50 pm » |
Anyone know about the 1284P? The 1284P is used in the Pololu controller http://www.pololu.com/catalog/category/86I have it fully working with Arduino including bootloader. There usb driver is NOT compatible with the Mac, but I was able to connect directly to the RX0/TX0 pins with an ftdi cable and it worked fine. Mark
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Full Member
Karma: 2
Posts: 213
Arduino rocks
|
 |
« Reply #19 on: September 14, 2010, 09:19:40 pm » |
I have an updated list of cpus working with the core files
I will get it documented and post the code soon
at90can128 passed 4de4 16000000L arduino_at90can128 at90can32 passed 4d6a 16000000L arduino_at90can32 at90can64 passed 4d6a 16000000L arduino_at90can64 at90usb1286 passed 56c0 16000000L arduino_teensypp2_ser at90usb1287 passed 5606 16000000L arduino_at90usbkey at90usb162 passed 3566 16000000L arduino_at90usb162 at90usb646 passed 55a2 16000000L arduino_at90usb646 at90usb647 passed 54fa 16000000L arduino_at90usb647 atmega8 passed 1ed0 16000000L atmega8 atmega16 passed 2ec6 8000000L arduino_atmega16 atmega32 passed 456e 16000000L arduino_penguino_avr atmega32u4 passed 4efa 16000000L arduino_teensy2_ser atmega64 passed 4b40 8000000L arduino_cerebotii atmega88p passed 1fe2 16000000L atmega88 atmega128 passed 532c 14745600L arduino_amber128 atmega165 passed 3048 8000000L arduino_atmega165 atmega165p passed 3048 8000000L arduino_digilent_explorer atmega168 passed 2f34 16000000L atmega168 atmega169 passed 3a1c 8000000L arduino_butterfly atmega324p passed 4c84 20000000L arduino_gator atmega328p passed 4888 16000000L atmega328 atmega644 passed 4840 16000000L arduino_duino644 atmega644p passed 4bb4 16000000L arduino_duino644p atmega645 passed 391e 16000000L arduino_illuminato atmega1280 passed 592e 16000000L mega atmega1281 passed 52cc 16000000L arduino_wiring1281 atmega1284p passed 4e8a 20000000L arduino_1284p atmega2560 passed 5934 16000000L mega2560stk500v2 atmega2561 passed 52bc 16000000L arduino_android2561_16 atmega3290p passed 39d6 16000000L arduino_atmega3290p atmega8515 passed 1e6e 16000000L arduino_atmega8515 atmega8535 passed 1e6c 16000000L arduino_atmega8535
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #20 on: September 14, 2010, 11:52:01 pm » |
Wow, that's quite a list Mark. You have made a great contribution to the Arduino world, thanks.  Lefty
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #21 on: September 15, 2010, 01:04:49 am » |
Are these just on 16Mhz?
Have you done any testing on the ATmega644 at 20Mhz for example? As I uncderstand it, it is normally only minor changes to get that to work too.
Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10153
|
 |
« Reply #22 on: September 15, 2010, 01:29:24 am » |
Are these just on 16Mhz? I suspect the fourth column in the table is the processor speed.
|
|
|
|
|
Logged
|
|
|
|
|
NZ
Offline
Sr. Member
Karma: 0
Posts: 376
Turtle in a hard shell
|
 |
« Reply #23 on: September 15, 2010, 02:40:38 am » |
In regards to the speeds, are these mods done in the individual bootloader for that chip etc, or are they done in some base files for the Arduino IDE? The reason I ask is, if I have a project which uses say 5 processors, and I want to use the main one at 20Mhz but the other 4 at 16Mhz, am I going to have to modify the arduino IDE files in some way each time I want to program the 20Mhz and change it back to program the 16Mhz ones?
Great work on the above guys
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #24 on: September 15, 2010, 02:40:47 am » |
Ahh yes I see.
Some processors need to be sorted for 20Mhz too then.
Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #25 on: September 15, 2010, 02:44:46 am » |
am I going to have to modify the arduino IDE files in some way each time I want to program the 20Mhz and change it back to program the 16Mhz ones?
There needs to be some modifications for different speeds. You have to program them using a different core file if they are different speeds or else the basic fuctions (delays etc) will not work corrently at the new speed. Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Full Member
Karma: 2
Posts: 213
Arduino rocks
|
 |
« Reply #26 on: September 15, 2010, 04:20:37 pm » |
The only changes that need to be made is the F_CPU speed setting. This is done in the MAKEFILE for the bootloader and in boards.txt for each cpu. The core file take care of the cpu speeds from that. No changes required. I did have a problem with the the F_CPU=14.7456, some of the macros needed to be changed else it drifted 20 minutes in 8 hours. I have a new web page with all of this stuff. I should have my core files up there later tongiht http://www.arduino-avr.com/The reason I ask is, if I have a project which uses say 5 processors, and I want to use the main one at 20Mhz but the other 4 at 16Mhz, am I going to have to modify the arduino IDE files in some way each time I want to program the 20Mhz and change it back to program the 16Mhz ones?
WanaGo, the ONLY thing you would have to do is to create a new entry in the "boards.txt" file that has the CPU SPEED changed to 20 mhz, the core files take care of the rest. You would just have to select which ever "board" you are currently using. If anyone knows of other boards or CPUs that are available, let me know and I will add them to my test suite. Mark
|
|
|
|
« Last Edit: September 15, 2010, 04:32:46 pm by msproul »
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #27 on: September 15, 2010, 04:33:01 pm » |
Looks great.
That 3920 with LCD driver looks cool.
Mowcius
|
|
|
|
« Last Edit: September 15, 2010, 04:33:18 pm by mowcius »
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #28 on: September 15, 2010, 07:51:28 pm » |
Mark; Does the location instructions from the following playground information for 3rd party processors apply? Third-Party Hardware Support for third-party hardware can be added to the hardware directory of your sketchbook directory. Platforms installed there may include board definitions (which appear in the board menu), core libraries, bootloaders, and programmer definitions. To install, create the hardware directory, then unzip the third-party platform into its own sub-directory. (Don't use "arduino" as the sub-directory name or you'll override the built-in Arduino platform.) To uninstall, simply delete its directory. [glow]We would use a arduino folder name for your files here, correct?[/glow]
For details on creating packages for third-party hardware, see the platforms page on the Google Code developers site.
|
|
|
|
« Last Edit: September 15, 2010, 08:02:28 pm by retrolefty »
|
Logged
|
|
|
|
|
NZ
Offline
Sr. Member
Karma: 0
Posts: 376
Turtle in a hard shell
|
 |
« Reply #29 on: September 15, 2010, 08:00:11 pm » |
Brilliant thanks, thats what I needed to know
|
|
|
|
|
Logged
|
|
|
|
|
|