Pages: [1]   Go Down
Author Topic: Hex file from Arduino to at90usb1287  (Read 474 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hei,

I was just wondering if i could just use Arduino IDE and libraries to compile the code and then take the .hex file and write it to my CPU using FLIP.

What would be problems when i would try to do this?

I found this http://www.instructables.com/id/Arduino-on-all-sorts-of-Atmels/#step1 when googeling and with the core files from http://www.avr-developers.com/ i should be able to use arduino as ISP. But thats not really what i want. I want to use Atmels bootloader what comes with the chips.

Best regards.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 203
Posts: 8722
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The hard part is that the Arduino IDE puts the .hex file in a random temporary folder.  If you turn on verbose messages for upload you will get to see the avrdude command that includes the full path to the .hex file.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So there wont be any problems with not having Arduino bootloader on the chip?

Logged

Rapa Nui
Offline Offline
Edison Member
*
Karma: 60
Posts: 2066
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using IDE without the bootloader - using a programmer for flashing the .hex files.
Add for example:
build.path=C:\Arduino\Myhex\build.folder
to your "preferences.txt"  - and you will find the .hex files there..
p.
Logged

Offline Offline
Sr. Member
****
Karma: 7
Posts: 277
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If it has to be a at90usb1287 so be it. However if a at90usb1286 also would work for your application you may be better off getting a Teensy++ http://www.pjrc.com/teensy/index.html with the  Teensyduino add-on to the Arduino IDE.

Another "if" would be if you need the formfactor of an Arduino board.
Logged


Pages: [1]   Go Up
Jump to: