debug console is not working, after following Boot to SDRAM procedure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

debug console is not working, after following Boot to SDRAM procedure

Jump to solution
550 Views
ByoungogCho
Contributor I

I am working on IMX RT1020EVK board.   To boot  image to SDRAM,  I  followed the step of case 2. Add DCD by MCUxpresso IDE. (boot to Sdram.pdf)

made s19. file, and downloaded  s19 file through  MCU Boot utility 3.24.0 tool

but I cannot look at the message  of debug console...   ,   but I can find  the message, After downloading and booting  axf image file in XIP mode

What is the problem ??

I used  example iled_blinky from SDK.

#include "fsl_debug_console.h"    //-1
int main(void)
{
    /* Board pin init */
    BOARD_ConfigMPU();
    BOARD_InitBootPins();
    BOARD_InitBootClocks();
 
    BOARD_InitDebugConsole();   //-2
 
    /* Set systick reload value to generate 1ms interrupt */
    if (SysTick_Config(SystemCoreClock / 1000U))
    {
        while (1)
        {
        }
    }
 
DbgConsole_Printf("\r\nThis project S19 file create SDRAM boot testing \r\n");    // -3
 
    while (1)
    {
        /* Delay 1000 ms */
        SysTick_DelayTicks(300U);
~~~~~   //Just 3 line is added on SDK example.
0 Kudos
Reply
1 Solution
527 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @ByoungogCho ,

I made a demo base in hello_world example. If you use MCUBootUtility to download the s19 following the guide, it can print "hello world SDRAM"

 

Regards,

Jing

View solution in original post

0 Kudos
Reply
1 Reply
528 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @ByoungogCho ,

I made a demo base in hello_world example. If you use MCUBootUtility to download the s19 following the guide, it can print "hello world SDRAM"

 

Regards,

Jing

0 Kudos
Reply