I’m using two boards (VIM3 an VIM1) and trying to communicate to our board using uart and android_serialport_api.
VIM3 was good work, but VIM1 is not work.
I can’t open the uart port(ttyS4) in VIM1.
First, I received error message as follow,
“java.lang.RuntimeException: Unable to resume activity {com.masts.xxxx/com.masts.xxxx.MainActivity}: java.lang.SecurityException”
then,I try the code of “Check access permission” to disable.
I got the error messages as follow,
“E/serial_port: Cannot open port”
“E/SerialPort: native open returns null”
Ask the khadas members for help, maybe @frank or @Terry, could help you, Also try to provide the full proper log as it is a bit easier to help debugging