Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

FX_IO_ERROR with fx_media_format()

$
0
0

I'd like to use a filesystem on QSPI on SK-S7G2.

I create a new project with ThreadX (Blinky Thread) for SK-S7G2 board, I add "FileX on Block Media" framework and then I add the QSPI driver:

I need to format flash at poweon, so I enabled "Format media during initialization".

For security, I increase stack on Blinky Thread at 4096 bytes. When the code calls fx_media_format() on common_data.c file, the emulator goes into g_fx_media0_err_callback_internal() and function return FX_IO_ERROR.

The routine code is not visible, so is impossible to find a solution.

Can someone help me?

Thanks a lot

Roberto


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>