Skip to main content
8 events
when toggle format what by license comment
Apr 25 at 10:45 comment added kkrambo When you download/start the program in the debugger, does the execution reach a breakpoint at main()? If so, then step through to see where the execution stops behaving as you expect. If not, then have you included into your project startup files for the run-time environment, such as startup_stm32h563xx.s and system_stm32h5xx.c? If so then set a breakpoint where the startup code calls SystemInit() and see if you can get to and step from there.
Apr 24 at 13:30 comment added George P. I am aware I can and have done so, but the whole point is to have to use as little libraries as possible, and be able to configure it (if possible) almost entirely using the registers directly, thank you.
Apr 24 at 12:47 comment added Justme Also I don't see how you "want to be able to configure the MCU with registers alone" depends on any IDE. Just code, compile and upload, using any tools you want. Nobody forces you to configure the MCU with the CubeMX GUI code generator. Create an empty non-cubeMX project.
Apr 24 at 12:31 history edited George P. CC BY-SA 4.0
added 129 characters in body
Apr 24 at 12:30 comment added George P. I am gonna edit the question
Apr 24 at 12:23 comment added Justme You are programming the MCU through a debugger. Have you debugged what the problem is, what code is executed and what isn't?
Apr 24 at 12:13 history edited George P. CC BY-SA 4.0
added 28 characters in body; edited title
Apr 24 at 12:03 history asked George P. CC BY-SA 4.0