Skip to main content
Araqi.1
Associate
May 28, 2021
Solved

Can't change sector security status using I2C on M24LR04e

  • May 28, 2021
  • 3 replies
  • 1309 views

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!!

This topic has been closed for replies.
Best answer by Ulysses HERNIOSUS

Hi Araqi.1,

Did you present the I2C password before writing?

Regards, Ulysses

3 replies

Ulysses HERNIOSUS
Technical Moderator
May 28, 2021

Hi Araqi.1,

Did you present the I2C password before writing?

Regards, Ulysses

Araqi.1
Araqi.1Author
Associate
May 28, 2021

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 =) !!

Araqi.1
Araqi.1Author
Associate
May 28, 2021

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
Technical Moderator
May 31, 2021

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