TSA not work

cancel
Showing results for 
Search instead for 
Did you mean: 

TSA not work

103 Views
michelet1
Contributor I

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 Kudos
1 Reply

95 Views
MichalH
NXP Employee
NXP Employee

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 Kudos