Hello,
I have a problem build a modified project from my colleague using IMX93 processor, to him the project work,
When we passsed the project with an USB when I try tu build gave me this error
build task started....
"C:\Program Files\CMake\bin\cmake.EXE" --build D:/NXP/1930030005/armgcc/debug --target all --
ninja: error: loading 'build.ninja': The system cannot find the file specified.
build finished with error(s).
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
Everything is perfectly set up, but still can't build the ninja, how is this possible?
Thanks & Regards
Hi @geb!
Thank you for contacting NXP Support!
Are you trying to compile a project for M core?
Can you provide more details of your problem?
If you are using VS Code to compile you should import the code using VS code and compiling the code using vs code.
Best Regards!
Chavira
Hi @Chavira ,
Yes, I'm trying to using M33 core from FRDM-IMX93
We are working with SD on the board, I have build the
imx-image-full-imx93frdm.rootfs.wic.zst
with the uuu and it's work
We have modified the dtb file and modified in dts and take out the resistances because we think that the board start with UART, we have take out resistance for running jtagw with jlink, the pins that we use are SWDIO an SWCLK, we have take out UART for use defoult configuration, it's correct to have take out UART5? And now I have started to run a project with VScode building and running with jlink, but I can't build the project the error that I have write previously
Thanks & Regards
Gabriele
Hi @geb!
Thank you for contacting NXP Support!
There is not needed to remove the resistors.
If you want to debug the M core at U-boot stage you don´t have to change nothing, if you need to debug the M core in Linux stage you should remove the UART5 from the device tree to avoid to set up the debug pins to UART5 function.
To debug the iMX93 using JLINK debugger you should install a patch, please refer to AN14120
Best Regards!
Chavira
Hi @Chavira ,
Sorry but no, we have to debug the M33 on FRDM-IMX93 with C on Visual Studio Code in Windows 10 with j-link segger.
How can we use j-link segger on FRDM-IMX93 on Visual Studio Code on Windows 10?
The https://www.nxp.com/docs/en/application-note/AN14120.pdf if for IMX93-EVK and not for FRDM-IMX93
Thanks & Regards
Hi @geb!
The AN14120 talks about the iMX93-EVK but both boards share the same processor, you need the patch for JLINK that we provide in AN14120 to debug the FRDM board.
At the moment we don´t have any guide of how to debug the FRDM board but should be the same process of iMX93-EVK due to both boards has the same processor and both boards share the most of their connections, all of our examples for iMX93-EVK for M core should work without problems in FRDM Board.
Hi @Chavira,
I patched the jlink using the data that are specified in AN14120 but doesn't work
Thanks & Regards
HI @geb!
After a few days of research I found the solution.
According to this guide, we have to initialize the gdb server before to start the debug session in VS Code.
I have tried with the iMX93-EVK but should be the same for FRDM-IMX93.
I change the JTAG for SWD in gdb sever.
Best Regards!
Chavira
Hi Chavira,
For my colleague works connecting the pin 1 Vtref of the JTAG to 3,3 V.
We have used the j-link segger base and j-link segger mini and for him works, form me doesn't works and gave me the same error of bulding nonja
Do you have any advice on what we can do with my problem? because on his pc it works
Thanks
Kind Regards
Gabriele
HI @geb!
That error should be problem of the environment.
Can you install the required packages using the MCUXPRESSO installer?
how you are importing the source code?
Do you have the same sdk version installed?
Hi @Chavira ,
I think we have found the problem, when we import a project from another pc the file on the .vscode folder have different data in mcuxpresso-tools.json the toolchainPath is different and same in mcux_include.json for ARMGCC_DIR and MCUX_VENV_PATH. We have modified these data, but how can we not modify this data and make the modification automatic?
Thanks
Kind Regards