Write and read settings not working.

Questions about using encoders with the Roboclaw product line
Post Reply
woko1754
Posts: 20
Joined: Sun Feb 21, 2021 3:16 am
Write and read settings not working.

Post 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.
woko1754
Posts: 20
Joined: Sun Feb 21, 2021 3:16 am
Re: Write and read settings not working.

Post 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.
woko1754
Posts: 20
Joined: Sun Feb 21, 2021 3:16 am
Re: Write and read settings not working.

Post by woko1754 »

I made it !
I had to add the CRC and in case of write settings adding a four byte magic number.

Post Reply