impossible to open peripheral perspectives

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

impossible to open peripheral perspectives

跳至解决方案
2,131 次查看
Transidico
Contributor III

Good morning,

I need to use perspective peripherials but clicking on open does not open it for me. It tells me that TEE Tool is disabled and gives me the error when opening. I used the frdm-mcuxc242 board with the hello world demo, could you tell me how to open peripherials and create my peripherials.h?

Thank you

Regards

0 项奖励
回复
1 解答
2,054 次查看
liborukropec
NXP Employee
NXP Employee

Hi,

from the log it seems the metadata stored for the perspective (or something related) is corrupted. I'm not able to advise what to fix.

If it was me, I'd go with the simplest and straight forward flow:

  1. close IDE
  2. rename (to have a backup) <workspace>/.metadata folder to e.g. .metadata-old
  3. start IDE with the same workspace directory
  4. menu File | Import ... > Existing Projects into Workspace - and re-import projects back

 

OR

more complicated one by creating a new workspace with copied Preferences, but not the UI layout

  1. close IDE, open existing workspace
  2. menu File | Switch Workspace > Other ... select new directory and in the "Copy Settings" check only "Preferences"
  3. menu File | Import ... > Existing Projects into Workspace - and re-import projects back. If you do not copy projects, they will stay in the original workspace folder, you will have only a new workspace with new .metadata folder.
    It might be confusing to have two places. If it works, you can try swap the .metadata folders in the workspaces and then you can try the original one

 

Regards,

Libor

在原帖中查看解决方案

0 项奖励
回复
8 回复数
2,124 次查看
liborukropec
NXP Employee
NXP Employee

Hi,

in your dialog, if you click on the "USB" icon, does it open the Peripherals perspective for you, or not?

 

Also other possibilities there are available:

- in the main menu there's ConfigTools menu and "Peripherals" in there.

- context menu on the *.mex file in the "Project Explorer" has also the "MCUXpresso Config Tools" containing the "Peripherals" item which should open the right perspective.

Regards,

Libor

P.S. For unknown reason I cannot paste screenshots of the above, but it should be quite easy.

 

 

 

 

0 项奖励
回复
2,119 次查看
Transidico
Contributor III

hi,

no I don't have the USB symbol (as you can see in the attached picture).

Screenshot 2025-03-04 155958.png

if I try to open it, it does not open for me.

Screenshot 2025-03-04 160419.png

The indicated solutions are not successful, do you have anything else you can point me to?

Thanks

0 项奖励
回复
2,098 次查看
liborukropec
NXP Employee
NXP Employee

Hi,

no I don't have the USB symbol (as you can see in the attached picture).

you have:

 

Screenshot 2025-03-04 213651.png

 

if I try to open it, it does not open for me.

... and ...

The indicated solutions are not successful, do you have anything else you can point me to?

If it does not work, look to the <workspace>/.metadata/.log file if there are some exceptions. If yes, please attach here.

 

Does it do a with a clean, brand new example hello world? I tried (MCUXpressoIDE_24.12.148) and it works (SDK 24.12.0):

Screenshot 2025-03-04 214058.png

 

 

 

 

 

 

 

Regards,

Libor

 

 

 

0 项奖励
回复
2,075 次查看
Transidico
Contributor III

G-day,

thank you for your kindly reply,

I have tried using other projects but peripherials does not open, even on projects that used to open before.
I use MCUXpresso version 24.9.25, do you think I should change it?
I have attached the .log file where it gives the exception.

I thank you.

Bye

0 项奖励
回复
2,072 次查看
Transidico
Contributor III

Hi,

I tried changing the workspace and changing it allows me to open peripherials safely.
I'd still like to keep the old workspace with all my projects and find out what happened.

Let me know.

Thanks

Bye

0 项奖励
回复
2,055 次查看
liborukropec
NXP Employee
NXP Employee

Hi,

from the log it seems the metadata stored for the perspective (or something related) is corrupted. I'm not able to advise what to fix.

If it was me, I'd go with the simplest and straight forward flow:

  1. close IDE
  2. rename (to have a backup) <workspace>/.metadata folder to e.g. .metadata-old
  3. start IDE with the same workspace directory
  4. menu File | Import ... > Existing Projects into Workspace - and re-import projects back

 

OR

more complicated one by creating a new workspace with copied Preferences, but not the UI layout

  1. close IDE, open existing workspace
  2. menu File | Switch Workspace > Other ... select new directory and in the "Copy Settings" check only "Preferences"
  3. menu File | Import ... > Existing Projects into Workspace - and re-import projects back. If you do not copy projects, they will stay in the original workspace folder, you will have only a new workspace with new .metadata folder.
    It might be confusing to have two places. If it works, you can try swap the .metadata folders in the workspaces and then you can try the original one

 

Regards,

Libor

0 项奖励
回复
2,114 次查看
Transidico
Contributor III

If it can be useful:

Screenshot 2025-03-04 170246.pngScreenshot 2025-03-04 170312.pngScreenshot 2025-03-04 171220.png

0 项奖励
回复
2,094 次查看
liborukropec
NXP Employee
NXP Employee

 

If it can be useful:

yes it is, if you click on "Details" button, what is written there? I believe there will be an exception in the workspace log (my other post)

Libor

0 项奖励
回复