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

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

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

跳至解决方案
551 次查看
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 项奖励
回复
1 解答
528 次查看
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 项奖励
回复
1 回复
529 次查看
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 项奖励
回复