Skip to content

More trueposition commands #7

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

More trueposition commands #7

wants to merge 2 commits into from

Conversation

robots
Copy link

@robots robots commented Jun 14, 2020

Signed-off-by: Michal Demin [email protected]

Signed-off-by: Michal Demin <[email protected]>
@robots
Copy link
Author

robots commented Jun 15, 2020

I have RE'd the firmware from the GPSDO and i have updated the documentation for the commands. There are few i don't know what they are doing. And i don't feel like reversing advanced math in NIOS assembler :-).

@robots
Copy link
Author

robots commented Jun 15, 2020

Most interesting commands are $EBG and $F, which can be used to communicate with the GPS module. Beware that the serial line speed is 9600. GPS module to FPGA communication switches to 38400, but there is no command to change baudrate on the other communication port.

There is third serial port, but this one is debug only - so called jtag_uart - NIOS speciality, accessible over JTAG only.

@pigrew
Copy link
Owner

pigrew commented Jun 15, 2020

Good to see more commands added to the list. Disassembly is the definitive method. ( I got what I did the slow way, by just looking at strings in a firmware dump posted online, and guessing at meanings)

@robots
Copy link
Author

robots commented Jun 15, 2020

strings in the firmware are just reply strings, command handler is very dumb, it checks 3 bytes of command .... GETPOS is same as GxxPxS, so i had to find the command handler function to get all commands :) ... good thing that the code is not huge

Signed-off-by: Michal Demin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants