Page 2 of 2
Re: STM32F3 Discovery - IAR
Posted: Wed Oct 16, 2013 7:35 pm
by Giovanni
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
Re: STM32F3 Discovery - IAR
Posted: Wed Oct 16, 2013 9:31 pm
by midihenry
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?
Re: STM32F3 Discovery - IAR
Posted: Wed Oct 16, 2013 9:40 pm
by Giovanni
Code loading is not related to OS settings.
Play with the IAR options.
Giovanni
Re: STM32F3 Discovery - IAR
Posted: Fri Oct 18, 2013 2:09 pm
by midihenry
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..
Re: STM32F3 Discovery - IAR
Posted: Fri Oct 18, 2013 3:22 pm
by Giovanni
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
Re: STM32F3 Discovery - IAR
Posted: Fri Oct 18, 2013 8:11 pm
by midihenry
No it doesn't enter the main function,In fact I can't even debug step by step ..
Re: STM32F3 Discovery - IAR
Posted: Fri Oct 18, 2013 8:47 pm
by midihenry
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.

Re: STM32F3 Discovery - IAR
Posted: Fri Oct 18, 2013 8:55 pm
by Giovanni
Good, please look all the tabs in the linker section and compare with the F4 project.
Giovanni