bugAVR Downloader/UploaDEr - Bugs: bug #44248, trunk version doesn't work with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44248: trunk version doesn't work with ch340g in linux

Submitter:  None
Submitted:  Sat 14 Feb 2015 04:56:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  neeo
Originator Email:  -email is unavailable- Open/Closed:  Open
Release:  None Programmer hardware: 
Device type: 

Mon 13 Jul 2015 09:20:42 AM UTC, comment #1: 

This behaviour was introduced by patch #8380, in SVN revision 1351.

I've run into the same issue trying to use an STK500 with a Linux laptop, as none of my USB-serial converters support these ioctls either.

Jon Escombe <jescombe>
Sat 14 Feb 2015 04:56:30 PM UTC, original submission:  

There're lots of arduino clones using ch340g usb converter - which uses ch341 linux driver. However latest (newer than 6.0.1) avrdude doesn't get serial settings from these devices (with error "Cannot get serial port settings").

The function ser_setspeed tries to get settings using ioctl(fd->ifd, TIOCGSERIAL, &ss) - unfortnatelly the ch341 (nor the ch34x from the chipset vendor) doesn't implement any ioctls.

avrdude 6.0.1 (and older) doesn't do all the ifdef magic for different OS, and it works as expected.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jescombe (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code