Portenta H7-Lite Not Booting Up

Hello Arduino developers,

I have developed a PCB that accepts a Portenta H7(through HD connectors), controls some GPO, reads GPI, and ADCs, and communicates over SPI and CAN.
The development and testing of my PCB using the Portenta H7 went all fine.
Since I am not using any of the connectivity features that H7 has extra compared to H7 Lite, I decided to use Portenta H7 Lite for the next iterations of the device. However, Portenta H7 Lite does not power up when attached to my PCB.( To be exact, the orange LED stays ON and the red LED starts blinking in a pattern, 4 slow and 4 fast blinks and repeat). I tried powering up the Portena H7-Lite both from USB-C and from 5V0(VIN) on HD connectors.
Since everything is fine with the Portenta H7 on this board, I can't find any explanations for this happening with H7-Lite.
My initial guess is that some external pulls may mess up with one of the rails, either 3V3 or 5V0. But the issue is that I can't see why H7 is fine and H7-Lite is not.

Any help or advice in this regard would be appreciated.
Thanks,
Amir

Hi @amirf_arduino.

A 4X long, 4X short blink pattern indicates the Mbed OS operating system of the Portenta H7 Lite board has crashed.

Please try this experiment and then report back here with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Select File > Examples > 01.Basics > BareMinimum from the Arduino IDE menus.
    The "BareMinimum" example sketch will open in a new Arduino IDE window.
  2. Connect the Portenta H7 Lite board to your computer with the USB cable.
  3. Press and release the reset button on the board.
  4. Wait for the green LED near the USB socket on the board to turn on.
    It does this almost immediately, but you do need to wait for it.
  5. While the green LED is still on (it only stays on for one second so you need to be somewhat quick), press and release the reset button again.
    The green LED should now start pulsing. If not, repeat the process in case you didn't get the timing quite right.
  6. Select Sketch > Upload from the Arduino IDE menus.
  7. Wait for the upload to finish successfully.

Please add a reply here on this forum thread to tell us whether the problem of the board displaying that blink pattern still occurs when it is running this "BareMinimum" sketch.


ⓘ In this experiment, the "BareMinimum" sketch is serving as a "known good" sketch that doesn't contain any code that might cause Mbed OS to crash. If the problem occurs when your real sketch is running on the board, but doesn't occur when "BareMinimum" is running on it, then we will know for certain that the problem is caused by something in the real sketch's code and we can focus our attention exclusively on identifying the problematic code.


Hi @ptillisch,

Thanks for the reply.
I might have missed mentioning the fact that the Portenta H7 Lite boots up normally when not connected to my custom-made board and it won't boot up if I first connect it to the board and then inset the USB cable.
For the instructed experiment, I tried to follow the step however there are some differences. First, there is no Green LED coming up for any period after I insert the USB cable.
Second, I tried this instead:

  1. detached the H7-Lite so not to crash during boot up and flashed Bareminimum code on it.
  2. Attached the H7-Lite to the Custom board.
  3. Insert the USB.
    The result was the same behavior with Orange LED ON and Red LED blinking with 4X long, 4X short.
    Also in this stage the H7-Lite is not recognized by my computer.

Thanks,
Amir

It is still possible that the crash is caused by a bug in your code, with the custom board providing the conditions (e.g., pin state, data read from external device) required to trigger the fault in the code.

It seems you missed a step:

Sure.
I redid the steps and tested as instructed.
There is no green LED showing up at any stage.
When USB is connected and H7Lite is attached to my board, the Orange LED(CHGB pin on MC34PF1550A0EP) stays ON, no matter if the Reset button is pressed or released.
After release of the reset button, the red led starts blinking with the aforementioned pattern.
I detached the H7Lite form my board and flashed the BareMinimum on it and when I attached it back to my board and tried inserting USB, again it is back into the non functional (orange and red) state.
Amir

I am posting an update regarding the issue I've been having.
To give it the benefit of the doubt, I bought some more new Portenta H7 boards. Becasue I've been having issues with Portenta H7 Lite and the older Portenta H7s were working fine. So, I thought the issue comes from some differences between H7 and H7 Lite.
So, I tried the new Portenta H7s on my boards and found out even the new H7 s are having the same issue.
So, now I know that something fundamentally changed between the old version of Portenta H7(I bought 6 months ago) and the new ones I purchased recently.

Any idea?