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

Hyper Flash Forum Discussions

Josh2423
Level 1
First reply posted First question asked Welcome!
Level 1

The blank check on S29GL128S10FHIV20 does not work for me.

I issue the command:

(*flash_cfi_dev->write_native)((alt_u8*)flash_cfi_dev->dev.base_addr + addr + 0x555, 0x33);

and then repeatedly the command:

status = IORD_8DIRECT(flash_cfi_dev->dev.base_addr + addr, 0); // Read status register

waiting for bit 0x80 to drop, indicating that the erase check has started.

Then I wait for the erase check to finish.

If I use the command 

status = IORD_8DIRECT(flash_cfi_dev->dev.base_addr + addr, 0);

I always get 0x28. No matter how long I wait.

When I use the command sequence:

(*flash_cfi_dev->write_command)(flash_cfi_dev->dev.base_addr, 0x555, (alt_u8)0x70);
status = IORD_8DIRECT(flash_cfi_dev->dev.base_addr + addr, 0);

I always get 0x80.

I get the same above results whether the sector is erased or not.

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

Hello,

Thank you for contacting Cypress Technical Support, an Infineon Technologies Company. Currently we are looking into the issue and will get back to you as soon as we find the resolution.

Regards,

Bushra

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

Hello,

Please confirm that the all other commands like program/erase/CFI read are working on your system.

Thank you

Regards,

Bushra

 

0 Likes
Josh2423
Level 1
First reply posted First question asked Welcome!
Level 1

Hi Bushra, Thank you for the follow-up.

Yes, all other commands (read, write and erase) work great.

Thanks,

Josh

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

Hello,

So, please share your code snippet for sector erase.

And the part number is VIO model. Please make sure you supply VIO correctly.

Thank you

Regards,

Bushra

0 Likes