Hello, i'm using the VIT solution, and i create a model in portuguese language. I copy the VIT_Model_pt.h to vit/CortexM7/Lib, and made the changes in code to call the model. But, in this line of code, i have a VIT_INVALID_MODEL:
#ifdef VIT_MODEL_PT
case PT:
VIT_Status = VIT_SetModel(VIT_Model_pt, MODEL_LOCATION);
break;
#endif
I want to know if i have a way to test my model, or if i made some wrong configuration in my code. Thanks for the help.
Hi @andréluis,
How did you create the model that you are trying to use? If you use the default VIT_Model_pt.h model from the example codes, does it work properly? Or does it also give an error message?
Hello, in the case i use the following link: https://vit.nxp.com/#/generate
So, i copy the model to my project and debug the firmware. And i received the error VIT_INVALID_MODEL. I tried with english too, and receive the same error, so i think it's can be the link or the creation of the model where is the problem.
Hi @andréluis,
What about using the default VIT_Model_pt.h model from the example codes, does it work properly, or does it also give an error message as well?
Are you basing your application on any example code?
Hello, now i'm using the maestro_record example. My board is the MIMXRT1060-EVK. I updated my SDK to 2.16. In my example, i dont have a default model in VIT_Model_pt. I have another 10 languages, but not the portuguese.
Hi @andréluis,
Try navigating to <SDK installation folder>\SDK_2_16_000_EVK-MIMXRT1060.zip\middleware\vit\CortexM7\Lib and you should find the default VIT_Model_pt.h file. Please try importing that one.
Hello, i tried the model in <SDK installation folder>\SDK_2_16_000_EVK-MIMXRT1060.zip\middleware\vit\CortexM7\Lib and it's not worked. I will try again but in the moment it's no working. How can i make this work? Thanks for the help.