Added STM32H750 with 32kb offset#7219
Conversation
STM32H750 only has 128kb of storage so the STM32H7 typical offset of 128kb would be too large, I added it to the 32kb bootloader selections.
|
Tested and working on my Sovol Zero, which uses STM32H750 |
|
Just for cross-linking: Because they depend on each other, I think. Also, you want to add a sign-off, at least in the message (https://www.klipper3d.org/CONTRIBUTING.html). Thanks, Ah, just a suggestion, you can also check the 400 -> 480MHz, it should probably work. |
Added 128kb offset for SV-Zero/Max STM32H750
Co-authored-by: asnajder <andrew.snajder@gmail.com>
|
Thanks for the help and testing guys! -wildBill83 |
I have added my signoff in the initial post. Sorry for missing that. |
| bool "16KiB bootloader" if MACH_STM32F207 || MACH_STM32F401 || MACH_STM32F4x5 || MACH_STM32F103 || MACH_STM32F072 | ||
| config STM32_FLASH_START_20000 | ||
| bool "128KiB bootloader" if MACH_STM32H743 || MACH_STM32H723 || MACH_STM32F7 | ||
| bool "128KiB bootloader" if MACH_STM32H743 || MACH_STM32H723 || MACH_STM32F7 || MACH_STM32H750 |
There was a problem hiding this comment.
You explicitly said that 128Kb is an invalid offset, because 128kb is a whole flash memory size.
So, why are you adding H750 here?
There was a problem hiding this comment.
I can add my two cents regarding that.
There is a scenario where 128KiB is actually preferred - if you are using a Sovol Zero mainboard, it ships with a 128KiB offset and what we believe to be a QSPI flash chip.
Myself and many others have flashed Klipper with the 128KiB offset using Sovol's shipped Katapult successfully. (In fact, if you flash Klipper with the "correct" offset of 32KiB on top of Sovol's Katapult, it bricks the chip and you need to get your st-link out).
The stock board's Katapult reports 128, and there are mentions of quadspi in the sovol repo.
So in summary, there are two scenarios at play here:
- For those "mainlining" off of Sovol's stock version of Klipper, flashing with a 128KiB offset "just works" and you do not need to re-do Katapult with 32KiB and then flash Klipper with 32KiB.
- For those not using a Sovol Zero mainboard, but their board has an STM32H750, you can do it with 32KiB.
Therefore, it would be advantageous to have 128KiB as an option to flash Klipper with on the STM32H750.
STM32H750 only has 128kb of storage so the STM32H7 typical offset of 128kb would be too large, I added it to the 32kb bootloader selections.
Signed-off-by: Bill Horan whoran83@gmail.com