i am new with this board.
I am using the CORTEX_AT91SAM3U256_IAR port of FreeRTOS with IAR WorkBench.
I’m trying to make my own code customization, but something very strange happens. If i put any line of code, it hangs and stay in the HardFault handler exception.
i just add some simple lines, without modifying anything else in the file comtest .c in the function:
static portTASK_FUNCTION( vComTxTask, pvParameters )
static unsigned short int i; // i declare a simple int variable
if (i<100) i++; // and i do this
The IAR WorkBench debugger, does not even enter in the main() function, but locks in the while of the HardFault handler in the file exceptions.c
Maybe am i ignoring something ? or just lack some knowledge ?
Thank you in advance,