Support for Arduino's Portenta X8 Hardware

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Support for Arduino's Portenta X8 Hardware

跳至解决方案
1,032 次查看
marshallf
Contributor I

I'm involved in a research project where it was decided to create custom hardware that utilizes Arduino's Portenta X8 module, which is based on NXP's MIMX8MM6CVTKZAA SoC.

https://docs.arduino.cc/hardware/portenta-x8/ 

Due to project requirements, I can not use Arduino's firmware (nor do I want to). So far I've been able to get a start on creating the mex configuration file using NXP's pin config tool, but this is where I start to become confused on how to proceed.

 

Question 1: What are my flashing options via JTAG for NXP processors? Does the MCU-Link Debug Probe work with this SoC?

Question 2: Since this isn't an EVK development board, I'm struggling to find support for creating a minimalist Linux build (yocto). What support is there for this? How do I create a fresh Linux based project compatible to run on the portenta X8?

0 项奖励
回复
1 解答
900 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Don't worry but there is no way.

i.MX processors don't have internal memories because of a normal MPU architecture,

You'd have to write it to eMMC, that's why I said it. It can be easily achieved through Serial Download.

Regards,

在原帖中查看解决方案

0 项奖励
回复
5 回复数
989 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

I just saw that Portenta HW has an additional STM32 that requires a FW which we could not create or flash.

From the other side, if STM32 FW wasn't erased nor updated, you need to port the custom hardware (different DDR, different flash, different interfaces) for BSP layer.

Having a BSP layer, you could create a basic yocto image as imx-image-core provided in our yocto implementation.

Regards,

0 项奖励
回复
948 次查看
marshallf
Contributor I

I understand that I'm going to have to generate my own solution for flashing the X8's ST MCU from the X8, but I'm not asking about that right now. My questions are:

What debug or programming hardware does NXP provide that will allow me to flash an image to this NXP processor without having an EVK board? For example, will NXP's MCU-Link debug probe work to flash the NXP device?

0 项奖励
回复
943 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

No, that'd be a third issue, you can't flash eMMC from JTAG. You must flash the board from Serial Download which may be possible (due to the ANX7625 addition) in USB-C connector.

Otherwise, you could use USB1 from J1 and implement a Serial Download solution as the EVK reference. Please see the attached picture of the reference manual against Portenta BD.

josephlinares_0-1712614319056.png

Regards,

0 项奖励
回复
938 次查看
marshallf
Contributor I
Is there no way to flash an image to internal memory on the MIMX8MM6CVTKZAA? Please forgive me. I'm used to working with microcontrollers over SWD.
0 项奖励
回复
901 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Don't worry but there is no way.

i.MX processors don't have internal memories because of a normal MPU architecture,

You'd have to write it to eMMC, that's why I said it. It can be easily achieved through Serial Download.

Regards,

0 项奖励
回复