MFGTOOL烧录时串行口无打印

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

MFGTOOL烧录时串行口无打印

1,619 Views
jhp1234
Contributor I

有个问题请问一下,我们用MFGTOOL通过USB烧录时串行口完全没有打印消息,虽然烧录后系统能跑,但这个工具在使用时里面也运行了LINUX,应该系统启动时一样有打印,现在就是没有,是什么原因?

CPU是IMX6Q, 用的LTIB L3.0.35_4.1.0, MFGTOOL也是对应的,MFGTOOL依赖的UBOOT,KERNEL 相应LOG功能也是打开的, UBOOT 启动命令如下这个样子:

#define CONFIG_BOOTARGS "console=ttymxc0,115200 rdinit=/linuxrc "\
"enable_wait_mode=off"

0 Kudos
14 Replies

1,574 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Are you using the i.MX6Q sdb board from NXP or the board you design yourself?

0 Kudos

1,605 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

terminal setup.PNG

0 Kudos

1,608 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

How about your setting for the uart port?

0 Kudos

1,594 Views
jhp1234
Contributor I

I use a SecureCRT for uart terminal, it connects the imx6 uart1,  it works well for debug, the configures like this:

21F5CA34-55B9-49ee-9A3C-1345AE394A95.png

 

but the mfgtool has no any comX at PC, the PC os is win10, it's affected by os?

0 Kudos

1,591 Views
jhp1234
Contributor I

Or it need a windows driver?

0 Kudos

1,580 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can try to use the putty I am using

0 Kudos

1,576 Views
jhp1234
Contributor I

OK, but I can't see any serial port on PC.

 

09642E64-58CF-4453-ABF8-FC3B9CDBDD16.png

0 Kudos

1,574 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Have you interface your board to PC, and change the boot mode to download mode?

0 Kudos

1,571 Views
jhp1234
Contributor I

Yes, in the screenshot, the mfgtool is connected to device and in download mode.

0 Kudos

1,567 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

How about the uart port connect?

0 Kudos

1,561 Views
jhp1234
Contributor I

the imx6 uart1 connects to PC for normal boot debug as a terminal, it can see log.  The putty or secureCRT  has no log when mfgtool downloading, whatever the uart1 connects to PC or not.

0 Kudos

1,555 Views
jhp1234
Contributor I

the uart connects to com7, it cann't see any log, but it's OK when normal boot.

1F4500AA-7C99-4d42-B444-6E0F8221FF94.png

0 Kudos

1,552 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Have you set the proper uart port parameters? It seems that the uart is working now.

0 Kudos

1,547 Views
jhp1234
Contributor I

Yes, the uart works well when device booting.

0 Kudos