KSDK SDHC Driver assert(req) Issue

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

KSDK SDHC Driver assert(req) Issue

444 次查看
kyati
Contributor II

Hello all,

 

I have been doing some long term testing with SD card writes and have very rarely (every few days) had an issue within the SDHC_DRV_DataIrq function.

I am currently using the following:

  • K64-FRDM board
  • KDS 3.0.0 with processor expert enabled
  • KSDK 1.3
  • FatFS 0.09b
  • FreeRTOS 8.2

After writing data for some time correctly (only a few MB were written in my last test before the issue), I get the assert that the request pointer is NULL in SDHC_DRV_DataIrq of fsl_sdhc_driver.c. This has only happened a few times so I do not have that many details about the issue. Are there any known problems that can result in this error? Can anyone provide information about what may be causing this issue or guide me in some other tests to perform?

 

Thanks,

 

Jared

标签 (1)
标记 (3)
0 项奖励
1 回复

300 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Jared Evans,

do you mean you got the assert as below?

pastedImage_0.png

if you have a NULL req, that might mean you didn't define a right SDHC request, please refer to the KSDK API RM, 61.12.3 SDHC Issuing a request to the card, for details.

BTW, The coming KSDK 2.0 has updated fatfs and freertos as well, and it also provides a bare metal sdcard_fatfs demo for FRDM-K64F board, so maybe you can use this demo as a starting point for your application when ksdk 2.0 is available.


Have a great day,
Kan

NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励