i.MX6: Native UART1 Communications?

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

i.MX6: Native UART1 Communications?

Jump to solution
1,886 Views
philhale
Contributor IV

Will a out-of-the-box i.MX6ULL chip communicate via its UART1 upon powerup? Will it offer any type of bootloader command line interface? It did this with the EVK board, from what I remember. Could you burn the startup fuses using this boot interface?

Labels (2)
0 Kudos
Reply
1 Solution
1,857 Views
Yuri
NXP Employee
NXP Employee

@philhale 
Hello,

   The Serial Bootloader does not  provide a human-readable interface.
It can be used to load and run, for example - U-boot  with human-readable interface.

   Please refer to the user's guide how to start with i.MX6 board.

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

  Demo image:

https://www.nxp.com/webapp/Download?colCode=L5.10.9_1.0.0_MX6UL7D&appType=license

 

Regards,
Yuri.

View solution in original post

0 Kudos
Reply
7 Replies
1,821 Views
philhale
Contributor IV

Thank you!

Phil

1,878 Views
Yuri
NXP Employee
NXP Employee

@philhale 
Hello,

   After power up i.MX 6ULL bootloader (in boot ROM) starts.
If there is no any boot image (say, on SD card) available,
the Serial Downloader can be used to download a program
image to the chip over the USB or UART serial connection.
This allows to load and run U-boot for further activities.

Serial Download Protocol (SDP), described in the Reference
Manual, is used by i.MX Serial Downloader.

Regards,
Yuri.

 

 

 

0 Kudos
Reply
1,870 Views
philhale
Contributor IV

Yuri,

Thank you. Quick follow up question.

(a) Is the ROM internal to the i.MX6ULL? If the i.MX6ULL is the only device on a board and I connect to the UART1, can I possibly upload the operating system.

(b) Assuming that the above questiion (a) is Yes, will the UART1 interface allow me to set the fuses so the i.MX6ULL will boot via an attached SD Card?

In my situation, I only have access to BOOT_MODE0 and BOOT_MODE1. We accidentally left off all ability to modify the BT_CFG[0..7] / LCD_DATA[0..7] boot configuration straps. We also have the SD card connected to port SD2.

When I go into production, I will add the BT_CFG straps but for now, I need to get this system up and running to test everything running on the SD Card Yocto configuration.

Regards,

Phil

 

0 Kudos
Reply
1,854 Views
Yuri
NXP Employee
NXP Employee

@philhale 
Hello,

  yes, the mentioned boot ROM is located internally into the i.MX6ULL.

To burn the fuses U-boot should be used.

https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX/

 

Regards,
Yuri.

0 Kudos
Reply
1,869 Views
philhale
Contributor IV

Yuri,

I am connected to UART1 with a USB-UART emulator at 115200. I should be seeing some activity on that port, correct?  I mean, there should be some interface that will allow me to load U-Boot, correct?

Regards,

Phil

0 Kudos
Reply
1,864 Views
philhale
Contributor IV

Yuri,

Two more things.

(1) I have read IMX6ULLRM, Section 8.2 "Boot Modes". It is still not clear whether Serial Bootloader mode will provide a human-readable interface.

(2) I DO HAVE a USB-OTG1 port connected. USB Type-A port.

Regards,

Phil

0 Kudos
Reply
1,858 Views
Yuri
NXP Employee
NXP Employee

@philhale 
Hello,

   The Serial Bootloader does not  provide a human-readable interface.
It can be used to load and run, for example - U-boot  with human-readable interface.

   Please refer to the user's guide how to start with i.MX6 board.

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

  Demo image:

https://www.nxp.com/webapp/Download?colCode=L5.10.9_1.0.0_MX6UL7D&appType=license

 

Regards,
Yuri.

0 Kudos
Reply