Associate II
January 3, 2014
Question
STM3240G-EVAL USB-HS code don´t work
- January 3, 2014
- 15 replies
- 2075 views
Posted on January 03, 2014 at 08:17
hi,
maybe someone can help me. I want test the USB-HS on my board and take the example code from the ST Homepage. After the elimination of all compiler errors and declartion of the defined Symbols, the code stops in the startup_stm32f4xx.c file, at this function
static void Default_Handler(void)
{ /* Go into an infinite loop. */ while (1) { } }I work with coocox. Can someone help me with this problem or does anyone have the code for the USB-HS and can share with me?
My compiler control string is: -mcpu=cortex-m4; -mthumb; -Wall; -ffunction-sections; -g; -O0; -DSTM32F407IG; -DSTM32F4XX; -DUSE_STDPERIPH_DRIVER; -D__ASSEMBLY__; -DUSE_USB_OTG_HS; -I.; The code you find in the attachment. Thanks