-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB stdio & SDK 1.1.0 #257
Comments
@kilograham the offending line says:
but the doxygen for watchdog_reboot says "If @Wiz-IO Just out of curiosity, what compiler / compiler-version / compiler-options are you using to catch those errors, which we seem to have missed ourselves? 🙂 |
Hi, I make "experimental" platform for PlatformIO ( VSCode ) & Arduino, based on pico-sdk v1.1.0 and one last version as "backup" (v1.0.1) The compiler is arm-none-eabi 7.2.1 -Wall All default flags is here: https://github.com/Wiz-IO/wizio-pico/blob/main/builder/frameworks/common.py#L104 |
Yup; this isn't in our standard warning check since TinyUSB has warnings. Will fix
Agree these should be in place, though for it to fail it implies that you have tinyusb configured not to use RP2040 target, 'cause otherwise they'd both be included via "tusb.h" |
by the way ... Windows 10 and USB stdio
|
@Wiz-IO That's interesting, thanks. @kilograham I see that e.g. https://github.com/raspberrypi/tinyusb/blob/master/examples/device/hid_generic_inout/src/usb_descriptors.c#L28 says |
that could certainly be it. @Wiz-IO can you try changing the line 35 in src/rp2_common/pico_stdio_usb/stdio_usb_descriptors.c
to something else maybe |
was that with zadig? i.e. did zadig not like the "new" device? |
the driver is installed ... but win 10 work without zadig ( I do not remember ) enable/disable reset is |
btw: win 7 - unknow device for both ( driver is for SDK 1.0.1 ) - I need to delete from registry driver uuid and restart PC |
Yes, Windows 7 requires extra steps that Windows 10 doesn't - the getting started guide has a link to https://www.raspberrypi.org/forums/viewtopic.php?f=146&t=300053 |
I'm super confused about what does and doesn't work now; does Windows 10 work correctly with a not seen before (different PID) device which uses the reset interface (i.e. is composite)? |
#define USBD_PID (0x000a) up driver COM4 someone other to test Reset vendor on Win10 - it doesn't work for me - Unknown device... |
@lurch can you take a look at this to see what does and doesn't work? |
@kilograham I'm afraid all my computers run Linux, I don't have anything with Windows 10 :-/ I think @liamfraser uses Windows though? |
RESET_0/1.TXT mean PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE 0/1 logs form WIN10 ... CFG_TUSB_DEBUG=2 |
OK, thanks that is helpful |
@Wiz-IO if you open Zadig and List all devices what is the driver for the Board CDC interface with the standard VID + PID. It should be usbser: |
my WIN-10 work without Zadig btw: here it tries to load a second driver |
Can you please explicitly state exactly what does and does not work You said higher above that Windows 10 does not work for you, and then you say it does work |
not work reset interface |
IF PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE = 1 windows say unknown driver... if = 0 the driver is ok, stdio work... |
The reset interface won't work because it's a "custom interface" which we don't supply a Windows-driver for yet. |
it doesn't work for me - Test it... I have disabled it for PlatformIO port |
As asked above, can you please show a Zadig screenshot for the Board CDC interface? You might need to enable the "list all devices" option or something. |
I posted it... |
that is not what was asked for, and yes we've obviously tested it and it works fine, so we're trying to help figure out why it doesn't work on your machine |
the Pico USB not exist in this menu |
what you have selected right there "USB Device Interface 0" and "USB Device Interface 1" |
are you able to switch that to WinUSB? |
no; are you able to switch libusbK to WinUSB on the broken versions? |
can you paste me compilator verbose log ( part ) |
http://www.linux-usb.org/usb.ids says that 09DA:9066 is "A4Tech Co., Ltd. F3 V-Track Gaming Mouse". |
yep, it is my mouse :) |
maybe is issues...
pico_stdio_usb\reset_interface.c:63:32: error: 'SRAM_END' undeclared (first use in this function);
#include "hardware/regs/addressmap.h"
pico_stdio_usb\stdio_usb.c:17:8: error: unknown type name 'mutex_t'
#include "pico/mutex.h"
pico_stdio_usb\stdio_usb.c:19:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
static void low_priority_worker_irq()
The text was updated successfully, but these errors were encountered: