WriteEEEPROM request

General discussion of the MCP motion controller product line
Post Reply
pierdela
Posts: 7
Joined: Wed Jun 20, 2018 3:09 am
WriteEEEPROM request

Post 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
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: WriteEEEPROM request

Post 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.
pierdela
Posts: 7
Joined: Wed Jun 20, 2018 3:09 am
Re: WriteEEEPROM request

Post by pierdela »

Oki oki ! thank you for the explanations.

Post Reply