Re: Ethernet over USB on Arduino Due

2019-12-24 Thread Adam Feuer
Greg, Thank you! I also came the same conclusion after reading the SAM3X and SAM4 manuals just now. My next project needs USB over Ethernet on the SAMA5D27... I was just trying to get a board that's well supported like the Arduino Due working. But since UDP is not implemented for it, it looks lik

Re: Ethernet over USB on Arduino Due

2019-12-24 Thread Adam Feuer
Thanks Greg. When I manually edit the .config file and add this: CONFIG_SAM34_UDP=y Then try to make again, I get a bunch of errors for missing defines (PMC_UDP, SAM_IRQ_UDP, etc.). These seem to be defined in arch/arm/src/sam34/hardware/sam_pmc.h, but only for CONFIG_ARCH_CHIP_SAM4S or CONFIG_A

Re: Ethernet over USB on Arduino Due

2019-12-23 Thread Gregory Nutt
I don't think that the SAM3X8E supports the UDP module.  Looks like it supports UDPHS which would be different: https://www.microchip.com/wwwproducts/en/ATsam3x8e#additional-features See also arch/arm/include/sam34/chip.h. There is a hardware/sam_udphs.h header file, but I don't see any udphs

Re: Ethernet over USB on Arduino Due

2019-12-23 Thread Gregory Nutt
..., but I'm down to this last missing function: void up_usbinitialize(void) Defined here: $ grep -r up_usbinitialize arch/arm/src/sam34 arch/arm/src/sam34/sam_udp.c: * Name: up_usbinitialize arch/arm/src/sam34/sam_udp.c:void up_usbinitialize(void) arch/arm/src/sam34/sam_udp.c:   * in when up_

Ethernet over USB on Arduino Due

2019-12-23 Thread Adam Feuer
Hi, Does anyone know if it's possible to do Ethernet over USB on NuttX on the Arduino Due? For instance, like Alan Carvalho de Assis discusses in this Youtube video ? I can get a minimal NuttX installation working without TCP/IP and UDP/IP networking.