Open boopdadm opened 1 month ago
@andrey-pr when clicking several times on refresh, some values are retrieved on the info tab, the firmware version for example. The Read successful pop up appear in that case. With further refreshes, sometimes Read successfull appear, sometimes Error during reading appears.
With picocom, the output of picocom /dev/ttyUSB0
says Terminal ready, when typing in, a blue LED is blinking on the USB TTL converter.
I read a bit the documentation about the UART protocol and bafang APIs, to try to query the controller directly from the terminal, but I was unsuccessfull so far :(
I will try further to query the controller directly from a terminal, if you have a few command examples that would be great :)
Try to connect to serial port with baudrate 1200 and send 0x11 0x52. Also, complete list of this commands avaliable in docs right inside program (tab "manual")
I tried to use picocom -b 1200 /dev/ttyUSB0
, and once terminal is ready, typing 0x11 0x52
but nothing is happening.
I see a blue LED blinking on the USB converter each time I am typing something (when I launch your program, I see two LEDs blinking, I assume one blinks when sending, the other when receiving).
I also tried with moserial, an utility with GUI to communicate over serial port, below the config and trials, unsuccessful as well 😞
I am a bit clueless... I will try to find people with UART and/or serial port communication experience, if you think of other things in the meantime, feel free ! :)
I tried to use
picocom -b 1200 /dev/ttyUSB0
, and once terminal is ready, typing0x11 0x52
but nothing is happening. I see a blue LED blinking on the USB converter each time I am typing something (when I launch your program, I see two LEDs blinking, I assume one blinks when sending, the other when receiving).I also tried with moserial, an utility with GUI to communicate over serial port, below the config and trials, unsuccessful as well 😞
![]()
![]()
I am a bit clueless... I will try to find people with UART and/or serial port communication experience, if you think of other things in the meantime, feel free ! :)
You sent "01 10 52", but not "11 52"
Here is the result of the 11 52 command
Given 0x11 0x52 read query, I have the feeling the response should be way longer 🤔
Here is the result of the 11 52 command
Given 0x11 0x52 read query, I have the feeling the response should be way longer 🤔
Looks like response is correct, I will think what to do with your problem
hello @andrey-pr, by chance, did you have any thoughts about my issue ?
Sorry, currently I have no time
After selecting a serial port and connecting to it, the interface is loading for a while (~60s)![image](https://github.com/andrey-pr/OpenBafangTool/assets/62545846/3656953c-bf4c-43d6-98c5-df43f984824b)
But values are mostly empty or wrong![image](https://github.com/andrey-pr/OpenBafangTool/assets/62545846/c6950523-5441-4308-9fc0-2d252c2e626a)
If clicking on refresh, the firmware value appears: CRR2093624E010022.3
When switching to parameters tab, most values are set to 0, and upon refresh it quickly says![image](https://github.com/andrey-pr/OpenBafangTool/assets/62545846/6ef87391-b2b8-456d-87b7-343b43fecfa1)
any idea why ?