Problem with Freemaster - ErrorMessage wrong file handle assigned - help needed

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

Problem with Freemaster - ErrorMessage wrong file handle assigned - help needed

跳至解决方案
3,587 次查看
frankmuenzner7421
Contributor II

Sorry for my eventually trivial question - as i'm new to FreeMaster i have tool setup trouble.

What i have done:

I *ve compiled my Application in S32 Design Studio for Arm ( Version 2018.R1 / build 1801815 )

if i then go to the generated  pmp file FreeMasters opens and i getz the attached Error Message

if anybody could support me - it would be really helpful

 

Best regards,

Frank

 

 

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

Please use the binary ELF file (the linker output) in place of the MAP file. FreeMASTER is able to parse the symbol tables and the debugging information inside the ELF to get symbol addresses.

Note that the ELF file may have a different extension (.out, .axf, .elf) depending on the compiler. I'm not sure what the DS32 uses.

Regards,
Michal

 

在原帖中查看解决方案

标记 (1)
10 回复数
3,535 次查看
frankmuenzner7421
Contributor II

Hi Michael thank you very much, it's helpful to know that freemaster is backward compatible.

At this time as I try to Install Freemaster 3.2 itz request an activation code. In my Profiles under software i can only find licenses for freemaster Lite, where can i find licenses for Freemaster 3.2 - i thougth it was free as before...

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

You only need to enter a license code when installing the FreeMASTER Lite. The desktop application does not need any.

Regards,
Michal

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

Dear Frank,

this may happen in older FreeMASTER versions when opening binary project files (the .pmp files) which were created in a later version.

The .pmp file format is backward compatible only. This means that newer FreeMASTER versions can open files saved in older versions, but not vice versa. There is also an alternative XML-based format .pmpx which is does not have this limitation.

I recommend to install the latest version (3.2.1) from www.nxp.com/freemaster and try opening the file again. 

Regards,
Michal

0 项奖励
回复
3,524 次查看
frankmuenzner7421
Contributor II

hael, Many thanks, you helped me a big step forward....

At this time i have follow your instruction. I started the installation of Freemaster second time - and the installation worked also with my FreeMasterLite activation code - could be that at first time my online connection was refreds by provider so no online activation was possible.

At this time program is running - also with freemaster - but i did'nt see values in the oscilloskope or variables watch window....

see attached Picture - "FreeMASTER 3.2 connection is running. Programm started in Debugmode, but no values displayed.jpg"

If i close the variable, get the nmessage symbol not found...

So my questions is what goes there wrong.

I'm happy that the communication is working - next step is to get variables displayed. if someone has some idea, it wouild be the next step...

Many many thanks without your help - to this time you helped me so much.

Best

 

 

I installed the freemaster project from FreeMaster example. you will find attaced the file. also i install the log from .metadata folder inside of working directory.

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

FreeMASTER needs to know the addresses of the C symbols used by variable definitions. The message you are getting means that FreeMASTER does not know what is the "adcConvs".

There are two ways to give this data to FreeMASTER: 

  • Specify the ELF file in Project settings ("MAP Files" tab)
  • Provide the data in runtime using so-called "TSA" feature. 

I recommend you to use the first option now and make sure to press the "View" button in the Project Options to display all symbols the FreeMASTER is able to parse from the ELF file. If "adcConvs" is not there, probably this variable is not defined in the application, or it is never used and optimized-out by  a compiler.

MichalH_0-1691573688037.png

Regards,
Michal

0 项奖励
回复
3,492 次查看
frankmuenzner7421
Contributor II

Many thanks for your recommendations:

As You recommend I look for the variables in main.c - all the variables are there.

Could you please setup my Project and test out what did'nt work?

At this time i did'nt know where to look also because it is an example Project....

Many thanks and sorry for consuming your time with so stupid questions....

 

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

Please use the binary ELF file (the linker output) in place of the MAP file. FreeMASTER is able to parse the symbol tables and the debugging information inside the ELF to get symbol addresses.

Note that the ELF file may have a different extension (.out, .axf, .elf) depending on the compiler. I'm not sure what the DS32 uses.

Regards,
Michal

 

标记 (1)
3,463 次查看
frankmuenzner7421
Contributor II

Thank you very much - i had read it before, but did'nt remember    - in my logical thinking map file is map file and not .elf, many thanks i wouldnt find out with your help

 

0 项奖励
回复
3,508 次查看
frankmuenzner7421
Contributor II

Thanks for your fast answer, if i looked at your sreenshot of my projects - the wrong mapfile is used - i see it before you answered me.

My actual settings look like this: Overview FreeMaster setting_Options _Map Freemaster.jpg

 

 

Overview  FreeMaster setting_Options _Map_view_symbols.jpg

So it seems thart no symbols are recognised - must i activate some compiler switches in S32 Studio?

Many thanks for your time and help

 

0 项奖励
回复
3,495 次查看
frankmuenzner7421
Contributor II

Hi Michael, i try really hard to get the connection to FreeMaster working.

I can not see any variables in FreeMaster - so my question is whats go wrong...

I think the best would be if you show me your settimngs inside my project, can you bring the example which i have attached to run?

It would help me much

0 项奖励
回复