FLash-Test

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

FLash-Test

跳至解决方案
2,242 次查看
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 项奖励
回复
1 解答
2,029 次查看
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 项奖励
回复
8 回复数
2,204 次查看
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 项奖励
回复
2,106 次查看
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 项奖励
回复
2,080 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @ThomasSPana 

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

BR

Hang

0 项奖励
回复
2,054 次查看
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 项奖励
回复
2,030 次查看
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 项奖励
回复
1,983 次查看
ThomasSPana
Contributor I
Hello Hang,
thank you for your support!!
0 项奖励
回复
2,172 次查看
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 项奖励
回复
2,221 次查看
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 项奖励
回复