Page 1 of 1

WriteEEEPROM request

Posted: Thu Sep 20, 2018 5:29 am
by pierdela
Hi,

I try to implement a C++ lib for MCP board and i have some difficulties with the WriteEEEPROM request.
In the user manual, the instructions are :

Send: [Address, 94]
Receive: [0xFF]

With no CRC.
I try to send this data to the board adding CRC [and without] but it doesn't works.

After reading Arduino lib for Roboclaw board, i found that the WriteEEEPROM request need 4 more bytes with this value : 0xE22EAB7A

So, i try this and it seems to works, but i would like to known if you could :
-1 Update the user manual
-2 Explain to me what is this value [is it the address of the EEEPROM memory ? Is the value is the same for all the different board ? ]

Best Regards.
Pierre

Re: WriteEEEPROM request

Posted: Thu Sep 20, 2018 10:31 am
by Basicmicro Support
We recently updated the Write command so it could not accidentally be sent. The extra bytes are a key value to help prevent any possibility of accidentally executing the command.

1. The manual will be updated it just takes longer to do that than to update firmware.

2. The value is just a random key value to help prevent any possibility of accidentally sending the Write command.

Re: WriteEEEPROM request

Posted: Fri Sep 21, 2018 3:46 am
by pierdela
Oki oki ! thank you for the explanations.