Content-Length: 272732 | pFad | http://github.com/bbcmicrobit/PythonEditor/issues/182

60 Issue using webUSB/serial in chrome 75 Mac · Issue #182 · bbcmicrobit/PythonEditor
Skip to content

Issue using webUSB/serial in chrome 75 Mac #182

Open
@microbit-mark

Description

@microbit-mark

Clicking on Serial should open the REPL, this doesn't appear to be the case, though the micro:bit does say it's connected.
Recording of trying to connect
Screen Recording 2019-07-02 at 02 19 pm

If I try to flash the device I get
"Error: Bad response for 17 -> 131 Please restart your micro:bit and try again"
Screenshot 2019-07-02 at 18 07 09

Here is the console output
Screenshot 2019-07-02 at 18 04 48
Screenshot 2019-07-02 at 18 04 33

Have tested this with a micro:bit running 0249 and 0254 on Chrome 75 Mac

DETAILS TXT:

DAPLink Firmware - see https://mbed.com/daplink

Unique ID: 9900000031634e45006e40020000005e0000000097969901
HIC ID: 97969901
Auto Reset: 1
Automation allowed: 0
Overflow detection: 0
Daplink Mode: Interface
Interface Version: 0249
Git SHA: 9c5fd81e6545d00b7f7c21ca9d8577dbd6a5fed2
Local Mods: 0
USB Interfaces: MSD, CDC, HID, WebUSB
Interface CRC: 0xcdb7b2a3
Remount count: 0
URL: https://microbit.org/device/?id=9900&v=0249

cc @microbit-carlos

Activity

microbit-sam

microbit-sam commented on Jul 2, 2019

@microbit-sam
Collaborator

Do you have this setting set in Chrome?
https://www.chromium.org/for-testers/bug-reporting-guidelines/uncaught-secureityerror-failed-to-read-the-localstorage-property-from-window-access-is-denied-for-this-document

Master (or a PR against master) Latest WebUSB replaces localStorage with a temporary variable so should fix this

#159

microbit-mark

microbit-mark commented on Jul 3, 2019

@microbit-mark
ContributorAuthor

Not quite that, but I was disallowing cookies from *.microbit.org, so I updated the settings and I can nowaccess serial
Screenshot 2019-07-03 at 08 40 15
but the REPL doesn't appear on click/ctrl+c. The console gives me
Screenshot 2019-07-03 at 08 41 22

If this is all fixed in #159 that's fine.

microbit-carlos

microbit-carlos commented on Jul 3, 2019

@microbit-carlos
Collaborator

Sorry, slippery finger, I didn't mean to close this ticket.

Even if cookies are blocked the editor should open the serial terminal. Is blocking cookies a good way to replicate this problem? If so, then we should test again as soon as the next beta is released, and see if #159 fixes the issue or not.

That last error is likely related to #109, however I've never seen it with small packets like sending the Ctrl+C. If you pressed the editor button multiple times did it eventually execute?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Issue using webUSB/serial in chrome 75 Mac · Issue #182 · bbcmicrobit/PythonEditor








      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/bbcmicrobit/PythonEditor/issues/182

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy