EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / avrdude: ser_open(): can’t open device “com4”:

avrdude: ser_open(): can’t open device “com4”:

|

Miscellaneous › Others › avrdude: ser_open(): can’t open device “com4”:

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 4 months ago by AJISH ALFRED.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 8, 2014 at 3:04 am #2928
    Chunky
    Participant
    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..
     
    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-20100110binavr-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
     
    March 19, 2014 at 1:49 pm #11338
    AJISH ALFRED
    Participant

    Hi,

    If you are using windows, go to control panel >> device manager and check whether your device is properly listed there as com4. If it is not com4 change the port number accordingly in the avrdude.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise