about QSPI NOR flash lock/unlock

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

about QSPI NOR flash lock/unlock

527 次查看
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 项奖励
回复
1 回复

516 次查看
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 项奖励
回复