What's the first step to debug/develop on a brand new i.mx board?

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

What's the first step to debug/develop on a brand new i.mx board?

Jump to solution
523 Views
fei_4_xu
Contributor III

Hi,

I have a new project in which a brand new i.MX hardware board is developed, it's based on the i.MX8X evaluation board but a lot of peripherals are replaced to our needs.

My job is to verify the board's hardware is working, for example, the imx8x mcu, its ram, flash, and other drivers. I would like to check what's the very first software/firmware debug task in this case?

For an imx8x evk, its hardware is guaranteed to work, so the first step is usually to connect the usb console port, the usb port to PC, and use UUU to flash a kernel or uboot to the hardware, am I right?

This seems to be a linux based approach. Will "MCUXpresso SDK" be more helpful in my case?

For a new imx8x board in my case, can I do the same task? What if the usb console port is not even recognized in the PC?

I'm a little confused here, any common practice to do as the first step?

Thanks Fei

Tags (1)
0 Kudos
1 Solution
516 Views
igorpadykov
NXP Employee
NXP Employee

Hi Fei

 

first recommended to follow  i.MX 8QuadMax/i.MX 8QuadXPlus Hardware Developer’s Guide

check power supplies, clocks, make usb working. Then run ddr test  (use RPA tool)

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/...

Follow document: MX8_DDR_Tool_User_Guide.pdf included in DDR Stress Test for necessary software

changes. i.MX8 processors use SFW concept, it is described in   SCFW Porting Kit​

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101/ta-p/1124...

https://imxdev.gitlab.io/tutorial/System_controller_unit_introduction_for_imx_8qxp_mek/

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootab...

Debugging

AN12631   Normal and Secure Debug for i.MX8/8X Family of Applications Processors

 

For M4 development use SDK_MEK-MIMX8QX available on   https://mcuxpresso.nxp.com/en/welcome

IAR and SEGGER tool patch for i.MX 8DualXPlus and i.MX 8QuadXPlus​

https://www.nxp.com/webapp/Download?colCode=SDK_MX8QX_3RDPARTY_Patch&appType=license

 

Best regards
igor

View solution in original post

0 Kudos
1 Reply
517 Views
igorpadykov
NXP Employee
NXP Employee

Hi Fei

 

first recommended to follow  i.MX 8QuadMax/i.MX 8QuadXPlus Hardware Developer’s Guide

check power supplies, clocks, make usb working. Then run ddr test  (use RPA tool)

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/...

Follow document: MX8_DDR_Tool_User_Guide.pdf included in DDR Stress Test for necessary software

changes. i.MX8 processors use SFW concept, it is described in   SCFW Porting Kit​

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101/ta-p/1124...

https://imxdev.gitlab.io/tutorial/System_controller_unit_introduction_for_imx_8qxp_mek/

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootab...

Debugging

AN12631   Normal and Secure Debug for i.MX8/8X Family of Applications Processors

 

For M4 development use SDK_MEK-MIMX8QX available on   https://mcuxpresso.nxp.com/en/welcome

IAR and SEGGER tool patch for i.MX 8DualXPlus and i.MX 8QuadXPlus​

https://www.nxp.com/webapp/Download?colCode=SDK_MX8QX_3RDPARTY_Patch&appType=license

 

Best regards
igor

0 Kudos