Skip to content

Conversation

bogdanarduino
Copy link

Created patch to remove the call to "enableEthPowerSupply" from "HAL_ETH_MspInit" when building the Portenta H7 variant. And introduced new bootloader binary in "STM32H747_manageBootloader.ino".

…om "HAL_ETH_MspInit" when building the Portenta H7 variant.
@pennam
Copy link
Contributor

pennam commented Aug 28, 2025

@bogdanarduino will ethernet work using bootloader 25 (or even previous versions) and removing enableEthPowerSupply ?

I would wait to officialy release the bootloader 26 before adding the bootloader dump in the core, to make sure we are using the exact same binary.

@bogdanarduino
Copy link
Author

bogdanarduino commented Aug 28, 2025

@bogdanarduino will ethernet work using bootloader 25 (or even previous versions) and removing enableEthPowerSupply ?

I would wait to officialy release the bootloader 26 before adding the bootloader dump in the core, to make sure we are using the exact same binary.

Yes, Ethernet functionality should be unaffected by these changes, since the bootloader only contains a fix for the nominal voltages being output by the board's PMIC DC-DC stage, but the rails are nevertheless still being turned on automatically during start-up, by the config of the OTP registers of the PMIC. What we did here is to remove the call to this, basically redundant function, which made absolutely sure that we have power supplied to the PHY before going to low power (stand-by) mode. We now moved the call to "turnOffEthernet" in the function which sets all the peripherals to low power "setAllPeripheralsPower(false).

@bogdanarduino
Copy link
Author

@bogdanarduino will ethernet work using bootloader 25 (or even previous versions) and removing enableEthPowerSupply ?

I would wait to officialy release the bootloader 26 before adding the bootloader dump in the core, to make sure we are using the exact same binary.

Should I then remove the new bootloader form the header? Thank you very much for the comments!

@pennam
Copy link
Contributor

pennam commented Aug 28, 2025

Should I then remove the new bootloader form the header?

Yes please

@pennam
Copy link
Contributor

pennam commented Aug 28, 2025

@bogdanarduino bogdanarduino force-pushed the AE-591_remove_call_to_enableEthPowerSupply_from_HAL_ETH_MspInit_H7 branch from d2a7938 to a9a2246 Compare August 28, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants