STM32VLDiscovery: STARTUP_FROM_RESET fails
Posted by Tomaszos
on May 18, 2013
I'm not a 'freertos-expert' but I've prepared small projected based on on FreeRTOS and CROSSWORKS v.2.3. I used for that: Demo project, but I had to change the MCU from STM32F103 to STM32F100RB (or C8) becouse I want to test it on STM32VLDiscovery board. It looks like everything is okey, but I found small prolem related with startup - when I set "STARTUP_FROM_RESET" unfortunetaly application doesn't start.
Of course I can start application by programming, and clickiing "RUN" (application starts from main() ), but application isn't able to start just after the reset (eg. reset button)
Any idea how to solve that issue.
Crosswork version: 2.3, hardawre: STM32LVDiscovery,
My source code (modified freertos): http://www.wrzucaj.org/729953
Maybe someone test it on STM32VLDiscovery ? :-)
Thanks for help,
RE: STM32VLDiscovery: STARTUP_FROM_RESET fails
Posted by Richard
on May 18, 2013
Can you tell if the application starts at all?
If the application starts and gets as far as vTaskStartScheduler() but no further then it is likely to be something to do with the vector table configuration. If the application does not even get as far as main then it's not a FreeRTOS issue but a C startup, linker script or other build related issue.
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.