Application Command issue in 'examples/freemaster_examples/fmstr_example_pdbdm

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Application Command issue in 'examples/freemaster_examples/fmstr_example_pdbdm

71件の閲覧回数
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 件の賞賛
返信
1 返信

14件の閲覧回数
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 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2416528%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E3%80%8Cexamples%2Ffreemaster_examples%2Ffmstr_example_pdbdm%E3%81%AB%E3%81%8A%E3%81%91%E3%82%8B%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%AE%E5%95%8F%E9%A1%8C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2416528%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%A6%AA%E6%84%9B%E3%81%AA%E3%82%8B%E3%81%BF%E3%82%93%E3%81%AA%3C%2FP%3E%3CP%3Esdk.sdk_2.x_lpcxpresso54114%E3%82%92%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%81%97%E3%81%BE%E3%81%97%E3%81%9FFreeMASTER%E3%81%AE%E4%BE%8B%E3%81%AE%E3%81%BF%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%BB%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%A7%E5%A5%87%E5%A6%99%E3%81%AA%E6%8C%99%E5%8B%95%E3%81%8C%E8%A6%8B%E3%81%A4%E3%81%8B%E3%82%8B%E4%BB%A5%E5%A4%96%E3%81%AF%E3%80%81%E3%81%99%E3%81%B9%E3%81%A6%E3%81%AE%E9%9D%A2%E3%81%A7%E6%AD%A3%E5%B8%B8%E3%81%AB%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%3C%2FP%3E%3CP%3E%E8%A9%B3%E7%B4%B0%E3%81%AFGitHub%E3%81%AB%E6%8E%B2%E8%BC%89%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%81%93%E3%81%A1%E3%82%89%E3%82%92%E3%81%94%E8%A6%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fmcuxsdk-examples%2Fissues%2F10%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fmcuxsdk-examples%2Fissues%2F10%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E6%95%AC%E5%85%B7%3C%2FP%3E%3CP%3E%E3%83%91%E3%82%AA%E3%83%AD%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E