FreeMaster using PE micro debugger

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FreeMaster using PE micro debugger

跳至解决方案
3,643 次查看
Stark_
Contributor II

As mentioned FreeMASTER support real-time debug monitor and data visualization tool that enables runtime configuration and tuning of embedded software applications.

I tried to connect NXP microcontroller and FreeMaster through PE micro multi universal debugger for monitoring the variable at run time. But i cant make it proper. 

Is is possible  to use FreeMASTER using PE micro multi universal debugger for monitoring data?

 

0 项奖励
回复
1 解答
3,596 次查看
MichalH
NXP Apps Support
NXP Apps Support

There are two important points:

  1. The S32 Design Studio (debugger) must be disconnected from the target when attaching FreeMASTER. The P&E probes cannot handle simultaneous connection from two client applications.
  2. The FreeMASTER plug-in shall know what MCU part number you are using.  Go to Project/Options, open the configuration dialog and select the MCU type like in the picture below:

MichalH_1-1743674891142.png

 

Regards,
Michal

在原帖中查看解决方案

8 回复数
3,627 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello,

from your screenshot it seems like a problem in FreeMASTER installation. The communication plug-ins are probably not installed properly. You can confirm this by going to Project/Options - the drop-down list of Plug-in modules will probably be empty in your case:

MichalH_0-1743668612039.png

 

How to fix the installation:

  1. Close FreeMASTER
  2. Open file explorer in "c:\NXP\FreeMASTER 3.2\FreeMASTER" directory
  3. Locate the "register.bat" file
  4. Right-click the file and select "Run as administrator"
  5. Start FreeMASTER, the plug-ins shall now be visible in Project/Options dialog.

Regards,
Michal

3,607 次查看
Stark_
Contributor II

Hi @MichalH 

Thanks for the quick response.

As you said " Project/Options - the drop-down list of Plug-in modules will probably be empty in your case " was correct and followed the step you mention, after that can able to see the plugin in FreeMASTER. when i try to run with the mention setting (i.e, FreeMaster P&Emicro communication plugin (Cortex-M, power pc, HCS08/12, Cold fire) ). but again got an error message.

Is is possible to use FreeMASTER with P&Emicro debugger? for that any lib should be added in project file ?

 

0 项奖励
回复
3,604 次查看
MichalH
NXP Apps Support
NXP Apps Support

The error you show now in the screenshot is reported by the P&E Micro debugging function already - it seems the P&E probe cannot connect to the target MCU.

  • What is your target MCU? 
  • What is the type of P&E probe?
  • Can you use a CodeWarrior or other debugger with the P&E probe?

Thanks,
Michal

3,601 次查看
Stark_
Contributor II

Hi @MichalH 

once I flash my microcontroller after that i just connect with FreeMASTER. but it show an error

MCU is used is S32K3 series

P&E micro Multilink universal FX

IDE used S32 Design studio

 

Regards,

Stark_

 

0 项奖励
回复
3,597 次查看
MichalH
NXP Apps Support
NXP Apps Support

There are two important points:

  1. The S32 Design Studio (debugger) must be disconnected from the target when attaching FreeMASTER. The P&E probes cannot handle simultaneous connection from two client applications.
  2. The FreeMASTER plug-in shall know what MCU part number you are using.  Go to Project/Options, open the configuration dialog and select the MCU type like in the picture below:

MichalH_1-1743674891142.png

 

Regards,
Michal

3,592 次查看
Stark_
Contributor II

Hi @MichalH 

Connection are done

when i start the communication popup show for for load the executable file, I also load the .elf file which is created in my project.

but how to import the variable that are used in my project?

 

Regards,

Stark_

0 项奖励
回复
3,582 次查看
MichalH
NXP Apps Support
NXP Apps Support

OK, so the connection problem is resolved.

For general use of FreeMASTER, please refer to User Guide.  In short: you have used the ELF file to load symbols; now you need to create so called FreeMASTER Variables, where you select a symbol/address, size, reading period, format, etc. to be displayed in FreeMASTER. Once you have the FreeMASTER variables defined, you can observe them in a grid or in graphs.

Please close this thread as the initial issue has been resolved.  If you have any questions on general FreeMASTER usage after reading the User Guide, please start a new thread on this forum.

Regards,
Michal

3,573 次查看
Stark_
Contributor II

Hi @MichalH 

 

Thanks you for you quick Response. My issues is solved.

 

 

Regards,

Stark_

0 项奖励
回复