STM32F4-Discovery / IAR 6.30
Posted: Tue Dec 13, 2011 2:31 pm
Dear Folks,
I have several Problem getting Chibios running on a STM32F4-Discovery Board with IAR Workbench.
The Problem already exists in Startup just before getting to the "main" C-Routine.
When Stepping through the code, i reach the main routine without any problems, but when doing a free run, the processor ends up in a unhandled exception (undefined instruction).
With several breakpoints i found out that there must be a problem with __iar_data_init3 routine. Maybe it's a corrupted stack or something.
Has someone similar Problems when trying to run the chibios demo project with stm32f4 discovery on iar?
The stm32f4 demo project from st runs without any problems.
I hope someone can help me with this issue.
Best Regards
Pascal
I have several Problem getting Chibios running on a STM32F4-Discovery Board with IAR Workbench.
The Problem already exists in Startup just before getting to the "main" C-Routine.
When Stepping through the code, i reach the main routine without any problems, but when doing a free run, the processor ends up in a unhandled exception (undefined instruction).
With several breakpoints i found out that there must be a problem with __iar_data_init3 routine. Maybe it's a corrupted stack or something.
Has someone similar Problems when trying to run the chibios demo project with stm32f4 discovery on iar?
The stm32f4 demo project from st runs without any problems.
I hope someone can help me with this issue.
Best Regards
Pascal