I am using FreeRTOS+TCP from FreeRTOS Lab Version 160919 on the Zedboard with a ZYNQ SOC.
I have set up an interrupt using a counter in the APU. My interrupt service routine contains the following snippet of code:
double string = 2.3345;
printf(“value: %f \r\n”,string);
If I activate the interrupt I only get strange values in my UART console:
If I start the interrupt without using FreeRTOS by leaving out the setup of the vector table and the start of the task scheduler in the main function, the value I get is the expected:
Could you please help me explain this behaviour? It seems the installation of the vector table corrupts the execution of printf in the ISR somehow. Printf with integer values works fine in both cases.