CDC+CDC atmega32u4

30 views
Skip to first unread message

Eric

unread,
Apr 2, 2020, 6:35:39 AM4/2/20
to LUFA Library Support List
Hi,
i want to open two CDC port in atmega32u4, what are changes i need to do in Descriptor and other files, thanks for any help.
-Eric

Andrey Kraynev

unread,
Apr 3, 2020, 9:03:00 PM4/3/20
to Eric
Hello Eric,

Wednesday, April 1, 2020, 9:34:05 PM, you wrote:

> X-Yandex-FolderName: Spam
> Received: from mxfront5q.mail.yandex.net (localhost [127.0.0.1])
> by mxfront5q.mail.yandex.net with LMTP id m7Me5gp8c1-oCOpEWqA
> for <vlad...@yandex.com>; Thu, 02 Apr 2020 13:35:41 +0300
> Received: from mail-qt1-x83a.google.com (mail-qt1-x83a.google.com [2607:f8b0:4864:20::83a])
> by mxfront5q.mail.yandex.net (mxfront/Yandex) with ESMTPS id ZGVf5k6Hj8-ZeC43g42;
> Thu, 02 Apr 2020 13:35:40 +0300
> (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
> (Client certificate not present)
> Return-Path:
> lufa-support+bncBC4OBLN...@googlegroups.com
> X-Yandex-Front: mxfront5q.mail.yandex.net
> X-Yandex-TimeMark: 1585823740.956
> Authentication-Results: mxfront5q.mail.yandex.net; spf=pass
> (mxfront5q.mail.yandex.net: domain of googlegroups.com designates
> 2607:f8b0:4864:20::83a as permitted sender,
> rule=[ip6:2607:f8b0:4000::/36])
> smtp.mail=lufa-support+bncBC4OBLN...@googlegroups.com;
> dkim=pass header.i=@googlegroups.com
> X-Yandex-Suid-Status: 4 121586759
> X-Yandex-Spam: 4
> X-Yandex-Fwd: MTE3NTYyMzIxMjA1MDMxNzgzMSw2NTMzMjA0OTMxNjUxNzU3MTgz
> Received: by mail-qt1-x83a.google.com with SMTP id x3sf2710662qtv.10
> for <vlad...@yandex.com>; Thu, 02 Apr 2020 03:35:40 -0700 (PDT)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
> d=googlegroups.com; s=20161025;
> h=sender:date:from:to:message-id:subject:mime-version
> :x-original-sender:reply-to:precedence:mailing-list:list-id
>
> :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
> bh=Wu6H/WR2/sW8ELqECpo2qmsGLRw1oNQCBDLf/WmP8M8=;
>
> b=TQPAQdzVx6HWJdnM4aeywnwr0xITvpCWDhLv49LBNnEKVSx+VVTMngbIh1MRTcZAZN
>
> SdRlWbukvtfEQTGRTWg1Ni9ZTGo2bdW5I8rpU3xqXmHixlfZfzMxd1VLjk+kJt899F6a
>
> SDbJGKyYW2u5RK2pXfTcyo2yVLuwWP3CwiV7ZC4C6cX7MMug36F1dP+hK9tYOXycGQoN
>
> IS9Os65+oloQz0Vbgy3HWDZ4s27tysf/zVDhPSE1ATQK0bDIJimYrBu8qJ6z80yECGbL
>
> uT8XezHECrWnZRQBwAp2EGdNbuLDq51Rhdaip0zNrRmjvDoRIJJ1chRapxVay+tUWOQA
> 6cHw==
> X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
> d=1e100.net; s=20161025;
> h=sender:x-gm-message-state:date:from:to:message-id:subject
>
> :mime-version:x-original-sender:reply-to:precedence:mailing-list
> :list-id:list-post:list-help:list-archive:list-subscribe
> :list-unsubscribe;
> bh=Wu6H/WR2/sW8ELqECpo2qmsGLRw1oNQCBDLf/WmP8M8=;
>
> b=hHlw0NOwEZw/A2sXHm07iRP3JrWBVBbDDxaOOR8GpFRm86FsA85j/NIJ/0mVQ4xicK
>
> 0YE1MZgJ58qveWuN35czd5u1FJgq0EM558aCOrpH7iiA1R4HupFCY5JnBICQFHA3f3Pr
>
> oB5HzQ8+3OXadn4a3xtjGzgSEDiMdW5pUdLUaE/sHV+8bUhi8rbYJs+zWCxOFJ2zlg5G
>
> PhBpOPi5QaxpMPbtUGPxJYvbHx7/wPibRTZKeZwJYG+bxPbnMZ5wRQKBoyuQHCpWiKGY
>
> m0ngmKootFXE1aoBPtnsOYMlptymB5zVfI+I5AQ6XRgxPpifQr4XntDj/MNBcQAeiCzJ
> 09ug==
> Sender: lufa-s...@googlegroups.com
> X-Gm-Message-State:
> AGi0PuYKehTvuEv4nsdMk2yJmyDQzf+s3TNsLpXYXmMNcvPS6YhNI7e3
> Lxd5mIsegjAW2uxb2OrD0ic=
> X-Google-Smtp-Source:
> APiQypIotzFSf1/HdpdkmiPraZYfkzOHXHfJrIjhejfn1a6uOf6HbhaFy894qHOoAwSgv+3HSzVtMA==
> X-Received: by 2002:ad4:436b:: with SMTP id
> u11mr2317234qvt.117.1585823738527;
> Thu, 02 Apr 2020 03:35:38 -0700 (PDT)
> X-BeenThere: lufa-s...@googlegroups.com
> Received: by 2002:a0c:f007:: with SMTP id z7ls981830qvk.9.gmail; Thu, 02 Apr
> 2020 03:35:38 -0700 (PDT)
> X-Received: by 2002:a0c:9e45:: with SMTP id z5mr2490935qve.250.1585823738173;
> Thu, 02 Apr 2020 03:35:38 -0700 (PDT)
> Received: by 2002:a37:e10f:0:0:0:0:0 with SMTP id c15msqkm;
> Wed, 1 Apr 2020 11:34:06 -0700 (PDT)
> X-Received: by 2002:a25:df90:: with SMTP id
> w138mr41167124ybg.296.1585766045601;
> Wed, 01 Apr 2020 11:34:05 -0700 (PDT)
> Date: Wed, 1 Apr 2020 11:34:05 -0700 (PDT)
> From: Eric <hemu.k...@gmail.com>
> To: LUFA Library Support List <lufa-s...@googlegroups.com>
> Message-Id: <015c6f9f-a824-40dd...@googlegroups.com>
> Subject: [OBORONA-SPAM] [LUFA Support : 4990] CDC+CDC atmega32u4
> MIME-Version: 1.0
> Content-Type: multipart/mixed;
> boundary="----=_Part_6476_1636338873.1585766045307"
> X-Original-Sender: hemu.k...@gmail.com
> Reply-To: lufa-s...@googlegroups.com
> Precedence: list
> Mailing-list: list lufa-s...@googlegroups.com; contact
> lufa-supp...@googlegroups.com
> List-ID: <lufa-support.googlegroups.com>
> X-Google-Group-Id: 593394291353
> List-Post: <https://groups.google.com/group/lufa-support/post>,
> <mailto:lufa-s...@googlegroups.com>
> List-Help: <https://groups.google.com/support/>,
> <mailto:lufa-sup...@googlegroups.com>
> List-Archive: <https://groups.google.com/group/lufa-support
> List-Subscribe:
> <https://groups.google.com/group/lufa-support/subscribe>,
> <mailto:lufa-suppor...@googlegroups.com>
> List-Unsubscribe:
> <mailto:googlegroups-manage+59...@googlegroups.com>,
> <https://groups.google.com/group/lufa-support/subscribe>
> X-Yandex-Forward: a139e2b936c411bfe3bf3ae8496a68ed
> X-Oborona-Spam-Flag: YES
Have you tried to build and run DualVirtualSerial Demo provided in LUFA?
Only need to adjust MCU, BOARD and F_CPU parameters of makefile.

----
Best regards, == За сим,
Andrey Kraynev == Андрей Крайнев

mailto:mosc...@gmail.com

Eric

unread,
Apr 3, 2020, 9:11:43 PM4/3/20
to LUFA Library Support List

Hi Andrey Kraynev ,
Thanks for Reply!
i have tried that LUFA example that works fine, is there any way that device can show two different PID when we see this two com port on device manager at Host side.
-Eric

Andrey Kraynev

unread,
Apr 4, 2020, 1:00:25 PM4/4/20
to Eric
Hello Eric,

It is one device in the usb tree, right?
So there is one VID/PID pair.
Device is composite, two interfaces.
And two communication ports from OS's point of view.

All above is my imaginations...
Reply all
Reply to author
Forward
0 new messages