2014-03-27 03:18 AM
hi, I have a problem with Application from STM32Cube_FW_F4_V1.1.0. It´s the USB_Device -> MSC_Standalone application. When I build the files with Coocox and download it on my STM3240G-Evalboard, the USB-Device will be identified, but not the SD-Card. When I test the same example with EWARM, it works well. The USB-Device and the SD-Card will be found. In Coocox I included the same files how in EWARM and made the same defines within the compiler preprocessor. Have some an idea what I make wrong?
2014-04-07 10:36 PM
hi, I had compared the startup file. but this the same structure how the startupfile from coocox.
there are the same entries.2014-04-09 11:44 PM
The Stack was to small.
I change in the startup_stm32f4xx.c the Stack, like this:
#define STACK_SIZE 0x00001000 /*!< The Stack size suggest using even number */
2014-04-10 01:59 AM
The Stack was to small.
Stack size is kind of ''other project settings'', as noted in an earlier post. Because available RAM in MCUs is very limited, compared to PC environments, stack size is an important item to watch, and think about when creating the project. Just watch the number of threads started here (and on other fora) because of insufficient stack. The effects are usually 'random' crashes at runtime.