Page 1 of 1

Write and read settings not working.

Posted: Fri Feb 25, 2022 4:31 am
by woko1754
When sending Commands
"94 - Write Settings to EEPROM"
or
"95 - Read Settings from EEPROM"
to module 2x7A, I get no answer.
even after two retries. Here the trace of a version request followed by three read settings:

Code: Select all

--> +0000 80 15                                           | ..
                                                          |
<-- +0000 55 53 42 20 52 6F 62 6F 63 6C 61 77 20 32 78 37 | USB Roboclaw 2x7
<-- +0016 61 20 76 34 2E 31 2E 33 34 0A 00 0B F6          | a v4.1.34....
                                                          |
--> +0000 80 5F                                           | ._
                                                          |
--> +0000 80 5F                                           | ._
                                                          |
--> +0000 80 5F                                           | ._                                                          |
I's the same with write settings.

Re: Write and read settings not working.

Posted: Thu Mar 03, 2022 2:16 am
by woko1754
By sniffing the kommunikation I found out that at least the CRC-sum has to be added, like it was the case with the reset-command. The write command needs four bytes more, what ever they are.

Re: Write and read settings not working.

Posted: Thu Mar 03, 2022 9:37 am
by woko1754
I made it !
I had to add the CRC and in case of write settings adding a four byte magic number.