2014-06-03 09:25 PM
Hello. I am trying to interface MCBSTM32 with GP22. The main function involves printf function. The code is compiling without error. But the debugger is not working in presence of printf function. I have tested with simple integer/ float print. Debugger is not working. When I comment the printf functions the debugger is working fine. I have tried with increasing the heap size to 400 in startup_stm32f10x_hd.s but still it is not working. the stack size is 400. I am using keil version 510. Help solicited.
#printf #stm32 #keil-uvision2014-06-04 05:05 AM
Have you added the appropriate semi-hosting/targeting code for your board? If not you are probably trapping in the Hard Fault Handler.