about QSPI NOR flash lock/unlock
02-20-2024
01:57 AM
707 Views
Guangyu_D
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
1 Reply
02-20-2024
11:34 PM
696 Views
chenyin_h
NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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