Hello,
I wrote FreeRTOS code for blinking LED on STM32F103RB. When i debug the program it goes into HardFault exception. May i know what is the exact cause of this.
Should i make it zero?
NO !
what does this mean?
Read a cortex M3 architecture document and your chip's user manual.
Sir what changes should i make to resolve my error. My GPIO is set properly when i check in debug. please do help
please do help
How can I? I am not telepathic. I would argue that no one here is. Debug it -> solve it.
Have you made sure you don't have a stack overflow, and don't have a memory overrun, and don't make use of any uninitialized pointers or index variables?
After all - debugging is a significant part of programming.
thank u all.. finally it worked... have to do few changes in freertos code..
have to do few changes in freertos code..
Probably the wrong solution, unless it is a change to the ported code !
Its not wrong.. did one change in port.c file