Go Down

Topic: Hex file from Arduino to at90usb1287 (Read 551 times) previous topic - next topic

soend

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.

johnwasser

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.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

soend

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


pito

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.

Headroom

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.
http://trippylighting.com

http://ledshield.wordpress.com/

Go Up