Trying to debug the port ends up in a “HardFault”. After disabling all the tasks except LEDFlash, things started working. LCD task can also be enabled, but enabling any more, results in a HardFault. Disabling LEDFlash and enabling CheckTask works well, but when both of them is enabled together with LCD, error occurs once again. I have tried to increase the stack and heap size in startup-file with no luck.
Does anyone have any pointers to what i can try next?
On an STM32, pay particular attention to the forth bullet point under point three, as unlike most CM3 vendor libraries, the STM32 libraries do not do this by default.
I tried with different versions of the IAR compiler and works correctly with 5.41 and 5.50,
while with 6.10 the port ends up in a “HardFault”.
Just have a little free time I try to investigate.