avrdude: ser_open(): can't open device "com4".

Status
Not open for further replies.

embedtronics

Newbie level 4
Joined
Mar 24, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,313
Hello,

I have read all the posts regarding this program but still I am unable to program my ATMega128 via USB. Please help as it is a matter of urgency!!! Thankyou..

PHP:
Creating load file for EEPROM: on_off1.eep
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 --no-change-warnings -O ihex on_off1.elf on_off1.eep || exit 0
c:\WinAVR-20100110\bin\avr-objcopy.exe: there are no sections to be copied!
avrdude -p atmega128 -P com4     -c stk500v2    -U flash:w:on_off1.hex 
avrdude: ser_open(): can't open device "com4": The semaphore timeout period has expired.


make.exe: *** [program] Error 1
 

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…