2026-02-02 5:39 PM
I'm very new to this so be kind. I've been working on a display for CAN data. I have the display designed and it works and while building code for the CAN and using the GPIO5 LED for testing, when I Run it, I get a garbaged display. I have a working sample project that was provided to me as a guide, when I run it, it works fine, but when I go back to my project, part of the other project is still being displayed. It's as if it's not fully erasing and programming everything. I did some research and found suggestions to select Full Chip Erase, but there isn't one.
2026-02-02 5:58 PM
You haven't indicated if this is a custom board or a ST development board? Not even a mention of what STM32 you're using?
It could be an external loader issue? On the other project that works, did you use the same external loader parameters on your new project? Note: Some STM32 don't use an external loader but without knowing what STM32 you're using, we can't confirm.
2026-02-03 5:14 AM
This is the Riverdi 50STM32U5A9 display board using a ST-LINK/V2 external loader. The driver is the MX25LM51245G_STM32U599J-DK.stldr, if that helps.
I'm using the same loader for both projects and the parameters were the default parameters.
It would have a half screen of garbage and the I would reload it and it seemed fine and then it just got worse and now I cannot get it to much of anything but garbage. It compiles without errors.
I've tried many settings in the debugger, verify flash is enabled. Incremental flash is disabled. Using Hardware rest for the reset behaviour.