I’ve taken the “webserver” demo for IAR, modified it by removing everything for the USB and webserver, then added a bunch of my code in to IAR for peripheral access to the ADC, I2C, GPIO, etc. It compiles well and I’ve already created a couple of basic tasks including one that makes a call to the I2C temperature sensor on the board.
When putting data to the DBG port, a error message is being generated. This message is in the function “vApplicationTickHook” . The message is this: “An error has been detected in the Block Time test demo.”, and comes up nearly every call after the task that does the I2C temperature read.
What’s the cause, and how can it be taken care of?