S25FL064L

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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.

View solution in original post

0 Likes
3 Replies
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

Hello Krishna,

Many thanks for sending the driver and sample app. Will give it a go.

Cheers.

Regards,

James.

0 Likes
Anonymous
Not applicable

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.

0 Likes