Hello,
I started a project with MDK 3.02a using STR71x microcontroller. Now, cause stack problems, I must use MDK 3.10 where these problems are solved. I use newer RTL_Config.c and STR71x.s, but my software jump to os_idle_demon. Anyone have this problem? What must I change passing from MDK 3.02a to 3.10?
What state is your only task in? It should be either running or waiting. If waiting, then the idle task will be running.
In this task I have two os_dly_wait(5) functions. Software jump to os_idle_demon during the second os_dly_wait. Between the two os_dly_wait there are RCCU config and APB config.
The OS is expected to run os_idle_demon whenever it doesn't have any other thread in the ready state. Depending on processor, you can save some power by adding a sleep instruction on the os_idle_demon thread function.
I see that apb.h is changed. So peripheral code definition are changed. This is the problem. Now its ok. Do you know if any others libraries was changed?