Search found 9 matches

by elpekenin
Sat Aug 05, 2023 2:16 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

Tried adapting from testhal/STM32/multi/WSPI-MFS , however, even tho i added this (is itwrong? im a mk noob) to my QMK's board.mk file
include $(CHIBIOS)/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.mk
I can't get my code past Compiling: platforms/chibios/boards/WEACT ...
by elpekenin
Fri Aug 04, 2023 4:38 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

Good news, i can jump into the uf2 now. Had to use the erase-firmware "app" first, to get the "is app valid?" check to pass, probably a little bug somewhere.
Bad news, it breaks early on init

According to STLink, program halts...
__STATIC_INLINE void __rccResetAHB4(uint32_t mask) {
/* Resetting ...
by elpekenin
Mon Jul 31, 2023 4:47 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

I just found out why it crashed... It's because tu2 was doing:

⋅  Init QSPI in mem-mapped mode
⋅  Check if we should jump to user code and do so if appropriate. I will later try and find out whether this config is keep or we need to re-config it...
⋅  if no jump, re ...
by elpekenin
Mon Jul 31, 2023 9:37 am
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

> File selected

Yeah, did that, but it didnt spit anything. Neither code nor any error/warning

Read somewhere that it may be due to not having JRE but didnt seem to fix it either (could very well be a user error)


I could try an older release indeed
by elpekenin
Sun Jul 30, 2023 11:13 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

No debugger yet, made a quick test right now

// same code as before, except changing w25q_read by pointer
uint8_t value = *(uint8_t *)QSPI_BASE_ADDR;
char buffer[10] = {0};
itoa(value, buffer, 10);
print(0, 50, COLOR_BLACK, buffer);

But doesnt seem to work, no idea if ...
by elpekenin
Sun Jul 30, 2023 10:34 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

Hey,

Small updates here (they took embarrassingly long):

⋅  Downloaded STM's IDE and dropped part of my settings, as far as i can tell my clock settings are okay(ish?)
⋅ Modified tinyUF2 a bit, so that it increments a value on the QSPI flash on each reboot, and show it on ...
by elpekenin
Sat Jul 29, 2023 9:25 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

Im now trying to get everything correctly configured for my board ( https://github.com/WeActStudio/MiniSTM32H7xx/tree/master )

I've downloaded ChibiStudio* to setup alternate functions following the datasheet(note: i manually removed HSE_BYPASS from generated board.h) and im trying to get ...
by elpekenin
Mon Jul 24, 2023 10:46 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

Re: STM32H750 not booting

Clock speed matched mine, i just had to `#undef` the `STM32_HSE_BYPASS` thing (thanks sigprof who told me this was problematic on QMK's discord), didn't notice it was on the demo file, it booted now :lol:

And thank you too for the reply, Giovanni, of course.
by elpekenin
Mon Jul 24, 2023 4:46 pm
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 15148

STM32H750 not booting

Hello, it's my first time making a post here, so bear with me if i do something wrong/stupid :)
Note: Couldn't find any relevant info looking at the forum nor Discord server

I've bought this dev board (more info about it here ) and I'm trying to get it running using demos/STM32/RT-STM32H750XB ...