Flash Array Integrity Check for MPC5744P

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash Array Integrity Check for MPC5744P

2,261件の閲覧回数
Mennazz
Contributor II

Hello, I tried to implement the FAIC for the MPC5744P following the instructions stated in the reference manual, but it ends up with different seeds. I checked your example in the attached link, but I didn't get what every function does as they are not written in C and have no comments, and I can't use it directly as it is implemented on a different compiler, so could you please explain in detail what every function does?

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-FlashArrayIntegrityCheck-test-S... 

0 件の賞賛
返信
5 返答(返信)

2,234件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you provide specific details describing about differences you are mentioning? Have you followed example below?

0 件の賞賛
返信

2,229件の閲覧回数
Mennazz
Contributor II

As I mentioned above, your example has been built on the GHS compiler, and I am working on the GCC compiler, so I followed the steps stated in the reference manual.

1. initialising flash (clearing error bits)

2. initialising UTEST mode by writing a password to UT0

3. Setting the appropriate SELn bits (SEL2 = 0x1)

4. Setting the AIS bit for sequential sequence

5. No breakpoints

6. seeding UMn registers with offline-generated MISR

7. Setting the AIE bit to start the check

I tried to follow your example, but all your functions are written in hexadecimal, so I couldn't figure out what they really do.
You can kindly check out my attached project.

0 件の賞賛
返信

2,168件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Flash SSD drivers you may download here, functionality is described in the manual you will find in the installation directory:
https://www.nxp.com/webapp/Download?colCode=C55_NVM_SSD

The driver itself use C-arrays (i.e. binary code) thus it is basically compiler independent.

What you mean you have different seeds? You mean checked value does not fit to stored, correct? It is important to exclude stored checksum from flash area where checksum are being calculated above.

0 件の賞賛
返信

2,050件の閲覧回数
Mennazz
Contributor II

Okay, it works, but can I ask you why in the example the endianness is set to little endian while the MPC5744P is big endian?

0 件の賞賛
返信

2,006件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

MISR_gen tool uses endianess option:

c:\Program Files (x86)\Freescale\Standard Software Driver v1.1.0\MPC57xx\Tool\MISR_gen\

However SSD package it is not maintained anymore.

0 件の賞賛
返信