F3 must use SPIv2, adjust the path.
Please refer to the F3's platform.mk in order to understand what the correct paths are, each STM32 is different.
Giovanni
STM32F3 Discovery - IAR
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F3 Discovery - IAR
Thank you
Well I finally could get rid of all errors but the code doesn't seem to be downloaded to the board :/
Is there anything else that I must enable in the halconf.h file?
Well I finally could get rid of all errors but the code doesn't seem to be downloaded to the board :/
Is there anything else that I must enable in the halconf.h file?
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F3 Discovery - IAR
Code loading is not related to OS settings.
Play with the IAR options.
Giovanni
Play with the IAR options.
Giovanni
Re: STM32F3 Discovery - IAR
Well I managed to get rid of all errors finally 
But when I download the code it just doesn't run on the board.. I was using the demo main.c provided for the STM32F3 Discovery board.
That's awkward..
But when I download the code it just doesn't run on the board.. I was using the demo main.c provided for the STM32F3 Discovery board.
That's awkward..
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F3 Discovery - IAR
The project contains several settings that should be modified in the linker section, note that F3 and F4 have different RAM sizes, you need to change some addresses/sizes there.
You should also be able to debug, does the program at least enter the main function?
Giovanni
You should also be able to debug, does the program at least enter the main function?
Giovanni
Re: STM32F3 Discovery - IAR
No it doesn't enter the main function,In fact I can't even debug step by step ..
Re: STM32F3 Discovery - IAR
Thank you Giovani I really appreciate your help and especially your patience 
I got it working finally.
I realised tha I missed out on those settings.

I got it working finally.
I realised tha I missed out on those settings.

- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F3 Discovery - IAR
Good, please look all the tabs in the linker section and compare with the F4 project.
Giovanni
Giovanni