I am a newbie with NXP board.
I installed MCUXpresso IDE, but now I do not have a board. I installed SDK and created project "hello world" for the board. I built my project. How can I run "hello world" app demo in IDE without connecting with board?
Could I create a simple C/C++ project in the IDE, build and run it?
已解决! 转到解答。
Hi, @nnxxpp
When speaking about the hardware, there are some differences between these two EVK, not to mention that some hardware components might be on different positions along the boards.
One that I’d like to mention is that EVKB comes with an integrated M.2 interface.
About the Software. I’d like to mention that for instance, you will find that there are some Wireless modules that are not supported on both EVK’s. This can be found in UM11441. For more SDK information, I’d recommend you to take a look to the MCUXpresso SDK Release Notes for each board. You can find them inside the SDK bundle.
I strongly recommend you to take a look to the MIMXRT1060/1064 Evaluation Kit Board Hardware User's Guide and MIMXRT1060-EVKB Board User Manual to see with more detail the differences between these two.
All this documents are available in here: https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-...
SDK: https://mcuxpresso.nxp.com/en/welcome
You can refer to the Quick Start guide on how to use it:Getting Started with the MIMXRT1060-EVK | NXP Semiconductors
I really hope this helps. If you have any other question, please don’t hesitate to ask.
Best regards, Alex
I have one more question. Whether I can run Opencv in tflm_cifar10 with MIMXRT1060-EVKB (I want to use some resizing methods in Opencv). If so, please help me to config it. Thank you.
@ErichStyger Thank you for your help.
@Alex_Wang Thanks. I have one more question. When I connect board to PC by micro USB cable for debugging (specifically I will run TF Lite model), do I need to power a board by DC IN 5V? As my understanding, it does not need power a board by DC IN 5V for debugging. It is only for standalone working of board.
Hi, @nnxxpp
In general, "micro USB cable for debugging" (Link2 or MCU-Link) can provide power supply and debugging. If convenient, please tell me what development board you are using.
Best regards, Alex
Thanks. We are buying Mimrt1060. I dont remember the exact name of the board. I see that there are 2 version of mimrt1060: evk and evkb. What is the difference between MIMXRT1060-EVK / EVKB?
Hi, @nnxxpp
When speaking about the hardware, there are some differences between these two EVK, not to mention that some hardware components might be on different positions along the boards.
One that I’d like to mention is that EVKB comes with an integrated M.2 interface.
About the Software. I’d like to mention that for instance, you will find that there are some Wireless modules that are not supported on both EVK’s. This can be found in UM11441. For more SDK information, I’d recommend you to take a look to the MCUXpresso SDK Release Notes for each board. You can find them inside the SDK bundle.
I strongly recommend you to take a look to the MIMXRT1060/1064 Evaluation Kit Board Hardware User's Guide and MIMXRT1060-EVKB Board User Manual to see with more detail the differences between these two.
All this documents are available in here: https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-...
SDK: https://mcuxpresso.nxp.com/en/welcome
You can refer to the Quick Start guide on how to use it:Getting Started with the MIMXRT1060-EVK | NXP Semiconductors
I really hope this helps. If you have any other question, please don’t hesitate to ask.
Best regards, Alex
I connect board in Debug mode via micro USB (mimxrt1060-evkb). I want to run demo app. I see the documentation of tflm_cifar10 and it said that
```
Hi, @nnxxpp
You can refer to the user manual, we can choose the appropriate way to start, as follows:
You can refer to the attached file for details.
Hope this helps you.
Best regards, Alex
May be I saw tutorial for MIMXRT1060-EVK, this tutorial mentioned about SW7. It is used SW7 to set up boot mode. Getting Started with the MIMXRT1060-EVK | NXP Semiconductors
Sure, thank you. For MIMXRT1060-EVKB, we need to use SW4.
Yes, you can do this (but of course not using the NXP SDK, as it is for the target board/device).
You can use the host GNU gcc compiler/debugger (installed separately) and build and debug applications with the IDE, as with any other Eclipse distribution. The thing is that you are not doing cross-development, but native development instead.
For 'real embedded' development you would need a board or simulator, e.g. QUEMU (https://www.qemu.org/).
Hi, @nnxxpp
Currently, the MCUXpresso IDE does not support debugging without connecting to the board. You can Use "Use simulator" in Keil uVision5 to run the simulation, as follows:
After setting, click the analog debugging button to debug.
Best regards, Alex
Thanks. Do you have any tutorial for running examples from SDK in Keil uvision as emulator?
As my understanding, firstly I need to download MCUXpresso SDK for Keil/MDK, then run in debug mode in Keil (emulator). Is that right?
Hi, @nnxxpp
There is no tutorial on how to run the emulator in Keil uvision, you can follow these steps:
1. Download Keil uvision
2. Download SDK for Keil uvision version
3. Install the corresponding chip package
4. Then configure the emulator environment
5. Running
Hope this helps you.
Best regards, Alex
I followed your guide, But when debugging with simulator, I got an error related with "write" permission as the following.
*** WARNING: Using ARM Cortex-M4 Simulator. ARM Cortex-M7 specific features are not modelled !
Running with Code Size Limit: 32K
Load "ram_0x1400_release\\hello_world.out"
*** error 65: access violation at 0xFFFFFFF4 : no 'write' permission
I created .ini file to fix it Access violation at 0xFFFFFFF4 - Keil forum - Support forums - Arm Community, but it does not work.
Do you have any recommendation for me? Thanks.
Hi, @nnxxpp
First, Check whether the chip pack is correctly installed in the device. It will be displayed in green after installation:
Second, Check whether the MDK project is decompressed correctly
There are no problems on my PC as follows:
Best regards, Alex
It seems that you also had an error with emulator. In the picture 2 error, , there is an with access violation.
I set up for board MIMXRT1060-EVKB with mounted device MIMXRT1062DVL6B. I installed BSP and NXP.MIMXRT1062_DFP.18.0.0.pack. I run with Hello world project, but simulator did not work. Here is my set up.
I also had error 65, but with "write" permission in Simulator mode.
Hi, @nnxxpp
You can refer to the following methods:
1. Create an.ini file with the following contents:
You can include the wrong address. You can include the error address, on my PC error address 0x40000000-0x401FFFFF.
2. Load the ini file to the initialization file:
Hope this helps you.
Best regards, Alex
I tried it and informed you yesterday as follow
```
I followed your guide, But when debugging with simulator, I got an error related with "write" permission as the following.
*** WARNING: Using ARM Cortex-M4 Simulator. ARM Cortex-M7 specific features are not modelled !
Running with Code Size Limit: 32K
Load "ram_0x1400_release\\hello_world.out"
*** error 65: access violation at 0xFFFFFFF4 : no 'write' permission
I created .ini file to fix it Access violation at 0xFFFFFFF4 - Keil forum - Support forums - Arm Community, but it does not work.
Do you have any recommendation for me? Thanks.
```
Createing .ini file did not solve the problem. Did you test it?