Hello, my name is Pavel, and I will be supporting your case, I recommend download the SDK and there you will be find some examples about FATFS with USB or others like Flash IAP.
Select Board | MCUXpresso SDK Builder
Pavel_Hernandez_0-1731701267167.png
Select the examples and finish to start the import.
Best regards,
Pavel