Problem with STM32F051C8T6 IAR compiler
Moderator: RoccoMarco
Problem with STM32F051C8T6 IAR compiler
Hard Fault enter SysTick Handler. On enter SysTick SP = 0;
- Attachments
-
- Debugger screenshot
- F051.jpg (1.04 MiB) Viewed 6244 times
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Problem with STM32F051C8T6 IAR compiler
Hi,
You don't give much info about the problem...
Anyway M0 on IAR is not officially supported because the free compiler is limited to 8KB, not enough for the test suite.
Giovanni
You don't give much info about the problem...
Anyway M0 on IAR is not officially supported because the free compiler is limited to 8KB, not enough for the test suite.
Giovanni
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Problem with STM32F051C8T6 IAR compiler
I see in your project also the files for v7m, are those disabled?
The best way ahead would be if you could provide a project compilable in 8KB, I could at least test that (you can cut unused subsystems in chconf.h and halconf.h).
Giovanni
The best way ahead would be if you could provide a project compilable in 8KB, I could at least test that (you can cut unused subsystems in chconf.h and halconf.h).
Giovanni
Re: Problem with STM32F051C8T6 IAR compiler
Hi, Giovanni.
Thank you very much, I'll try that way and send results toworrow. Sorry, my English so so bad.
Thank you very much, I'll try that way and send results toworrow. Sorry, my English so so bad.
Re: Problem with STM32F051C8T6 IAR compiler
Good night, Giovanni!
Cutting project
Size < 5 KByte
Maybe you will have some problems with my project - sorry - I am a beginner - "teapot"
Best regards from Ural mountains.
Alex.
Cutting project
Size < 5 KByte
Maybe you will have some problems with my project - sorry - I am a beginner - "teapot"
Best regards from Ural mountains.
Alex.
- Attachments
-
- chChannel.rar
- (57.42 KiB) Downloaded 457 times
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Problem with STM32F051C8T6 IAR compiler
Forgot this one.... I placed a link at the center of my desktop, in the weekend I will give it a try.
Giovanni
Giovanni
Re: Problem with STM32F051C8T6 IAR compiler
Hi.
I think the problem is in that you are using standard linker script. It is not compatible with ChibiOS because there is no definition for IRQ stack!
Use appropriate file from ChibiOS IAR demo.
I think the problem is in that you are using standard linker script. It is not compatible with ChibiOS because there is no definition for IRQ stack!
Use appropriate file from ChibiOS IAR demo.
Re: Problem with STM32F051C8T6 IAR compiler
Hi, AlexBlack
Your hint is very useful. Problem solved. Thank you very much.
Best regards.
Your hint is very useful. Problem solved. Thank you very much.
Best regards.
Re: Problem with STM32F051C8T6 IAR compiler
Hi.
О сразу не заметил - земляк! Я родился в Троицке Челябинской области
Всегда рад помочь.
Alex wrote:Best regards from Ural mountains.
Alex.
О сразу не заметил - земляк! Я родился в Троицке Челябинской области
Всегда рад помочь.