USB host fats integration to UI did not work.

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

USB host fats integration to UI did not work.

1,951 次查看
anasnadukkandiyil
Contributor III

Issue:

USB mass storage error on Integration of GUI and USB Mass storage host

 

Software Development environment

  • SDK version SDK_2_13_0_MIMXRT1170-EVK
  • IDE version  MCUXpressoIDE_11.7.0_9198.exe

Hardware used

        Display Panel-DEMO_PANEL_RK055AHD091

        IMXRT1176 EVK- SCH-32171 REV C2

        PENDANT 8GB iball USB mass storage

        Ellisys USB explorer

 

Deployment Diagram

 

 

To analyze resource requirement of combining USB host and GUI on we have integrated 2 sample apps in NXP sdk 2.13

  • evkmimxrt1170_host_msd_fatfs_freertos_cm7
  • evkmimxrt1170_ew_gui_pulse_oximeter

Code in fastfs sample is integrated to pulse oximeter sample

Task priority assigned

  • GUI priority 5
  • USB host task priority 4
  • USB MSD fatfs task 3

USB Interrupt priority 6

 

Test Program

On successful detection of USB mass storage device a USB fastfs test  code executed which will create 512 bytes of file in loop

 

Expected result

GUI and USB mass storage action executed parallel without performance issues

Actual result

 

USB fatfs write will fail if GUI is actively running

USB FATS is success only when GUI is suspended [done using vTaskSuspend(pxUITask)] when USB mass storage attach detected

 

Support required

Information on resource requirement of memory and CPU utilization following components

  • USB interrupt
  • USB host task
  • USB Mass storage application task
  • GUI task

 

 

Attachments

  • USB fail stack trace.png
  • Ellisys USB Analayser Software Setup.zip

 

 

 

  • USB error  IMXRT1170 EVK.ufo

 

  • Screen shot of analyser output USB error  IMXRT1170 EVK.bmp

 

  • Test code used evkmimxrt1170_ew_gui_pulse_oximeter.zip

 

 

 

标记 (1)
2 回复数

1,942 次查看
anasnadukkandiyil
Contributor III
0 项奖励
回复

1,670 次查看
ahmedhrabi
Contributor III

HI @anasnadukkandiyil,

I have the same issue here with LVGL task, using SDK 2.12.0.

Regards,
HRABI.


标记 (4)
0 项奖励
回复