TSA not work

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

TSA not work

915件の閲覧回数
michelet1
Contributor II

Hello,

I have a problem with TSA

This is code added in uC:

#include "data_example.h"

 


uint8_t sin_value;
uint8_t angle_step;
FMSTR_TSA_TABLE_BEGIN(first_table)
FMSTR_TSA_RW_VAR(sin_value,FMSTR_TSA_FLOAT)
FMSTR_TSA_RW_VAR(angle_step,FMSTR_TSA_FLOAT)
FMSTR_TSA_TABLE_END()

FMSTR_TSA_TABLE_BEGIN(files_and_links)
FMSTR_TSA_MEMFILE("/example.pmpx", example, sizeof(example))
FMSTR_TSA_PROJECT("FreeMASTER Project (embedded in device)", "/example.pmpx")
FMSTR_TSA_TABLE_END()

FMSTR_TSA_TABLE_LIST_BEGIN()
FMSTR_TSA_TABLE(first_table)
FMSTR_TSA_TABLE(files_and_links)
FMSTR_TSA_TABLE_LIST_END()

where data_example.h is obtained from command line

bin2h -c example < provaTSA.pmpx > data_example.h

 

When restart freemaster i don't see any variable(without elf) and also i tried connection Wizard.

I used P&E Micro Communication Plug-in

I don't understand what the problem could be

Thanks

0 件の賞賛
1 返信

907件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello,

the TSA does not work over "direct memory access" JTAG/BDM communicaition. When using this approach, the FreeMASTER is only able to read and write variables (it needs variable addresses to be loded from the ELF file).

In order to use features like Recorder, TSA, Pipes and Password protection, you need to use a protocol-based communication between FreeMASTER and a target processor. So for example use UART, USB-CDC, CAN and similar communication. You can also use the PD-BDM communication which uses the JTAG direct memory access to exchange protocol commands and responses. In all these cases, you need a FreeMASTER driver to be running as a part of your embedded application in a target processor.

You can get the driver and example code from the board SDK packages at mcuxpresso.nxp.com.

Let me know if you need further assistance.. In this case, please specify what platform and what communication interface you want to use.

Regards,
Michal

 

0 件の賞賛