about QSPI NOR flash lock/unlock

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

about QSPI NOR flash lock/unlock

531 Views
Guangyu_D
Contributor I

I'm trying to lock QSPI Flash.

Test on s32g274ardb2 board with bsp39. But when run command "flash_lock -i /dev/mtd0", it return error like this:

flash_lock: error!: could not check lock status device: /dev/mtd0

error 95 (Operation not supported)

It seems flash_lock operation doesn't supported by this driver.

However, flash_erase is OK.

I also try sf protect lock in u-boot. It doesn't work too.

So is NOR flash lock operation supported on current S32G BSP?

Thansk!

0 Kudos
Reply
1 Reply

520 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Guangyu_D

Thanks for the question.

I have checked the BSP user manual, as well as the latest code in kernel drivers, the locking operations are not supported, hence the flash_lock utility cannot be used.

 

Best Regards

Chenyin

0 Kudos
Reply