Comments (6)
Sending any character via serial causes Hard Fault and register dump on the screen.
from la104.
Try this
webosc213.zip
from la104.
The issue is the same (except that the PC during the crash is now at 0x80644D0
).
from la104.
I have just tried it and everything works well - at least on OSX. Make sure you have following page opened: https://rawgit.valky.eu/gabonator/LA104/master/system/apps_featured/69_webusbosc/web/v3/index.html
But I confirm that it crashes when I send a single character through serial link with
screen /dev/tty.usbmodem101 9600
as well as with
minicom -D /dev/tty.usbmodem101
This is a bit strange and I will investigate this issue following days
from la104.
Just made it work, I had to add permissions for USB control to my current user:
echo 'SUBSYSTEM=="usb", MODE="0660", GROUP="plugdev"' > /etc/udev/rules.d/00-usb-permissions.rules
udevadm control --reload-rules
Than just add the user into the plugdev
group and it should work.
from la104.
Found the bug, fixed here: 5ecea19
Unfortunately it is not possible to verify the remote procedure call interface with minicom. Every packet sent over USB is processed as a single command. There was a bug when the RPC did not expect unterminated messages to be received and sending single character caused a null pointer dereferencing. There is an easy trick how to test the RPC interface from command line:
echo 'DBG::Print("Hello!");' > /dev/cu.usbmodem1101
echo 'LCD::Bar(CRect(20, 20, 300, 150), 0xaaaa);' > /dev/cu.usbmodem1101
echo 'LCD::Print(50, 80, 0xffff, 0xaaaa, "Hello world!");' > /dev/cu.usbmodem1101
(in OSX redirecting to /dev/tty.usbmodem1101
did not work)
Thank you very much for reporting this issue and for the permissions hack
This is fixed app which should not crash (in worst case it should only freeze with assertion message)
69webos1.zip
from la104.
Related Issues (20)
- FPGA configuration error
- LA104 WebUSB connection problem 2 HOT 2
- Strange pattern shown on "desktop" when exiting Logic analyzer app HOT 1
- Logic Analyzer crashes when run HOT 1
- DSO203 HW2.60, Windows 10/11 DFU HOT 11
- RFTool capture tab shows no data.
- Diff. between Flipper Zero and LA104 HOT 15
- Major refactoring needed HOT 6
- LA104 add new protocol into filmware HOT 5
- Dockerfile broken HOT 1
- Changes HOT 2
- Fresh compile is successful, but error booting HOT 6
- Test apps.
- Display battery level on main screen
- Boot loader for LA104
- Use La104 with DT71 tweezers
- Replacing of external (usb) flash DS213 HOT 2
- Wave alchemy HOT 2
- How to exit Logic Analyzer app and go back to the app switcher GUI? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from la104.