S25HS512T芯片出错恢复出厂设置问题( restore Flash to the factory default value)

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

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

cross mob
malaludan
Level 1
Level 1
First like received 5 sign-ins First reply posted

您好!

我想向您咨询一个问题:我在使用贵公司S25HS512T flash芯片时,使用candenceqspi控制器对flash芯片进行寄存器配置,可能是由于配置出错,现在本人已无法对贵司的flash芯片寄存器进行读写。

无论我如何配置,所有寄存器读回来的数值都是0xFF,导致存储数据也无法正常读写,目前只能正确读出flashID

请问该问题如何解决,我现在想将flash恢复到出厂默认值,包括寄存器在内,请问该如何操作!

期待您能尽快回复!

谢谢!

 

Hello! 

I would like to ask you a question: when I used your company's S25HS512T flash chip, I used Candence's QSPI controller to configure the register of the flash chip. It may be due to configuration error, now I can no longer read and write the register of your company's flash chip. 

No matter how I configure the flash, the value read back from all registers is 0xFF, so the memory data cannot be read and written normally. At present, only the ID of Flash can be read correctly. 

May I ask how to solve this problem? Now I want to restore Flash to the factory default value, including the register, may I ask how to operate!

Looking forward to your early reply!

Best Wishes!

1 解答
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

 

Thank you for contacting Infineon Technologies.

Could you please let us now which all registers are you reading?

Can you please provide waveform of the operation.

Also please  let us know what is the sequence of operations you performed on our flash before this error?

 

Thanks and Regards,

Yuvraj 

在原帖中查看解决方案

0 点赞
7 回复数
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

 

Thank you for contacting Infineon Technologies.

Could you please let us now which all registers are you reading?

Can you please provide waveform of the operation.

Also please  let us know what is the sequence of operations you performed on our flash before this error?

 

Thanks and Regards,

Yuvraj 

0 点赞
malaludan
Level 1
Level 1
First like received 5 sign-ins First reply posted

now some question have been solved!but now occurs a new question:

the value read from configuration register 1 is 0x34, it indicates bit[3], bit[4] and bit[5] has been set to 1, so how I  set this bit to 0 as factory defult.

malaludan_0-1660029737358.png

 

0 点赞
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

 

You can refer page 91 of 141 of the datasheet and perform WRREG_0_1 operation.

 

Thanks and Regards,

Yuvraj

0 点赞
malaludan
Level 1
Level 1
First like received 5 sign-ins First reply posted

I have uses this method to solve some questions, but those bit are read only. so can you tell me how I could restore Flash's all configuration as the factory default value.

0 点赞
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

 

Unfortunately, there is no command to reset flash to factory defaults.

You can refer page 55 of the data sheet which explain more about Write registers transactions.

 

Infineon has its own drivers for S25HS512 you can get them at: https://www.infineon.com/cms/en/product/promopages/semper-solutions-hub/#software

 

Thanks and Regards,

Yuvraj

0 点赞
malaludan
Level 1
Level 1
First like received 5 sign-ins First reply posted

ok!thank you

0 点赞
malaludan
Level 1
Level 1
First like received 5 sign-ins First reply posted

Hi, there is a new question here:

the  address of ASP PPB Access Register (PPAV) and ASP Dynamic Block Access Register (DYAV) have not been showed in the datasheet.

0 点赞