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.
- 292 All Categories
- 104 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 181 Welcome Developers!
- 49 Unboxing & Project Sharing
- 20 Tech Updates
- 410 UP Products
- UP 4000
- 12 UP Xtreme i11
- 21 UP Squared 6000
- 39 UP Squared Pro
- 132 UP Xtreme
- 797 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 41 UP AI Edge
- 213 Starter Kits & Peripheral