i.mx8 mini, alternatives to uart debug (A53 vs M4)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx8 mini, alternatives to uart debug (A53 vs M4)

695件の閲覧回数
dav1
Contributor V

Hi,

  1. On the imx8 mini, what are the best alternatives to get early print logs from the A53 and/or M4?
       ...all 4 UART's are taken for other things, so can't use these.

    The most convenient would be to run it over a composite usb with cdc
    Jtag would also be a good option since it doesn't eat any valuable gpio's...


  2. Is there any activity or prints on the two uarts during cold-boot / ROM (Serial Downloader)?
    or is all of this explicitly activated in u-boot?
0 件の賞賛
2 返答(返信)

526件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi,

Yes, you could implement a USB-Serial for secondary Debug option, but it is required to first boot the system to load the USB drivers/classes, so, it won’t be available on early boot stages.

Regarding activity of other pins during the boot, they are the boot selector GPIOs that may select entering to serial downloader mode, which could be implemented by USB or by UART. Please refer to Figure 6-1 “Boot flow” of the i.MX8M Mini Reference Manual.


Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 件の賞賛

526件の閲覧回数
dav1
Contributor V

HI Carlos,

Can you please clarify that there aren't any UART prints made from within the on-chip boot ROM.

i.e. all UART activities are explicitly activated in uboot, correct?

0 件の賞賛