Application Command issue in 'examples/freemaster_examples/fmstr_example_pdbdm

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

Application Command issue in 'examples/freemaster_examples/fmstr_example_pdbdm

153 Views
pberna67
Contributor II

Dear All

Downloaded sdk.sdk_2.x_lpcxpresso54114 with only FreeMASTER examples. It works correctly in any aspect apart the Application Command section where I find strange behavior

More details has been posted in github here:

https://github.com/nxp-mcuxpresso/mcuxsdk-examples/issues/10


Regards

Paolo

 

0 Kudos
Reply
1 Reply

96 Views
MichalH
NXP Apps Support
NXP Apps Support

Hello, if I understand the issue correctly, you do not see a reason why command 0x10 returns code 16 in the example application.

The command 0x10 is registered for a callback function:

MichalH_0-1790669419958.png

So the function "my_appcmd_handler" gets called automatically when FreeMASTER probes the command execution.  The example code of this callback is quite trivial:

MichalH_1-1790669515160.png

Which is the reason you get the return code 16 (=0x10) as answer.

I also confirm there is an issue in FreeMASTER with displaying a message for unknown responses as you reported for app.command with Id 0x02. The response 0xcd should be reported as "unknown response" but generates no message at all.

Thanks,
Michal

 

 

0 Kudos
Reply