Unable to read data from rx & tx, plus permissions issue.
I been trying to receive data from rx and tx, something I have never had any issues with on any other board. First of all I had permissions issue to connect to ttyS4 (due to NCS2/OpenVINO not able to be run with sudo) so I added my user to dialout group, this issue was resolved.
I have an ESP8266 12f connected to 5v (also tried 3.3) of the board and rx tx. When the ESP receives data from an MQTT broker it prints the data to serial. I am unable to receive this data on the UP2.
After trying to resolve myself I have followed:
Now I have permissions issues again, the changes here changed the group from dialout to tty and owner root, I have added my user to both root and tty and I still get permissions issues.
When I run the program as root (sudo) the NCS2 and OpenVINO will not work, but I can access serial (it seems) however, I am back to the beginning, when data is sent to the ESP8266, nothing comes through to the UP2. All I receive is empty bytes b''.
Please could someone suggest a quick fix for this. Thanks in advance.
- 302 All Categories
- 104 Announcements & News
- 50 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 50 Unboxing & Project Sharing
- 24 Tech Updates
- 478 UP Products
- UP Element i12 Edge
- 1 UP Squared V2
- 2 UP 4000
- 23 UP Xtreme i11
- 30 UP Squared 6000
- 42 UP Squared Pro
- 137 UP Xtreme
- 806 UP Squared
- 1.4K UP Board
- 87 UP Core Plus
- 219 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral