microsoft / microcode

Coding "on the go" with the micro:bit (V2)
https://microsoft.github.io/microcode
MIT License
47 stars 17 forks source link

Sometimes the microcode execution gets stuck in Microbit #389

Open smfox10 opened 1 year ago

smfox10 commented 1 year ago

This situation usually occurs when I write programs that are quite large and have many Jacdac modules connected.

when I press reset, it should operate normally again.

Error Code is ^980

https://user-images.githubusercontent.com/3880290/236616430-667cde8e-e099-4bb0-8cf3-873d82cc4587.mp4

https://user-images.githubusercontent.com/3880290/236616434-d68c474d-c8ed-443e-885a-f7b5734aaad6.mp4

tballmsft commented 1 year ago

Hmm... the 980 error code is - when x is undefined

tballmsft commented 1 year ago

@smfox10 Can you please share the MicroCode program - build it using the web browser and then paste the URL here.

smfox10 commented 1 year ago

https://microsoft.github.io/microcode/#H4sIAIThZmQAA5WQwa6CMBREfwkfPk2XShBvYzFYlNadippiUSOSUr7eWqoxceVqcpOZM+3sNVa7Ep3X0aqE4joEORJzeTcKTonRSizbsAHpVXAK7Z2kR8GoEgsBg0zjaB7gfBbg2DC2xqPJBGmeyZqXyAfZQ7OpYWjrTUka2mxC7T122ajL8v+ux3M9oFgLgjGvMm9NrUeShlCbGbu+fpfhNrMoQvXNIL8y3H8/GcmvDP3F8GPFGb5to2XH8nv5gTbvvQ8rt9VzV/+OXB998l9e6wnw35rhdpOhGoqLyAuo46DfxhqjB7xmV4HUAQAA