A
A
Anton Dubinin2016-03-20 22:32:05
Debugging
Anton Dubinin, 2016-03-20 22:32:05

Debugging stm32 in GDB. How to determine when the pin is reset?

I'm trying to build OpenCNC to control a milling machine on stm32.
Somehow I assembled the firmware, I throw it into the MK, and it shows the screen for half a second and then turns off the backlight. Rummaged through the entire code of direct access to this pin is not. I assembled a test firmware with a blinking screen backlight, everything works. I tried to add the inclusion of a pin in several places, it still goes out immediately. The only hope is to somehow catch through the debugger which function sins with this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Dubinin, 2016-03-21
@AntonDubinin

Caught a bug with si and break on everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question