Pages: [1]   Go Down
Author Topic: Is it possible to upload arduino bootloader to atmega128?  (Read 1034 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Guys,
Is it possible to upload arduino bootloader to atmega128?
Which version of arduino should I use ?
I have UsbAsp, can I use it ? How ? I can only upload *.hex file directly from USBasp uploader, but not yet successful on uploading via arduino 1.5 IDE

how can I customize the pin out, as I like ?
which file should I ponder ?
I saw pin_arduino.h but I 'm not sure on how to configure it ??

Any references ?
thanks
« Last Edit: March 26, 2014, 01:04:55 am by bianchi » Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is it possible to upload arduino bootloader to atmega128?

Not unchanged but with some adaption this should be no problem.

Quote
Which version of arduino should I use ?

The latest stable, which is 1.0.5

Quote
I have UsbAsp, can I use it ? How ? I can only upload *.hex file directly from USBasp uploader, but not yet successful on uploading via arduino 1.5 IDE

You have to modify boards.txt and add an entry for your ATmega128 board there.

Quote
how can I customize the pin out, as I like ?

What do you mean by that? Changing the translation from the Arduino pin numbering to the actual ports?

Quote
I saw pin_arduino.h but I 'm not sure on how to configure it ??

You don't have to change it but to make a new variant, so create a new directory for your variant and copy pin_arduino.h there and modify that copy. You have to modify it according to the pinout you've chosen.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You have to modify it according to the pinout you've chosen.

How can I modify pin_out.h, is there any references ? thanks
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How can I modify pin_out.h, is there any references ?

In the variants directory there are many examples for the existing Arduino models, the reference for it is in the datasheet of the processor. If you mean that you're looking for a step-by-step guide, no, this doesn't exist, because such a task is nothing for a beginner and an experienced Arduino user doesn't need one.
Logged

Pages: [1]   Go Up
Jump to: