Re: RPi 3 and PIDV will not work


 

The RPi 3 can muck with device names. See https://www.raspberrypi.org/documentation/configuration/uart.md

Try /dev/ttyS0


On Sat, Jan 12, 2019, 09:08 Michael KD5DFB <mhebert1975@... wrote:
Good Morning! 

I have a RPi3 and PIDV and cannot get it to work with AMBEtest , AMBEsocket or AMBEserver. 

I have tried the guide on the ambe groups.io wiki and installed compass. I could never get ambetest2 or 3 to work

I am currently trying a fresh install of raspbian and have tried several different things.

When looking at the systemctl status I get the following:

ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2019-01-12 16:26:33 GMT; 2s ago
  Process: 1040 ExecStartPre=/bin/chgrp dialout /dev/ttyAMA0 (code=exited, status=217/USER)
 
Jan 12 16:26:33 raspberrypi systemd[1]: Starting DV3000 Daemon...
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Control process exited, code=exited
Jan 12 16:26:33 raspberrypi systemd[1]: Failed to start DV3000 Daemon.
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Unit entered failed state.
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Triggering OnFailure= dependencies.
Jan 12 16:26:33 raspberrypi systemd[1]: ambeserver@...: Failed with result 'exit-code'.

When I try to start it manually using ./AMBEServer I get the following: 

./AMBEserver
AMBEserver: Starting...
AMBEserver: error when opening /dev/ttyUSB0: No such file or directory

When I try to define everything during run, I get the following:

sudo ./AMBEserver -d -r -p 2460 -i /dev/ttyAMA0 -x
AMBEserver: Starting...
Baud 230400
opened /dev/ttyAMA0 230400
AMBEserver: Opened serial port /dev/ttyAMA0 at 230400 bps.
 
Here is the AMBEtest2.py

 sudo python AMBEtest2.py
d
8
N
1
False
False
False
0
 
Reset
6100010033
Wrote: 5 bytes
 
Product ID
6100010030
Wrote: 5 bytes
 
Version
6100010031
Wrote: 5 bytes
 
Set DSTAR Mode
61000c000a013007634000000000000048
Wrote: 17 bytes

Hers is the AMBEtest3.py

sudo python AMBEtest3.py
Setting ...
/dev/ttyAMA0
d
8
N
1
False
False
False
 
Reset
6100010033
Wrote: 5 bytes
 
Product ID
6100010030
Wrote: 5 bytes
 
Version
6100010031
Wrote: 5 bytes
 
Set DSTAR Mode
61000c000a013007634000000000000048
Wrote: 17 bytes
 
Any help would be greatly appreciated! 

Michael KD5DFB


Join ambe@nw-digital-radio.groups.io to automatically receive all group messages.