2016-07-20 11:49 PM
Hi All,
Currently i'm building the cicuit to test the connectivity of the STM32F107VCT6, however currently my problem is, the PC will display 'USB not recognized' whenever plugged in. Using the MikroProg, the chip can be programmed and reprogrammed with no issue. The only problem is the USB not recognized. As seen in the photo attached, I've connected the Vbus to PA9, the D+ to PA12 and the D- to the PA11, but for some reason, it cannot be recognized. Any help will be much appreciated.Thank you #i2c-stm32-stm32f1072016-07-21 07:32 AM
Hi,
Try to increase heap and stack sizesRegards2016-07-21 08:41 AM
Confirm the device is recognized as a USB DFU device when BOOT0 is strapped HIGH
Make sure the HSE is starting, and clocking at the correct speed. Export via MCO (PA8) Make sure the software configuring the PLL, and the HSE_VALUE, reflect the 25 MHz source, and the USB peripheral is getting a 48 MHz clock. GNU/GCC tools tend to provide a large stack (top of memory moving down), things like Keil by default have very small stack/heap allocations.