Problem with my project

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

Problem with my project

408 Views
JonAnder_Amante
Contributor II

Good morning,

I am using one of your evaluation boards, specifically the FRDM-A-S32K344 board, with the ‘S32K344_mc_pmsm_1sh_s32ct’ example in MATLAB and Simulink. The problem I’m having is that when I connect the interface to the Freemaster, some variables don’t appear and show up as a question mark; in other words, they aren’t being detected or aren’t implemented. Also, I’m trying to load the .elf file in case there was a compilation error, and I’m getting some errors saying that certain variables aren’t being detected.

Could you help me?

JonAnder_Amante_0-1780474522107.pngJonAnder_Amante_1-1780474600546.png


If i try to reload the file .elf I have:

JonAnder_Amante_2-1780474650900.png

 

0 Kudos
Reply
1 Reply

14 Views
SorinIBancila
NXP Employee
NXP Employee

Hello,

If variables are not detected in the FreeMASTER project make sure that the elf file is properly selected from the settings.

If it is properly set, check in the model if the variables are set to External or Volatile. Otherwise, the FreeMASTER is not able to detect them.

Best regards,
Sorin Bancila

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2375615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EProblem%20with%20my%20project%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2375615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGood%20morning%2C%3C%2FP%3E%3CP%3EI%20am%20using%20one%20of%20your%20evaluation%20boards%2C%20specifically%20the%20FRDM-A-S32K344%20board%2C%20with%20the%20%E2%80%98S32K344_mc_pmsm_1sh_s32ct%E2%80%99%20example%20in%20MATLAB%20and%20Simulink.%20The%20problem%20I%E2%80%99m%20having%20is%20that%20when%20I%20connect%20the%20interface%20to%20the%20Freemaster%2C%20some%20variables%20don%E2%80%99t%20appear%20and%20show%20up%20as%20a%20question%20mark%3B%20in%20other%20words%2C%20they%20aren%E2%80%99t%20being%20detected%20or%20aren%E2%80%99t%20implemented.%20Also%2C%20I%E2%80%99m%20trying%20to%20load%20the%20.elf%20file%20in%20case%20there%20was%20a%20compilation%20error%2C%20and%20I%E2%80%99m%20getting%20some%20errors%20saying%20that%20certain%20variables%20aren%E2%80%99t%20being%20detected.%3C%2FP%3E%3CP%3ECould%20you%20help%20me%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JonAnder_Amante_0-1780474522107.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JonAnder_Amante_0-1780474522107.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JonAnder_Amante_0-1780474522107.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387658i8F215A54C062C59F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JonAnder_Amante_0-1780474522107.png%22%20alt%3D%22JonAnder_Amante_0-1780474522107.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JonAnder_Amante_1-1780474600546.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JonAnder_Amante_1-1780474600546.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JonAnder_Amante_1-1780474600546.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387659i6DE05B5A6E528AC6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JonAnder_Amante_1-1780474600546.png%22%20alt%3D%22JonAnder_Amante_1-1780474600546.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIf%20i%20try%20to%20reload%20the%20file%20.elf%20I%20have%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JonAnder_Amante_2-1780474650900.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JonAnder_Amante_2-1780474650900.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JonAnder_Amante_2-1780474650900.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387661iDC2633C4CEF13538%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JonAnder_Amante_2-1780474650900.png%22%20alt%3D%22JonAnder_Amante_2-1780474650900.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2404229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20with%20my%20project%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2404229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20data-olk-copy-source%3D%22MessageBody%22%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20variables%20are%20not%20detected%20in%20the%20FreeMASTER%20project%20make%20sure%20that%20the%20elf%20file%20is%20properly%20selected%20from%20the%20settings.%20%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20it%20is%20properly%20set%2C%20check%20in%20the%20model%20if%20the%20variables%20are%20set%20to%20External%20or%20Volatile.%20Otherwise%2C%20the%20FreeMASTER%20is%20not%20able%20to%20detect%20them.%20%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2C%20%3CBR%20%2F%3ESorin%20Bancila%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E