Комментарии:
Hi, I'm using STM32F446RE , i did same procedure i didn't get errors in the program but output is not coming
Ответитьyou are master!!!!!😍
ОтветитьThank you sir, your videos on stm32 are very useful. Please make a video on bootloader using UART.
ОтветитьHello, I need this tutorial now, but it doesn't work I am using STM32F446RE. Are they some updates or something that change?
ОтветитьSir How the data is received outside the While loop. U r not enabling any Interrupt or DMA. How it is possible
ОтветитьThx! ps: USB interrupt must be enabled
ОтветитьHi! I wanted to thank you first for always replying to my questions. I wonder if we do have to configure the baud rate and others in the hercules utility (logic says that no but I am still confused) Thank you
ОтветитьVery good video, but I'm having some issues, my buffer only receives the last character sent, and stores it in the first section of the buffer array
Ответитьcan i do USB send and Receive in the Keil IDE using registers ?
Ответитьi have done everything but during debug session it says target not available
Ответить"And now as I connect it, a new serial device gets detected!" It rymes! Happy Christmas
ОтветитьOn my computer, the notification says USB device is unknown. Does anyone know why?
ОтветитьExcellent video, but my WIN 10 is not recognizing the new virtual port. I have installed the official STM drivers, but no success! Did anyone face the same issue
Ответитьhi PLS HELP
When I receive data i got only first char. I mean that when i print my buffRX as a string or even as char (buffRX[0] or buffRX[1]) i got only last char of string that i receive from PC///// PLS HELP
thx
ОтветитьHello! When I'm enabling embedded USB DMA on CubeMX, windows does not recognize the USB device. If DMA is disable, everithing works well. I'm using NUCLEO H7 board. Do you have any explanation for this issue? Thanks!
ОтветитьHello, thank you for this video. I have a question. What happens if you restart the PC and the board remains connected? Can you still see the device in device manager? Since mine shows the USB descriptor request failed. If I plug it out and plug it back in again it works fine. But I have to do that every time I restart the PC. Do you have any advice on this? How does your device behave? Thanks!
ОтветитьGood video, well explained and straight to the point. Thank you
ОтветитьI couldn't see which COM, my pc shiws it as STM32 ST Link
ОтветитьSir, if I do the Simple Led blink Program, then how can I check the output? I want to do it without ST link.
Ответитьworks perfectly until i press reset button. It stops sending the string (have to unplug and plug the usb) . I don't see any stopping condition in the code . can you explain ?
ОтветитьHi, the video was very informative. But can you guide me to any link or video for linux, as HW is not available in linux. I used putty, for getting the transmitted data. But cant do anythng to send data to the board. I am very new to this,if someone can help me with some tutorial guide / site, it will be very helpful.
And also after debugging, running the code in STM32 CubeIDE it also shows an error like this :
libusb: error [udev_hotplug_event] ignoring udev action bind
Can anyone please help me on the above also. Any small clue will be appreciated.
Hello sir, how can I receive 32-bit integers?
I want receive a value like
uint32_t value;
best
Ответитьi am limitted to recevie 64 bytes. after 64 bytes buffer overflows. "*Len" pointer in "static int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len)" overflows when reaches to 64.
ОтветитьHello I have a question about the Len parameter in the CDC_Receive_FS function. What is it for? and what am i supposed to fill in? can I leave it out?
ОтветитьVery Nice work, Thank You !
Ответитьhello I do not have a "USB" to choose from in my Cube MX. only USART?
Ответить(Edit - IT'S WORKNG NOW)...
I am using stm32L475 and I cant see options for usb as shown in video.
I can see three options
USB DEVICE
USB HOST
USB_OTG_FS
ALL WERE GRAY
but when I selected there pins,
I can enable USB_OTG_FS .
I proceed with it, but in my project I can find any usb_cdc_if.c.
Even the USB device folder is not generated.
Hi, on my computer , on debugging, it doesn't transmit because it return USBD_BUSY, does someone have the same problem?
ОтветитьIt was very useful.. I tried out in my black pill board.. worked amazing.. And speed of transmission is USB_ Full speed ❤️.. Loved it..! Thanks.. Now a big bye bye to Arduino 🤣
ОтветитьMy board is not being recognized as COM port. What should I do?
ОтветитьNice!. The data is transmitted in which format? char or hex? What if I send uint8?
ОтветитьAre there any STM32 modles that can do this without an extranal resonator?
ОтветитьThank you, very helpful video.
ОтветитьThank you for the video, i have a question I am using stmf407g and I do not have USB and USB_DEVICE access from pinout and configuration. Could you help me ?
ОтветитьCan the data received from the stm32 be saved to a text file continuously until the code has finished running?
Ответитьwhat board are you using? Did you make your own?
ОтветитьVery helpful tutorial! But i have a question. How do you debug and transmit data in the same time? Did you connect ST-link and USB in the same time to your bluepill?
Ответитьhi people! i'm using the same stm32f103c8t6, and i've tested the code as the video and it works, but without the debugger (stlink-v2), anyone knows if there's a problem using usb communication and debugger at the same time? or maybe i could be missing something... from now, thanks
ОтветитьI run the program and when the computer sends "start", the micro sends "Hello World from USB CDC" but when I debug the program, micro and PC can not send anything anymore and Sending stops and when I go to Live Expressions in the Value field is written "Target not available". what is the problem?
ОтветитьWould this work if I have no HSE Crystal fitted? I was using a nucleo which didn't have one fitted it worked for weeks and now doesn't worried it might be the crystal
ОтветитьI'm having a hard time using Cdc_transmit_fs to send an int. I've tried intoa and sprintf with no luck. Any help here?
ОтветитьI followed the same steps. but why on stm32f103c8tx the usb does not working " USB device not Recognized"?
ОтветитьHow recieve packet from PC
B0=254; // sync
B1 //number of variable
B2//High byte
B3// byte
B4// byte
B5=//Low Byte
Var[B1]=B2<<24+B3<<16+B4<<8+B5
If the stream fails, then in the incoming stream we look for synchrobyte 254 (skip bytes until we have received 254)
hello,..i am having a "driver error" in the devices for connected usb...can you please tell how to fix it??
ОтветитьHey, Everything works almost fine. When trying to receive data on my PC, althought the virtual port is detected (COM12) in my case, the serial port wont open when I press "open". Says windows error #5 in docklight. In hercules it says: Serial port COM12 opening error. Any ideas?
ОтветитьHello, thanks a lot it worked for me! Excuse me, how can I pass a simple integer or float stored in a variable, instead of a string?
Ответить