Question
Unexpected Error in managing pointer: ''void HardFault_Handler (void)''
Posted on August 25, 2017 at 13:22
In a project I'm using a pointer to read data from memory.
I have problems with this procedure.
My pointer is a uint32_t * punt.
The pointer extracts the data and then increments itself.
extraction = *punt;
punt = punt +1;
With a loop 'for' the program repeats the operation n times.
If I run the cycle one or two times, everything is fine.
If I run the cycle for n> = 3 then I fall into 'void HardFault_Handler (void)'.
Please help me.
Thank
#void-hardfault_handler-(void) #stm32f4 #pointer