about QSPI NOR flash lock/unlock

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

about QSPI NOR flash lock/unlock

535件の閲覧回数
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 返信

524件の閲覧回数
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 件の賞賛
返信