WEB USB Proffieboard Workbench Interface on Proffieboard 3.7/2.2s not working (solved 4/22 by Bobby Susenbach)!

If you pull up the javascript console, do you see anything interesting there?
(in chrome, this is dot-menu → more tools → developer tools → console tab)

DevTools failed to load source map: Could not load content for https://crucible.hubbe.net/theme-javascripts/cropro.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

I’m guessing that you loaded the developer tools in the crucible tab, not the ProffieOS Workbench tab?

Ill go try again. Thought I waa in web usb tab.

@profezzorn

Lets try this again:

Service Worker Registered
app.html:1530 VERSION: $Id: 49552f7dc621c04225bac19d2abb45cd82131926 $
app.html:1531 10/28/2021 01:09:20
sw.js:58 [Service Worker] Fetch https://profezzorn.github.io/lightsaber-web-bluetooth/app.html
sw.js:58 [Service Worker] Fetch https://profezzorn.github.io/lightsaber-web-bluetooth/manifest.json
app.html:1307 USBAlternateInterface
app.html:1307 USBAlternateInterface
app.html:1307 USBAlternateInterface
app.html:1322 OUT EP 5 IN EP 5

when I click USB Connection, this warning pops up:

app.html:1346 Uncaught (in promise) DOMException: An operation that changes interface state is in progress.
RunUSB @ app.html:1346
await in RunUSB (async)
onclick @ app.html:1552

This is helpful, I will see if I can figure it out.

1 Like

Fredrik,

Just to bump this a bit. I have uploaded all my test sabers with 6.1. I have to eject the SD, and WEB USB works great wirelessly and wired on my Proffie 1.5.

WHen connecting to my Proffieboard 3.7, the tab in chrome shows a usb insignia, and states “this tab is connected to a usb device”, but the screen remains on the initial “usb” or “ble” connection choice screen, and never advances to the controller.

Tom

1 Like

Is this still a problem?
I’m wondering if it was related to the crash-on-save-when-sd-is-unavailable problem that was fixed in 6.2?
I did some testing myself with webusb on both mac and windows, but so far I have not been able to reproduce the problem.

Ill check tomorrow. Ill grab github fixes. program my 3.7 and try on webusb.

2 Likes

@profezzorn My proffieboard 3.7 still will not connect. The WEBUSB editor remains locked at the first page when I press “USB” button. It never advances. Its my only saber that is doing this. Windows 10, using Chrome browser, and a local stored shortcut for your app on my pc. I have just reflashed with 3.7 release on post 1 of the beta page.

Unfortunately I still don’t know why.
My 3.7 does not have this problem, neither on Linux nor on Mac, which makes this weird and unusual.

Maybe my USB is hosed, but seem to work to update through Arduino??? It doesn’t matter, I can live without it, and these 3.7s are rare…so doesn’t seem to be an urgent issue worth fixing. My proffie 1.5s and 2.2s all work fine.

Hopefully we can figure this out eventually, maybe with more people using it we’ll see what the problem is…

Fredrik,

I installed a Proffie 2.2 (from Electronics1,2,3) tonight. The board looks slightly different than KR Sabers Proffieboards, but I have used them before. WEB USB does the same page lock on this board as it did on my Proffieboard 3.7. Now, I can plug in a KR Sabers Board with the same config file, and it works with WEB USB. So, I think its something on some of the boards, versus windows drivers or problem with WEB USB itself? Just checking in with more findings.

I’ve seen a few reports of boards simply not working with webusb.
I don’t know what causes it. It could be some sort of bug in the code, but it might also be a bug in the chips. Of course, the only way there would be bugs in the chips would be if they weren’t made properly, which sort of implies that maybe they are fake chips…

I’ve also heard of people using stm32l432 chips instead of stm32l433. Given that stm32l432 chips aren’t supposed to support USB, it’s surprising that this works, but maybe it just kind-of-sort-of works?

@MegtoothSith The chip should be stamped with the number. Can you make it out? I am on my way home and have a mix of boards including E123 and KR, and others I can check as well.

I’ll check as soon as I get home. You’re killing my old eyes Brian.

Lol. That’s what this is for! Great $27 investment

I have one, I’ll have to break it out tonight.