How to access NXP MCU from iMX6 by UART?

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

How to access NXP MCU from iMX6 by UART?

542 Views
peterchao
Contributor I

We have a iMX6 sabresd board with NXP MCU LPC11U68JBD64. The LPC11U68JBD64 is connect to i.MX6 by UART interface. We are porting LPC11U68JBD64 on i.MX6 sabresd board. Before burnning firmware to LPC11U68JBD64, how to access LPC11U68JBD64 from i.MX6 by UART?

0 Kudos
1 Reply

361 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Peter,

The LPC11U devices include a ROM bootloader, that could be accessed by UART in order to program the MCU without requiring a debug interface. You could refer to application note AN11229 “UUencoding for UART ISP” for additional information regarding the commands that should be send by the UART host (the i.MX in this case):

https://www.nxp.com/docs/en/application-note/AN11229.pdf

On the i.MX6 side, you could use a generic TTY port, ensuring that the application sends the proper commands for programming the LPC11, and then, using the programmed application to establish communication between MCU and MPU through UART. The following Community document implements similar TTY communication, you could use is as reference:

https://community.nxp.com/docs/DOC-331330


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

0 Kudos