klipper icon indicating copy to clipboard operation
klipper copied to clipboard

spi_flash: Fix definition for btt-skr-mini-e3-v3

Open nhchiu opened this issue 1 year ago • 2 comments

The original config gets an error: "SPIFlashError: Failed to Initialize SD Card." when flashing skr-mini-e3-v3 through UART. Same result with several sd cards with different brands and capacity. Screenshot 2022-10-17 010749

Changing spi_bus to swspi made it work. Screenshot 2022-10-17 010425

Signed-off-by: Nathan Chiu [email protected]

nhchiu avatar Oct 16 '22 17:10 nhchiu

Okay, but it will be necessary to find the root cause of the error. Making changes without understanding the root cause increases the risk of introducing a regression for other users.

-Kevin

KevinOConnor avatar Oct 25 '22 19:10 KevinOConnor

Sorry. I've checked the STM32g0b1 pin schematic and the spi1 bus is using the same pins as the SWSPI pins I assigned. But my knowledge about MCU is too limited so I couldn't figure out why using SWSPI instead makes it work. I opened the PR wishing someone could take a look at it... Thanks.

nhchiu avatar Oct 26 '22 03:10 nhchiu

It looks like this GitHub Pull Request has become inactive. If there are any further updates, you can add a comment here or open a new ticket.

Best regards, ~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

github-actions[bot] avatar Nov 16 '22 12:11 github-actions[bot]