How to use SD card for storage ML model?

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

How to use SD card for storage ML model?

172 Views
nnxxpp
Contributor IV

My board is MCXN947 but internal flash is 2 MB. It is small for my tflite model. I know that MCXN947 supports SD card. How can I use SD card to save and run my model? I want to the flow is same before. Before I use the internal flash and debug via USB.

Thank you.

Labels (1)
0 Kudos
Reply
3 Replies

96 Views
nnxxpp
Contributor IV

@Harry_Zhang 

Thanks.

So in my case the external flash maybe is the best solution. How do you think about it? Please give me some advice and tutorials.

0 Kudos
Reply

85 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @nnxxpp 

I think you can use external flash to store your code and XIP.

So you can refer to hello_world_qspi_xip example.

Harry_Zhang_0-1733983486154.png

BR

Harry

111 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @nnxxpp 

If you want to save your model in SD card, this is possible.

You can refer to this example.

Harry_Zhang_0-1733826319321.png

But MCXN947 doesn't support booting from SD card.

BR

Harry

0 Kudos
Reply