cancel
Showing results for 
Search instead for 
Did you mean: 

Can't connect STM32F4 via USB to PC

Andrey Semenov
Associate II
Posted on July 25, 2016 at 09:19

to be migrated, sourceId: 68358:697285D7-A9CA-445D-B16C-F23BF0E3B1A3

5 REPLIES 5
slimen
Senior
Posted on July 26, 2016 at 13:20

Hello,

This error it can be related to the HS max packet size. So you can :

1) Increase the heap and the stack size. 

2) If you use the embedded phy of the HS port, change the buffers size and HS max packet size from 512 to 64.  

Regards

Andrey Semenov
Associate II
Posted on July 26, 2016 at 15:48

Ok, where can I find these stack and buffer sizes? My MC doesn't have firmware. I have no .c files. Or these actions I should do in Windows?

Posted on July 26, 2016 at 18:27

Use JTAG/SWD and get software on the chip to validate your design. Of specific interest is that the HSE starts, how long it takes to start, and the frequency (output via MCO) is solid.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Andrey Semenov
Associate II
Posted on July 27, 2016 at 19:17

What software? My MC is empty, there isn't any firmware in it.

Or I should write it to start MC in DFU mode?
Posted on July 27, 2016 at 21:46

You writes software, you JTAG it.

You validate your design from the inside out.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..