[AVR] How to program AVR uCs without Arduino IDE but using Arduino as ISP?

Status
Not open for further replies.

Pero2912

Junior Member level 1
Joined
Nov 17, 2013
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
131
So, basically I need very fast solution cause I have no time to wait for real programmer, as USBtiny. I have Arduino Duemillanove and I know I can use it as an ISP. I already used it to burn the arduino bootloader on my Atmega8.

The problem is, I have a source code in c++ that needs to end up on Atmega8. Normally, I'd use an Arduino IDE and ISP funcionality, but it doesn't work - for some reason Arduino IDE doesn't compile my c-code. The code has some old avr/eeprom.h library that contains functions which ArduinoIDE doesn't recognize. I was thinking of using WinAVR for compiling and avrdude and Arduino to program it. Does anyone think that could work? Did anyone had some experience with it?

Best regards,

Pero
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…