cancel
Showing results for 
Search instead for 
Did you mean: 

Can't change sector security status using I2C on M24LR04e

Araqi.1
Associate II

Hello community,

I'm actually working on an NFC application using m24lr04e. I use hal_i2c_mem_read/write to read and write data to eeprom. I'm able to read and write user memory area. but for system memory i can only read it. I'm not able to change sector security status for RF, but i can read them. I don't know what might be the issue. Please help me.

thanks!!

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

Hi Araqi.1,

Did you present the I2C password before writing?

Regards, Ulysses

View solution in original post

4 REPLIES 4
Ulysses HERNIOSUS
ST Employee

Hi Araqi.1,

Did you present the I2C password before writing?

Regards, Ulysses

Araqi.1
Associate II

Hello Ulysses,

Thanks for replying.

no I didn't present i2c pwd. because I didn't changed i2c security configuration. Do I need to present it even if I didn't activate security on I2C mode?

if yes, how can i do it using just HAL_I2C functions?

thank you for help 🙂 !!

Hello Ulysses,

Thanks for replying.

no I didn't present i2c pwd. because I didn't changed i2c security configuration. Do I need to present it even if I didn't activate security on I2C mode?

if yes, how can i do it using just HAL_I2C functions?

thank you for help =) !!

Ulysses HERNIOSUS
ST Employee

Hi Araqi.1,

from looking at the DS I don't see much in system memory that can be written. And lock bits seem to need always the Present Password procedure.

Regards, Ulysses