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

Nor Flash Forum Discussions

sur_4652626
Level 1
Level 1

Hi,

S25FL512S flash in TI's K2G Evaluation Board. We are using TI RTOS on it.

We are facing issue when we flash image which is in size greater than 16MB and there is no issue if the image is less than 16MB

From the datasheet i understood , we have to enable extended addressing.

We tried below ways to acheive it,

1)Tried writing 0x80 with command 0x17(BRWR) inorder to enable extended addressing

2)Tried by using New instructions for extended addressing

It is not working in both the ways. Even image with  size in KB's also not flashed properly, when we use above 2 steps.

Kindly help us.

0 Likes
1 Solution

Hello Sudhanthiradasan,

After doing 1) or 2) step, the Flash accepts 4-byte (32-bit) address cycles. I suspect the SoC still send 3-byte (24-bit) address cycles. Please check the SoC side settings.

Thank you and have a nice day

Regards,

Bushra

View solution in original post

0 Likes
2 Replies
BushraH_91
Moderator
Moderator
Moderator
250 solutions authored First comment on blog 500 replies posted

Hello Sudhanthiradasan,

Thank you for contacting Cypress Community Forum. Can you please send screen shot of the issue? Is it possible to share the code?

Have a nice day
Regards,

Bushra

0 Likes

Hello Sudhanthiradasan,

After doing 1) or 2) step, the Flash accepts 4-byte (32-bit) address cycles. I suspect the SoC still send 3-byte (24-bit) address cycles. Please check the SoC side settings.

Thank you and have a nice day

Regards,

Bushra

0 Likes