Search found 130 matches

by lilvinz
Tue Feb 28, 2017 11:13 am
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 26994

Re: STM32L476 USB HAL errors Topic is solved

Hi Giovanni,

using Linux Mint only.

Cheers

Vinz
by lilvinz
Sat Jan 21, 2017 3:08 pm
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 26994

Re: STM32L476 USB HAL errors Topic is solved

I don't see, how. Maybe the thread-starter can do it though.

Cheers

Vinz
by lilvinz
Sat Jan 21, 2017 1:08 pm
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 26994

Re: STM32L476 USB HAL errors Topic is solved

Bumping this thread as it has been marked as resolved.
by lilvinz
Wed Dec 28, 2016 11:33 pm
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 26994

Re: STM32L476 USB HAL errors Topic is solved

Hi Giovanni, finally i found some time to reproduce the issue using a demo. Apply the following patch to svn://svn.code.sf.net/p/chibios/svn/trunk@9991 which basically adds usb serial device to the stm32l476 demo and enables debug asserts: diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/Makefile b/d...
by lilvinz
Fri Nov 25, 2016 9:29 pm
Forum: Bug Reports
Topic: STM32L4 stm32_clock_init() flash settings Topic is solved
Replies: 2
Views: 2888

STM32L4 stm32_clock_init() flash settings Topic is solved

Hi, in stm32_clock_init() the flash settings for cache and art are being reset when changing the wait states: Current code: /* Set flash WS's for SYSCLK source */ if (STM32_FLASHBITS > STM32_MSI_FLASHBITS) FLASH->ACR = STM32_FLASHBITS; /* Switching to the configured SYSCLK source if it is different ...
by lilvinz
Fri Nov 25, 2016 9:25 pm
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 26994

Re: STM32L476 USB HAL errors Topic is solved

Up to now i have not been able to strip this down to a simple example.
It seems to depend on timing.
The issue is still present and i am still trying.

Cheers

Vinz
by lilvinz
Tue Nov 08, 2016 7:27 pm
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 26994

Re: STM32L476 USB HAL errors Topic is solved

Hi Giovanni, it seems i am hitting a similar issue but on the fixed version: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@9890 _usb_ep0out() panics with "EP0 state machine error" while usbp->ep0state being USB_EP0_TX. Commenting out the error handling "fixes" it for...
by lilvinz
Thu Nov 03, 2016 9:46 pm
Forum: Bug Reports
Topic: stable-16.1.x branch OTGv1 issue Topic is solved
Replies: 2
Views: 2506

stable-16.1.x branch OTGv1 issue Topic is solved

Hi Giovanni,

the fix for stepping 2 is lacking the register definitions in stm32_otg.h

Code: Select all

#define GCCFG_VBDEN             (1U<<21)    /**< VBUS sensing enable.       */
#define GCCFG_PWRDWN            (1U<<16)    /**< Power down.                */


Cheers

Vinz
by lilvinz
Thu Oct 27, 2016 4:28 pm
Forum: Bug Reports
Topic: rtcGetTime(): returns uninitialized memory Topic is solved
Replies: 7
Views: 4553

Re: rtcGetTime(): returns uninitialized memory Topic is solved

I see a couple of ways with its own pros and cons each. The following are my thoughts: Currently the isdst flag is part of the HAL but at least the STM32 RTCv1 and RTCv2 do not have support for that. If there are no other ports supporting this flag, it should be dropped. In that way the user sees im...
by lilvinz
Sat Oct 22, 2016 2:22 pm
Forum: Bug Reports
Topic: rtcGetTime(): returns uninitialized memory Topic is solved
Replies: 7
Views: 4553

rtcGetTime(): returns uninitialized memory Topic is solved

Hi Giovanni, i am tracking down an off-by-many bug with the hours field of fatfs timestamps. In that process i discovered that in get_fattime() there seems to be a use of uninitialized memory bug. In that function timespec is being allocated on stack and passed as is into rtcGetTime(). rtcGetTime() ...

Go to advanced search