- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has anyone implemented permanent flash lock method for S25FL064L? What I would like to achieve is to permanently lock address region 0x00000000 to 0x00290000 (approx 2.6MB bottom up). A sequence flow of commands to be used/ Linux driver which includes security related code for S25FL064 would be of great help.
James.
Solved! Go to Solution.
- Labels:
-
Serial NOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi James,
I am attaching the linux driver which supports pointer protection for FL-L.
A simple code example for user space based on this driver is also attached.
Thanks,
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Krishna,
Many thanks for sending the driver and sample app. Will give it a go.
Cheers.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krishna,
The SPI NOR flash driver comes as a part of the SDK for the SoC I'm working on and is present in folder:
devkit/sources/linux/kernelspace/linux-kernel/kernel3.10-sti/drivers/mtd/devices/stm_spi_fsm.c
albeit without security routines. I'm not sure if the patch would work but will give it a go.
Thanks again.
James.