WriteEEEPROM request

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

WriteEEEPROM request

Postby pierdela » Thu Sep 20, 2018 5:29 am

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: 1132
Joined: Thu Feb 26, 2015 9:45 pm

Re: WriteEEEPROM request

Postby Basicmicro Support » Thu Sep 20, 2018 10:31 am

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

Postby pierdela » Fri Sep 21, 2018 3:46 am

Oki oki ! thank you for the explanations.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest