Running into issues using FreeMASTER with S32K3, Simulink MBDT, Segger JLink

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

Running into issues using FreeMASTER with S32K3, Simulink MBDT, Segger JLink

766 Views
beginner100
Contributor II

Hi,

 

We have our own designed hardware which uses S32K311. 

I was successfully able to build and flash the target from within Simulink itself using Segger JLink (Ver 7.98d)

I have created a FreeMASTER project to watch/modify a Data Store Memory variable. I configured the communication wizard with Segger JLink and confirmed that the connection is successful. 

Once I hit "GO" button in FreeMASTER, it looks like the target is going into a freeze state, say for example in this model I have an Alive LED blinking and it stops after hitting "GO" button. I hit "STOP" later and nothing changes. 

Once I do a power reset, the program is back up and running default and did not even take the variable value I changed with.

Do I have to use FreeMASTER Config block (although it says the connection type is Serial/CAN) ? Is it possible to watch/modify variables without using FreeMASTER Config block in the model?

schitta_0-1752164346161.png

 

Please let me know what's missing.

Tags (1)
0 Kudos
Reply
1 Reply

246 Views
dragostoma
NXP Employee
NXP Employee

Hi, @beginner100,

The FreeMASTER Config block is mandatory when trying to monitor the variables in FreeMASTER project. Could you please update us on your current progress and, if possible, provide additional details regarding your FreeMASTER configuration settings?

I would also recommend installing the latest S32K3 Toolbox version 1.8.0 (NXP Model-Based Design Toolbox for S32K3 version 1.8.0 - Product Release Announcement).

 

Best regards,

Dragos

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2131823%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERunning%20into%20issues%20using%20FreeMASTER%20with%20S32K3%2C%20Simulink%20MBDT%2C%20Segger%20JLink%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2131823%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWe%20have%20our%20own%20designed%20hardware%20which%20uses%20S32K311.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20successfully%20able%20to%20build%20and%20flash%20the%20target%20from%20within%20Simulink%20itself%20using%20Segger%20JLink%20(Ver%207.98d)%3C%2FP%3E%3CP%3EI%20have%20created%20a%20FreeMASTER%20project%20to%20watch%2Fmodify%20a%20Data%20Store%20Memory%20variable.%20I%20configured%20the%20communication%20wizard%20with%20Segger%20JLink%20and%20confirmed%20that%20the%20connection%20is%20successful.%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20I%20hit%20%22GO%22%20button%20in%20FreeMASTER%2C%20it%20looks%20like%20the%20target%20is%20going%20into%20a%20freeze%20state%2C%20say%20for%20example%20in%20this%20model%20I%20have%20an%20Alive%20LED%20blinking%20and%20it%20stops%20after%20hitting%20%22GO%22%20button.%20I%20hit%20%22STOP%22%20later%20and%20nothing%20changes.%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20I%20do%20a%20power%20reset%2C%20the%20program%20is%20back%20up%20and%20running%20default%20and%20did%20not%20even%20take%20the%20variable%20value%20I%20changed%20with.%3C%2FP%3E%3CP%3EDo%20I%20have%20to%20use%20FreeMASTER%20Config%20block%20(although%20it%20says%20the%20connection%20type%20is%20Serial%2FCAN)%20%3F%20Is%20it%20possible%20to%20watch%2Fmodify%20variables%20without%20using%20FreeMASTER%20Config%20block%20in%20the%20model%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22schitta_0-1752164346161.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22schitta_0-1752164346161.png%22%20style%3D%22width%3A%20363px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347012i5141B0F3A6DD71D4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22schitta_0-1752164346161.png%22%20alt%3D%22schitta_0-1752164346161.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EPlease%20let%20me%20know%20what's%20missing.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2267762%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Running%20into%20issues%20using%20FreeMASTER%20with%20S32K3%2C%20Simulink%20MBDT%2C%20Segger%20JLink%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267762%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251278%22%20target%3D%22_blank%22%3E%40beginner100%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%26nbsp%3B%3CSPAN%3E%3CSTRONG%3EFreeMASTER%20Config%3C%2FSTRONG%3E%20block%20is%20mandatory%20when%20trying%20to%20monitor%20the%20variables%20in%20FreeMASTER%20project.%26nbsp%3BCould%20you%20please%20update%20us%20on%20your%20current%20progress%20and%2C%20if%20possible%2C%20provide%20additional%20details%20regarding%20your%20FreeMASTER%20configuration%20settings%3F%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20would%20also%20recommend%20installing%20the%20latest%20S32K3%20Toolbox%20version%20%3CSTRONG%3E1.8.0%20%3C%2FSTRONG%3E(%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FNXP-Model-Based-Design-Toolbox-for-S32K3-version-1-8-0-Product%2Fta-p%2F2261332%22%20target%3D%22_blank%22%3ENXP%20Model-Based%20Design%20Toolbox%20for%20S32K3%20version%201.8.0%20-%20Product%20Release%20Announcement%3C%2FA%3E%3C%2FSTRONG%3E).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EDragos%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E