Bus Fault - Active @ lv_mem.c [line 416]

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

Bus Fault - Active @ lv_mem.c [line 416]

94 Views
Gokberk
Contributor I

Hello,
I have been using the LVGL library in my project for a long time. Everything was fine. But I changed the display method. So normally I was using C Array format and displaying it. But now I'm using the .bin path and using open file functions. The GUI guide created some files for me. For example, lv_fs_rawfs.c and I merged it into my project. I am experiencing a bus fault problem when I try to fs_read the .bin file that I previously wrote to the XIP flash. What is the reason? Thank you.

Capture.PNG

Capture2.PNG

Gokberk_0-1715676691657.png

 

  

0 Kudos
1 Reply

35 Views
Alex_Wang
NXP Employee
NXP Employee

Hi, @Gokberk 

Whether your project in the port fatfs library, in the GUI Guider rt1060 component template there is sdcard demo can operate the file system, you can refer to.

Alex_Wang_0-1717034166169.pngAlex_Wang_1-1717034203858.png

 

I would like to know which code has a busfault during debugging? Was your project generated by GUI Guider?

Please tell me more about it.

Best regards, Alex

0 Kudos