Loading...
Pages: [1]   Go Down
Author Topic: programming the HEX file directly  (Read 298 times)
0 Members and 1 Guest are viewing this topic.
Nuri Erginer
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I saw that the arduino compiler genarates a hex code of my program. if I send that code without  the bootloader to atmega8 will it work correctly?

regards,
Nuri
Logged

Forum Administrator
Offline Offline
God Member
*****
Karma: 43
Posts: 616
I find plain exciting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi nuri

Yes you can just take the HEX file and burn it into the chip using either a serial programmer like the AVRISP or the STK500 but even using a super cheap parallel port programmer you can find here http://arduino.berlios.de/index.php/Main/ParallelProgrammer

hope this helps

massimo
Logged

Matt McDowell
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there a low-cost bootloading solution for Mac?  I see that the bootloader is included in 003, so I'm curious as to what the hardware options are.  If I use the AVRISP, can I use it with a USB>serial adapter?  Or if I build my own parallel programmer, can I get a USB>parallel adapter and use that?  Thanks!
Logged

Forum Administrator
Offline Offline
God Member
*****
Karma: 43
Posts: 616
I find plain exciting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

 I normally program the bootloader on my arduino boards using AVRISP and a keyspan USB-Serial adapter
works like a charm

btw any arduino board can be turned into an USB AVRISP programmer thanks to this software http://www.matwei.de/doku.php?id=en:electronics:usbisp

you just need to build the right cable

the code is written in C and requires some tweaking but an expert can do it

massimo
Logged

Pages: [1]   Go Up
Print
 
Jump to: