Board: EVK-MIMXRT595
SDK Version: 2.15.0
MCUXpresso IDE Version: 11.9.0
I am using the above-mentioned setup and building the freertos Hello World example. I made sure that the RT595 board was connected to my laptop.
<code>
int main(void) {
/* Init board hardware. */
BOARD_InitBootPins();
BOARD_InitBootClocks();
BOARD_InitBootPeripherals();
#ifndef BOARD_INIT_DEBUG_CONSOLE_PERIPHERAL
/* Init FSL debug console. */
BOARD_InitDebugConsole();
#endif
PRINTF("Hello World\r\n");
/* Force the counter to be placed into memory. */
volatile static int i = 0 ;
/* Enter an infinite loop, just incrementing a counter. */
while(1) {
i++ ;
/* 'Dummy' NOP to allow source level single stepping of
tight while() loop */
__asm volatile ("nop");
}
return 0 ;
}
</code>
I ran the application with the Debug option. The main function was invoked but I cannot see the PRINTF message anywhere on the screen.
I suspected that a new terminal/console window would pop up and view this PRINTF message. Can somebody help me here and let me know the right way to run this application?
已解决! 转到解答。
Hi @bpanneer,
The serial terminal does not open by default on MCUXpresso, but you can easily open it by selecting the Terminal window on the bottom part of the IDE, then clicking the "Open a Terminal Button" (or pressing Ctl+Alt+Shift+T on your keyboard), then selecting "Serial Terminal" and the Serial port of the i.MX RT before clicking OK:
Once you do this, you can run the demo again or reset the device and you should be able to the the message printed on the Terminal window.
BR,
Edwin.
Hi @bpanneer,
The serial terminal does not open by default on MCUXpresso, but you can easily open it by selecting the Terminal window on the bottom part of the IDE, then clicking the "Open a Terminal Button" (or pressing Ctl+Alt+Shift+T on your keyboard), then selecting "Serial Terminal" and the Serial port of the i.MX RT before clicking OK:
Once you do this, you can run the demo again or reset the device and you should be able to the the message printed on the Terminal window.
BR,
Edwin.