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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
788 Views
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 Kudos
1 Solution
755 Views
riccardo_ertolu
Contributor II

Thanks for the info.

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

View solution in original post

0 Kudos
4 Replies
780 Views
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 Kudos
773 Views
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 Kudos
757 Views
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 Kudos
756 Views
riccardo_ertolu
Contributor II

Thanks for the info.

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

0 Kudos