Hello Sir:
How do I use Freemaster for MBD toolbox?
I use the example file " simple_profile_pnt.mdl " and change the setting for FlexCAN0(500K).
And open the Freemaster project " simple_profile_pnt.pmp " , the error screen as follows:
Freemaster configuration is as follows:
My adapter is "NI USB-8473" in the list of supported devices, and I used the adapter for MCToolbox(rappid564xl) before.
Can you help me to solve the problem?
Thanks a lot.
Best Regards,
Roger.
Solved! Go to Solution.
Roger,
Does the normal CAN communication works on your board ?
I mean if you take the CAN example, compile it and then use a standard CAN viewer can you see the messages from the board/processor coming to the CAN viewer ?
This will validate that the CAN port works correctly. Try this at 500kb CAN speed. It that works, then user any other example project that has no CAN initialization inside and with the workaround proposed in that thread at 500kb it should work. That workarround is only for 500kb CAN speed in both Simulink and Freemaster.
FYI, the Freemaster and standard CAN messages can't coexist over the same CAN port.
Hope it helps!
Daniel
Hi rogerdai,
I see that in the FreeMASTER project you set the bit rate to 1Mb, but in the Simulink model you set the baud rate to 500K. Try to see the baud rate to 1M in the model too.
Hi Paul:
Thanks your reply.
I try to change bit rate to 500Kb in the FreeMASTER, but the result is same.
And I push "Test Connection" buttom is as follows:
Thanks a lot.
Best Regards,
Roger
Hi Yi Jhan Tai,
Your issue looks very similar with this one: How do I use Freemaster for MBD toolbox MPC5744P rev2.0.0
Can you have a look?
Also, we need more specific details about your setup: board/processor/toolbox version.
Thank you!
Daniel
Hi Daniel:
Thanks your reply.
I have looking the issue How do I use Freemaster for MBD toolbox MPC5744P rev2.0.0
But his error code and adapter is different.
I try to replace "mbdtargetmainlibpnt.tlc", but result is same.
processor: SPC5744PFMLQ9
toolbox version: 2.0.0
Looking forward for your reply.
Thanks a lot.
Roger
Roger,
Does the normal CAN communication works on your board ?
I mean if you take the CAN example, compile it and then use a standard CAN viewer can you see the messages from the board/processor coming to the CAN viewer ?
This will validate that the CAN port works correctly. Try this at 500kb CAN speed. It that works, then user any other example project that has no CAN initialization inside and with the workaround proposed in that thread at 500kb it should work. That workarround is only for 500kb CAN speed in both Simulink and Freemaster.
FYI, the Freemaster and standard CAN messages can't coexist over the same CAN port.
Hope it helps!
Daniel
Hi Daniel:
Thanks your help.
I solve my problem when I change another board.
Thanks a lot.
Roger