AnsweredAssumed Answered

STM3240G-EVAL USB-HS code don´t work

Question asked by chmielewski.karl on Jan 3, 2014
Latest reply on Jan 7, 2014 by chmielewski.karl


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.