VIT solution and portuguese language

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

VIT solution and portuguese language

699 Views
andréluis
Contributor II

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. 

Tags (1)
0 Kudos
Reply
6 Replies

636 Views
EdwinHz
NXP TechSupport
NXP TechSupport

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?

0 Kudos
Reply

630 Views
andréluis
Contributor II

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. 

0 Kudos
Reply

610 Views
EdwinHz
NXP TechSupport
NXP TechSupport

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?

0 Kudos
Reply

607 Views
andréluis
Contributor II

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. 

0 Kudos
Reply

547 Views
EdwinHz
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply

429 Views
andréluis
Contributor II

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. 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2179952%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179952%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20i'm%20using%20the%20VIT%20solution%2C%20and%20i%20create%20a%20model%20in%20portuguese%20language.%20I%20copy%20the%26nbsp%3BVIT_Model_pt.h%20to%20vit%2FCortexM7%2FLib%2C%20and%20made%20the%20changes%20in%20code%20to%20call%20the%20model.%20But%2C%20in%20this%20line%20of%20code%2C%20i%20have%20a%20VIT_INVALID_MODEL%3A%3C%2FP%3E%3CP%3E%23ifdef%20VIT_MODEL_PT%3CBR%20%2F%3Ecase%20PT%3A%3CBR%20%2F%3EVIT_Status%20%3D%20VIT_SetModel(VIT_Model_pt%2C%20MODEL_LOCATION)%3B%3CBR%20%2F%3Ebreak%3B%3CBR%20%2F%3E%23endif%3C%2FP%3E%3CP%3EI%20want%20to%20know%20if%20i%20have%20a%20way%20to%20test%20my%20model%2C%20or%20if%20i%20made%20some%20wrong%20configuration%20in%20my%20code.%20Thanks%20for%20the%20help.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184679%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184679%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20i%20tried%20the%20model%20in%26nbsp%3B%3CSPAN%3E%3CSDK%20installation%3D%22%22%20folder%3D%22%22%3E%5CSDK_2_16_000_EVK-MIMXRT1060.zip%5Cmiddleware%5Cvit%5CCortexM7%5CLib%20and%20it's%20not%20worked.%20I%20will%20try%20again%20but%20in%20the%20moment%20it's%20no%20working.%20How%20can%20i%20make%20this%20work%3F%20Thanks%20for%20the%20help.%26nbsp%3B%3C%2FSDK%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184105%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184105%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111757%22%20target%3D%22_blank%22%3E%40andr%C3%A9luis%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ETry%20navigating%20to%20%3CSDK%20installation%3D%22%22%20folder%3D%22%22%3E%5CSDK_2_16_000_EVK-MIMXRT1060.zip%5Cmiddleware%5Cvit%5CCortexM7%5CLib%20and%20you%20should%20find%20the%20default%20VIT_Model_pt.h%20file.%20Please%20try%20importing%20that%20one.%3C%2FSDK%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2182527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20now%20i'm%20using%20the%20maestro_record%20example.%20My%20board%20is%20the%20MIMXRT1060-EVK.%20I%20updated%20my%20SDK%20to%202.16.%20In%20my%20example%2C%20i%20dont%20have%20a%20default%20model%20in%20VIT_Model_pt.%20I%20have%20another%2010%20languages%2C%20but%20not%20the%20portuguese.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2182387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111757%22%20target%3D%22_blank%22%3E%40andr%C3%A9luis%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EWhat%20about%20using%20the%20default%26nbsp%3B%3CSPAN%3EVIT_Model_pt.h%20model%20from%20the%20example%20codes%2C%20does%20it%20work%20properly%2C%20or%20does%20it%20also%20give%20an%20error%20message%20as%20well%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAre%20you%20basing%20your%20application%20on%20any%20example%20code%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181586%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181586%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20in%20the%20case%20i%20use%20the%20following%20link%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fvit.nxp.com%2F%23%2Fgenerate%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fvit.nxp.com%2F%23%2Fgenerate%3C%2FA%3E%3C%2FP%3E%3CP%3ESo%2C%20i%20copy%20the%20model%20to%20my%20project%20and%20debug%20the%20firmware.%20And%20i%20received%20the%20error%26nbsp%3BVIT_INVALID_MODEL.%20I%20tried%20with%20english%20too%2C%20and%20receive%20the%20same%20error%2C%20so%20i%20think%20it's%20can%20be%20the%20link%20or%20the%20creation%20of%20the%20model%20where%20is%20the%20problem.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181473%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VIT%20solution%20and%20portuguese%20language%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181473%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111757%22%20target%3D%22_blank%22%3E%40andr%C3%A9luis%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EHow%20did%20you%20create%20the%20model%20that%20you%20are%20trying%20to%20use%3F%20If%20you%20use%20the%20default%26nbsp%3B%3CSPAN%3EVIT_Model_pt.h%20model%20from%20the%20example%20codes%2C%20does%20it%20work%20properly%3F%20Or%20does%20it%20also%20give%20an%20error%20message%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E