Re: RNDIS

2022-01-21 Thread Barbiani
Wsl2 works fine with usb but needs a usb-tcp bridge. Maybe a kernel recompile too. I am using usb-serial cables with it. On Fri, Jan 21, 2022, 15:38 TimH wrote: > There are ways, like there are via some VMs, but I've not tried them. I > do have an old, spare, laptop and also a PC so can always

Re: Alternatives to FAT for msd

2022-01-21 Thread Alan Carvalho de Assis
The protocol is not complex, but it requires many HOST<->DEVICES integrations. I started a MTP implementation some years ago, it was enable to be detected to Linux as a media device, but I didn't finish the implementation to file transfer. If someone get enough motivation and want to suffer a

Re: Alternatives to FAT for msd

2022-01-21 Thread TimH
Are there any implementations of MTP using NuttX, or that could be easily and legally ported? On 19/01/2022 18:54, Frank-Christian Kruegel wrote: Am 19.01.2022 um 19:40 schrieb TimH: - an external PC (ideally Linux, Windows and MAC) needs to be able "see" the data via USB (msd) and read/write

Re: RNDIS

2022-01-21 Thread TimH
There are ways, like there are via some VMs, but I've not tried them. I do have an old, spare, laptop and also a PC so can always load 18.04 on those if all else fails. On 21/01/2022 18:15, Alan Carvalho de Assis wrote: WSL doesn't have USB support AFAIK, I think even WSL2 it doesn't work

Re: RNDIS

2022-01-21 Thread Alan Carvalho de Assis
WSL doesn't have USB support AFAIK, I think even WSL2 it doesn't work fine yet. On 1/21/22, TimH wrote: > I guess I can try it on WSL too, but I'll also set up my Linux machine > to dual boot 20.04 and 18.04. All part of the "Tim gets to grips with > Linux" life experience :) > > > On 21/01/2022

Re: RNDIS

2022-01-21 Thread TimH
I guess I can try it on WSL too, but I'll also set up my Linux machine to dual boot 20.04 and 18.04. All part of the "Tim gets to grips with Linux" life experience :) On 21/01/2022 16:30, Alan Carvalho de Assis wrote: Hi Tim, did you try other Linux distro? Maybe it could be some

Re: bug of frexpf function or not?

2022-01-21 Thread Alan Carvalho de Assis
Good catch! On 1/21/22, fft wrote: > Hi team's > I was troubled by a strange problem whole day,and at last,i found is about > the nuttx math lib function float frexpf(float x, int *exponent),when the > input x is postive, there is no problem,but when the input x is negative,the > result is

Re: RNDIS

2022-01-21 Thread Alan Carvalho de Assis
Hi Tim, did you try other Linux distro? Maybe it could be some incompatibility in recent Linux kernel. I suggest you to test on an old Linux distro (i.e. Ubuntu 18.04 LTS) just to double check. BR, Alan On 1/21/22, Tim wrote: > Windows now working properly but not Linux. My board can be

bug of frexpf function or not?

2022-01-21 Thread fft
Hi team's I was troubled by a strange problem whole day,and at last,i found is about the nuttx math lib function float frexpf(float x, int *exponent),when the input x is postive, there is no problem,but when the input x is negative,the result is wrong! I tested with inpu x=60 and x=-60: x = 60;

RE: RNDIS

2022-01-21 Thread Tim
Windows now working properly but not Linux. My board can be powered via the USB and I think it all got confused as I had been leaving the USB cable connected, coupled with not flashing code but using JTAG download for debugging, coupled with not repowering the board very often. I can now

Re: Alternatives to FAT for msd

2022-01-21 Thread Nathan Hartman
On Fri, Jan 21, 2022 at 8:19 AM Alan Carvalho de Assis wrote: > I think there is some issues in the Apache Foundation email infra, > this is the second time it happens. The same email is send again after > some days. Perhaps the emails in question have been waiting on a human moderator? I

RE: RNDIS

2022-01-21 Thread Tim
>From: Tim Hardisty >Sent: 21 January 2022 11:15 >[ 3399.339551] rndis_host 1-2:1.0: dev can't take 1558 byte packets (max >1364), adjusting MTU to 1306 Easily fixed: CONFIG_NET_ETH_PKT_SIZE=1518 But RNDIS still doesn't work, having checked every option I can find. Windows doesn't like it,

Re: Alternatives to FAT for msd

2022-01-21 Thread Alan Carvalho de Assis
I think there is some issues in the Apache Foundation email infra, this is the second time it happens. The same email is send again after some days. On 1/19/22, Arie de Muijnck wrote: > On 2022-01-19 19:40, TimH wrote: >> FAT seems broken for NOR flash devices. Spent days getting nowhere. >> >>

Question about backtrace_malloc

2022-01-21 Thread Jukka Laitinen
Hi, Sorry if this question comes several times, it seems that for some reason my emails are not always coming through to the mailing list... So re-sending. I started getting this build error from the latest NuttX: misc/lib_execinfo.c:45:17: error: null argument where non-null required

Re: Alternatives to FAT for msd

2022-01-21 Thread Arie de Muijnck
On 2022-01-19 19:40, TimH wrote: FAT seems broken for NOR flash devices. Spent days getting nowhere. Since FAT and flash devices don't really play well together anyway (already found s512 erases a flash sector at least 4 times when writing a cluster), so I'm wondering, in parallel, if NuttX

Re: RNDIS

2022-01-21 Thread Tim Hardisty
Thanks Alanm - my lack on Linux knowledge failed me again. Never used dmesg...luckily I like learning lol. From Linux machine: [ 3399.181365] usb 1-2: new high-speed USB device number 21 using xhci_hcd [ 3399.337980] usb 1-2: New USB device found, idVendor=584e, idProduct=5342, bcdDevice=