-
Notifications
You must be signed in to change notification settings - Fork 37
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
No telemetry from specific target while using verified WORKING Cosmos configuration (Serial, bridge.txt, plugin.txt) #1856
Comments
This doesn't feel like a COSMOS issue since you were able to get it to work with the other device. I little googling indicates that COM ports on Windows 11 is a bit of an adventure. Are you sure COM9 is showing up in Windows? |
yes, both in the Device manager and when polled from within VSCode/Platformio itself (platformio.exe device list)
I notice that the Adafruit Grand Central M4 is not displayed a such, in contrast to the ATMEGA2560. Will look into this.
Platformio community and Microsoft sources mention using While browsing, some mention COM port problems in combination with antivirus or malware protection... |
Hi, 2000000 baud rate or renaming COM ports to \.\COM9 didn't help. I moved the board to a Linux host (Dell Optiplex, no RPI), but the problem stays the same... I repeat I can read the packages and verify their contents Using a terminal program on both windows and Linux hosts, Which should prove that the data exits the board, enters the operating system and can be processed correctly.
new plugin.txt
On another topic: I noticed the documentation Note on Serial Ports is likely wrong and incomplete, because I followed the---different---steps laid out in issue #57 to get the board working (serial interface connection success and command sending to the board). Jurgen |
The only thing I see wrong in your config is the LENGTH protocol on the INTERFACE line should be nil |
@ryanmelt , you nailed it. The extra Now I have tlm ping heartbeat packages rolling in from both SAMD51P20 and ATMEGA2560 at least on linux host. I will Follow up on this issue and post the correct setup, as soon as I am 100% sure the above is indeed the case and it's solved in Windows as well. Many thanks! |
Description
I am upgrading my Cosmos targets from Arduino Mega 2560 (ATMEGA2560) to Adafruit Grand Central M4 (SAMD51P20) for this robotics project.
I took the opportunity to build a set of Blinky projects to be hosted on Github, with a minimal OpenC3 setup and firmware, To establish two way communication and control a built-in LED.
The Blinky project runs fine on the ATMEGA2560: Sending commands, Requesting pink packets and receiving heartbeat pink packets every three or so seconds.
Not on the SAMD51P20, Where only command sending works but Telemetry is NOT processed by COSMOS...
Command sending working is verified by RT/TX LED's blinking on the SAMD51P20 board And I can Process the package contents in my firmware.
Telemetry sending from firmware works because I can verify using a serial monitoring program.
In both cases the exact same open C3 target, and plugin.txt and bridge.txt are used with exceptions of COM ports: ATMEGA2560: COM5, SAMD51P20: COM9
I am running out of ideas to test why this is the case...
Anything I could check or do?
Greetings, Jurgen
Relevant info
cmd.txt
tlm.txt
plugin.txt - With comments removed
bridge.txt - relevant part , Modified from default bridge.txt
serial monitor output.
ATMEGA2560
SAMD51P20
Bridge output (Abriged)
ATMEGA2560
SAMD51P20
Major differences between ATMEGA2560 and SAMD51P20
ATMEGA2560 : 8 bit, AVR based, 5V logic, Connects using USB B printer connector, Takes power from USB port
SAMD51P20
.env
The text was updated successfully, but these errors were encountered: