Hi,
I try to run freemaster with CAN communication on MPC5746R ,and I use the driver "FreeMASTER_Serial_Communication_Driver_V2.0".Now I find that the CAN communication protocol in freemaster 3.0 and freemaster 2.0 are different.When starting communication in freemaster ,the messages are shown as the picture below.Which freemaster should I choose ?
freemaster3.0
freemaster2.0
已解决! 转到解答。
Hello,
yes there are two versions of the communication protocol. MCU driver v2.0 implements the older version and is widely available for majority of NXP and legacy Freescale or even Motorola platforms. MCU driver v3.0 implements the new version; it is officially available for the CortexM-based platforms. Some unofficial ports also exist for S12Z, Power Architecture and DSC56F800EX (they were made available earlier through this community site).
FreeMASTER compatibility:
We definitely recommend to use the latest FreeMASTER 3.0 going forward. Please report any incompatibilities which would prevent you from migrating from older versions.
Best regards,
Michal
Hello,
yes there are two versions of the communication protocol. MCU driver v2.0 implements the older version and is widely available for majority of NXP and legacy Freescale or even Motorola platforms. MCU driver v3.0 implements the new version; it is officially available for the CortexM-based platforms. Some unofficial ports also exist for S12Z, Power Architecture and DSC56F800EX (they were made available earlier through this community site).
FreeMASTER compatibility:
We definitely recommend to use the latest FreeMASTER 3.0 going forward. Please report any incompatibilities which would prevent you from migrating from older versions.
Best regards,
Michal
There can be more reasons why variable values cannot be read:
I recommend to open Tools / Communication Debug Log and select "All" details. You should get more information about the issue.
Regards,
Michal
Hi Michal,
You are right.FMSTR_USE_TSA should be defined "0" because I use ELF,and then the FreeMASTER works well.But when adding an oscilloscope,the CAN communication will be unstable and some errors appear in Communication Debug Log.The unknown error code is 0x80004005.CAN you help me solve it?
Best regards,
HJ
Can you tell me what CAN interface are you using on the computer? Can you try to lower the communication baudrate and make sure the CAN bus is properly terminated?
When this issue occurs, does the other variables (e.g. in Variable Watch) still work or do they show question marks?
Thanks,
Michal
Hi,
I use ZLG device (USBCAN-II)and its baudrate is 500K.The error code occurs only when the oscilloscope is used.If I delete the oscilloscope ,the error code will disappear immediately.Even this issue occurs,the variables still work.
Hello,
ok, this looks like a problem with Oscilloscope variables. Are you sure you only have "standard" 8, 16 or 32 bit variables in the scope?
Let's make few experiments:
Thank you,
Michal
Hi Michal,
There is just single variable(8 bit) in the scope and the FMSTR_MAX_SCOPE_VARS is 8.
The experiment results:
But it seems that no matter FMSTR_USE_SCOPE is 0 or 1,the general graphing feature is OK.