Search found 14537 matches

by Giovanni
Sat Nov 30, 2024 10:39 am
Forum: Bug Reports
Topic: STM32 OTGv1 Suspend and Resume Fixes
Replies: 4
Views: 745

Re: STM32 OTGv1 Suspend and Resume Fixes

Hi,

Fixed as bug 1293 with a minor change.

Please could you confirm that everything is OK now? there are also other changes to the driver fixing other problems.

Giovanni
by Giovanni
Sat Nov 23, 2024 8:36 am
Forum: General Support
Topic: starting openocd with debug launcher
Replies: 4
Views: 160

Re: starting openocd with debug launcher

Hi,

True, Eclipse is confusing initially but then things start to make sense and it becomes very powerful.

Giovanni
by Giovanni
Thu Nov 21, 2024 10:21 am
Forum: General Support
Topic: starting openocd with debug launcher
Replies: 4
Views: 160

Re: starting openocd with debug launcher

I'm new to ChibiOS and ChibiStudio/eclipse. I'm using a ST-Link to debug. I want to click the Build/flash/run launcher and have it start OpenOCD. Currently I have to go to the external tools menu to find 'OpenOCD on STLink'. In addition, after clicking that I have to navigate to 'C:\ChibiStudio\too...
by Giovanni
Tue Nov 19, 2024 6:54 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 621

Re: NUCLEO-L4R5ZI OTG Support

Hi,

It also happens withe USB driver, I think it is the host discarding incoming data if the virtual com port is not yet opened by any process. You may try putting a delay before spawning the shell and opening a terminal before the shell spawns.

Giovanni
by Giovanni
Mon Nov 18, 2024 1:39 pm
Forum: Bug Reports
Topic: USB CDC ACM and 64 bytes transaction
Replies: 22
Views: 1414

Re: USB CDC ACM and 64 bytes transaction

hi, Fixed another problem with the number of bytes returned by usbReceive(), it was higher than the real value under certain conditions. About the frames exactly 64 bytes, the driver does not notify for data because the host sends no zero packet, the driver assumes that more frames follows as specif...
by Giovanni
Sun Nov 17, 2024 10:01 am
Forum: Bug Reports
Topic: USB CDC ACM and 64 bytes transaction
Replies: 22
Views: 1414

Re: USB CDC ACM and 64 bytes transaction

It turned out that the problem with non-receiving data before launching the terminal was caused by "cocked" mode of the serial port, by adding a \n to the data stream made the problem disappear, the terminal SW simply selected "raw" mode and it sticks even after exiting the termi...
by Giovanni
Sat Nov 16, 2024 9:45 am
Forum: Bug Reports
Topic: USB CDC ACM and 64 bytes transaction
Replies: 22
Views: 1414

Re: USB CDC ACM and 64 bytes transaction

Hi, Wanted to share some strangeness. I am using Linux Mint as host. If I start an USB_RAW demo any attempt to use "dd" or "stty" or even "cat" to send/receive data causes the command to hang, presumably on open() of the port (/dev/ttyACMx). If I 1st open the port using...
by Giovanni
Fri Nov 15, 2024 7:04 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 621

Re: NUCLEO-L4R5ZI OTG Support

This is quite common, you may also try -Og which is specific for debug.

Giovanni
by Giovanni
Wed Nov 13, 2024 11:28 am
Forum: Bug Reports
Topic: USB CDC ACM and 64 bytes transaction
Replies: 22
Views: 1414

Re: USB CDC ACM and 64 bytes transaction

Hi, What I am seeing using the USB_RAW demo on an STM32F746: Reading data from the demo always works using: dd if=/dev/ttyACM1 of=/dev/null bs=512 count=1000 It works regardless of the count and block size. Writing data to the demo only works for packets up to 64 bytes, anything bigger fails and DD ...
by Giovanni
Fri Nov 08, 2024 1:06 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 621

Re: NUCLEO-L4R5ZI OTG Support

Hi,

It is supported by the demo under /testhal/STM32/multi/USB_CDC

Giovanni

Go to advanced search