FLash-Test

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

FLash-Test

Jump to solution
2,231 Views
ThomasSPana
Contributor I

Hello NXP-Team,

 

iam trying to check my flash-area with your function :

FS_CM33_FLASH_HW16() ;

unfortunatally it doesnt work, the return value is constant null.

my µC-device is the LPC5536.Are there any examples to test my lpc5536 ?

 

0 Kudos
Reply
1 Solution
2,018 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @ThomasSPana 

If you want to run this project successfully, please refer to 

SDK_2_16_000_LPCXpresso55S36\middleware\safety_iec60730b\docs\safety\IEC60730B_Example_User_Guide_LPC55Sxx_v4_4.pdf.

BR

Harry

View solution in original post

0 Kudos
Reply
8 Replies
2,193 Views
ThomasSPana
Contributor I

Hello Hang,

thank you for your quick replay. I have tested the flashiap-example and it works. When i add the

IEC60730b-library and test the FS_CM33_FLASH_HW16()- function it return NULL. (CRC-Fault) . I use the LPC5536  µController....  Do i need to activate any function for the HW-CRC-Unit ? 

0 Kudos
Reply
2,095 Views
ThomasSPana
Contributor I

Hello Hang, 

currently i test the "lpcxpresso55s36_safety_iec60730b_Flash_Test" PROJECT with the LPC55S3x-EVK Board. If i run the project, i get the same error-code "2" -> Flash-Test error. 

Could you also evaluate the project on an LPC55s3x kit?

 

0 Kudos
Reply
2,069 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @ThomasSPana 

Can you share this project? So i can test it.

BR

Hang

0 Kudos
Reply
2,043 Views
ThomasSPana
Contributor I

Hi Hang,
i have already send you a link to my project . Additionally it is possible to setup this example through "MCUexpressoIDE".
My project-configureation : SDK-Wizard-> LPCxpresso55s36 eval-board (sdk_2.xlpc55s36)-> components (Others -> safety) NXP-Safety-IEC60730 ->advaced project settings (default) . That all. After that you can run this project and the flash-error fault should occure


BR
Thomas

0 Kudos
Reply
2,019 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @ThomasSPana 

If you want to run this project successfully, please refer to 

SDK_2_16_000_LPCXpresso55S36\middleware\safety_iec60730b\docs\safety\IEC60730B_Example_User_Guide_LPC55Sxx_v4_4.pdf.

BR

Harry

0 Kudos
Reply
1,972 Views
ThomasSPana
Contributor I
Hello Hang,
thank you for your support!!
0 Kudos
Reply
2,161 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @ThomasSPana 

Given that it returns NULL, this likely indicates a CRC fault or a hardware setup issue with the CRC module on the LPC5536.

The LPC5536 has a built-in hardware CRC module, but it may need to be initialized or enabled before use. So you  needs to be set to enable the CRC peripheral.

You can refer to CRC examples about how to use CRC.

BR

Hang

0 Kudos
Reply
2,210 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @ThomasSPana 

You can download the LPC55S36 SDK from the Select Board | MCUXpresso SDK Builder (nxp.com).

And you can refer to the flashiap and flexspi examples.

HangZhang_0-1730440156797.png

 

These examples should demonstrate basic flash operations and can be a good starting point for your testing.

BR

Hang

0 Kudos
Reply