-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMBEserver: Couldn't find start byte in serial data #1
Comments
Hi, apologies for the delay getting back to you I've been really ill. Someone else reported a similar issue, which I began to troubleshoot but they and I were both busy so we didn't get to the bottom of it. From what I could tell, even though I was forcing the AMBE into packet mode, it was continuing to output random bytes and ignoring all commands. I am forcing the AMBE into packet mode using 61 00 07 00 34 05 00 00 0F 00 00 as shown below - Line 52 of AMBEserver.c -
Your control packet looks a little different, I'm not fully recovered yet so don't fancy diving into the AMBE 3000 docs, so may I ask where you found it, and what it does? You're welcome to try updating that line of code and testing it. It shouldn't cause any long term issues a reboot won't solve, but I can't accept responsibility if it cooks your AMBE chip. |
@lizardkings any feedback? |
@lizardkings Any progress? |
Do not have the board anymore to test. |
Hi, same problem here. The DVMEGA Arduino AMBE board is hardwired to interface McBSP/UART. AMBEserver: Starting... Any ideas, maybe to drop channel packets until the prod ID response arrives? Thanks. 73, Thorsten |
The reason for this is the default codec mode ( is set by hardware pins ). You can simply send a command to set it to packet mode without changing the hardware. See 0x34 command in the AMBE3000 manual. 73, |
Hi David, thanks for the reply. As Matthew mentioned earlyer, he already did the packet mode forcing, but it doesn't seem to work I think. The AMBEServer from nwdigital also seems to be overstrained with the flood of unexpected packets while initialzing and stops much earlyer. Would like to be the guinea pig if someone is able to get the packet mode change running... 73, Thorsten |
I am using DVMEGA AMBE with the shield from DVMEGA. 230400 baud.
Getting this error:
root@raspberrypi:/AMBE/AMBEServer# ./AMBEserver -i /dev/ttyUSB1 -x
AMBEserver: Starting...
AMBEserver: version 2017-11-18 git #3fb96a5
AMBEserver: RESETSOFTCFG Edition
Baud 230400
opened /dev/ttyUSB1 230400
AMBEserver: Opened serial port /dev/ttyUSB1 at 230400 bps.
AMBEserver: Couldn't find start byte in serial data
AMBEserver: Couldn't find start byte in serial data
AMBEserver: Couldn't find start byte in serial data
The DVMEGA AMBE on a shield starts up in codec mode. Can you put the AMBE in packet mode?
61 00 07 00 34 05 00 00 07 00 00
Hope it will work after that.
The text was updated successfully, but these errors were encountered: