SSD - FlashInit issue for data flash on Bolero 3M (MPC5646C)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SSD - FlashInit issue for data flash on Bolero 3M (MPC5646C)

跳至解决方案
1,053 次查看
riccardo_ertolu
Contributor II

Hello everybody,

I have a question about Standard Software Driver SSD for Bolero 3M family. I’m trying MPC5646C and, if I call the flash init for data flash, I get back bad data.

I’m using xPC56xx_C90LC just downloaded from the website.

Before calling the flash init I set the reg base to 0xC3F8C000, Programmable size to 4 and the Base of main array to 0x00800000 into the SSD_CONFIG struct.

After executing the flash init I read back the SSD_CONFIG and I find:

  • Size = 0x01000000
  • Low blocks = 255
  • Mid blocks = 0
  • High blocks = 128

And these data are completely wrong. While, if I use the equivalent SSD supplied by ST, I get the correct data.

Do you have any idea of what could be the problem?

Is it possible that there is a bug in the SSD?

Thanks in advance

0 项奖励
回复
1 解答
1,020 次查看
riccardo_ertolu
Contributor II

Thanks for the info.

Please, plan to fix this issue in the next release.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,045 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Riccardo,

I confirmed it's a bug in the drivers. I will report it but not sure if and when it will be fixed.

I can see that it works as expected in previous version of the drivers (1.0.2) - attached if needed...

Sorry for inconvenience.

Regards,

Lukas

 

0 项奖励
回复
1,038 次查看
riccardo_ertolu
Contributor II

Thanks for the info.

What are the differences between 1.0.2 and 1.0.3?

Is it possible that something which is working on 1.0.3 may not work anymore on 1.0.2?

Are you planning to release a new version 1.0.4 to fix this issue?

Thanks

0 项奖励
回复
1,022 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I'm afraid there's no plan to update the drivers now.

Release notes are attached. There are some differences but none of them seems to be critical.

Another workaround (better one in my opinion) is to use 1.0.3 drivers and initialize the ssdConfig structure manually. FlashInit does only two things - it clear error flags in MCR registers and it initializes ssdConfig.

Regards,

Lukas

 

0 项奖励
回复
1,021 次查看
riccardo_ertolu
Contributor II

Thanks for the info.

Please, plan to fix this issue in the next release.

0 项奖励
回复