porting bare metal A53 drivers for superloop app on i.mx8m mini phytec phyboard SOM & carrier board

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

porting bare metal A53 drivers for superloop app on i.mx8m mini phytec phyboard SOM & carrier board

479 Views
Jonathan_Nesbitt
Contributor I

Phytec support email says MCU Expresso has support for i.mx8m mini. I think it supports the M4f in i.mx8mini but does it also support the A53 in i.mx8m mini IC? MCU Expresso supported processors list doesn't mention the A53 or any Axx but it does mention the M cores. Our goal is i.mx8m mini A53 bare metal superloop and drivers for uart-usb console, gpio, i2c, spi, sd card boot memory controller for lpddr4, then later eMMC flash file system for logging. This app is not allowed to have a kernel or any code that is not executed.  Phytec pointed to this bare metal BSP ref design for NXP EVK board that they said could be used as a porting source to make a bare metal system of drivers for a superloop app for (hopefully A53) on i.mx8m mini.

Phytec support wrote:  MCUXpresso IDE from NXP: This is NXP's recommended IDE (based on eclipse) for working with i.MX application processors. https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-i...

This is a good guide from NXP for working with their IDE with the i.MX8M mini EVK specifically: https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/132881/1/Getting%20Starte...

You can generate RTOS/baremetal SDKs using NXP's MCUXpresso SDK Builder: https://mcuxpresso.nxp.com/en/welcome You can use the builder to include certain examples. This can include, but are not limited to; interface drivers, freertos (We can't use a kernel), multicore processing and others. ---

NXP staff, Also which jtag ICE do you suggest for the A53 in i.mx8 mini?  The phytec phyboard has an odd 2x30pin female header with jtag signals (and maybe jtag in enet rj45 cable but not sure) so it would likely need a custom cable end on phyboard side to the standard arm 20 pin jtag female connector as shown on Lauterbach site. I see Segger tools mentioned too. Do they support A53 core on i.mx8m mini? Thanks for tips. 

Jonathan Nesbitt JNesbitt@hummingbird-aero.com 

Tags (3)
0 Kudos
1 Reply

463 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Well there is some confusion here, please note that MCUXpresso SDK does support i.MX MPU's for Cortex-M development but the  i.MX SDK is not supported by the MCUXpresso IDE, with the exception of the i.MX RT, this SDK is compatible only with:

  • IAR Embedded Workbench for ARM
  • Makefiles support with GCC from ARM Embedded

For the supported GCC and IAR versions you'll need to check the SDK documentation.

Unfortunately we do not support bare metal, I think it may be better to use our drivers in the Linux BSP as reference, you may find source code here:
https://source.codeaurora.org/external/imx/linux-imx/

For JTAG usage on Cortex-A team have tested with the Lauterbach TRACE32 or Arm DS-5/ARMDS DSTREAM.

Best regards,
Aldo.

0 Kudos