Search found 59 matches
- Tue May 07, 2019 4:51 pm
- Forum: Bug Reports
- Topic: F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR Topic is solved
- Replies: 1
- Views: 2026
F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR Topic is solved
MCU: stm32F411cEu6 OS: Chibios RT 19.1.2 File: ChibiOS_19.1.2\os\hal\ports\STM32\STM32F4xx\stm32_rcc.h Row: 432 Code: #define rccEnableBKPSRAM(lp) rccEnableAHB1(RCC_AHB1ENR_BKPSRAMEN, lp) Datasheet shows no RCC_AHB1ENR_BKPSRAMEN bit in register RCC_AHB1ENR. Fix suggestion: #ifdef RCC_AHB1ENR_BKPSRAM...
- Mon Sep 18, 2017 6:59 pm
- Forum: Bug Reports
- Topic: F072: DMA1.5 TC IRQ does not work if DMA1.7 setup first Topic is solved
- Replies: 4
- Views: 3176
F072: DMA1.5 TC IRQ does not work if DMA1.7 setup first Topic is solved
OS: chibios v 17.6.0 MCU: stm32f072c8t6 Board: custom DMA1_STREAM5 used for SPI2 TX, Transmission Complete interrupt required DMA1_STREAM7 used for USART3 TX, Transmission Complete interrupt NOT required If Stream7 initialized before Stream5, TC IRQ of Stream5 does not fire. If Stream5 initialized b...
- Tue Aug 22, 2017 1:25 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors Topic is solved
- Replies: 56
- Views: 26943
Re: STM32L476 USB HAL errors Topic is solved
Sorry, I was wrong: when STM32_OTG_SEQUENCE_WORKAROUND defined, everything works without disabling the assert.
When STM32_OTG_SEQUENCE_WORKAROUND undefined, assert fires at state USB_EP0_IN_SENDING_STS.
When STM32_OTG_SEQUENCE_WORKAROUND undefined, assert fires at state USB_EP0_IN_SENDING_STS.
- Tue Aug 22, 2017 12:55 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors Topic is solved
- Replies: 56
- Views: 26943
Re: STM32L476 USB HAL errors Topic is solved
Removing assert at line 950 (osalDbgAssert(false, "EP0 state machine error");) fixed the problem, everything works smoothly.
Vinz, yes, I have replaced stm32_registry.h with file from trunk, STM32_OTG_SEQUENCE_WORKAROUND is defined there.
Vinz, yes, I have replaced stm32_registry.h with file from trunk, STM32_OTG_SEQUENCE_WORKAROUND is defined there.
- Tue Aug 22, 2017 12:36 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors Topic is solved
- Replies: 56
- Views: 26943
Re: STM32L476 USB HAL errors Topic is solved
I have changed line 1006 in hal_usb_lld.c, setting value to 1 and 0 with same result: EP0 state machine error at receiving mentioned "A1..." packet.
- Tue Aug 22, 2017 12:27 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors Topic is solved
- Replies: 56
- Views: 26943
Re: STM32L476 USB HAL errors Topic is solved
I checked out the trunk and replaced next files in my project: hal_usb.h hal_usb.c hal_usb_cdc.h hal_usb_lld.h hal_usb_lld.c stm32_otg.h After that, Usb Serial was successfully found by host, but at the moment of connection I have "EP0 state machine error" assert fired. I have hardware USB...
- Mon Aug 21, 2017 3:04 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors Topic is solved
- Replies: 56
- Views: 26943
Re: STM32L476 USB HAL errors Topic is solved
I am ready to check everything on my system, how can I get mentioned files?
- Tue Aug 15, 2017 5:39 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors Topic is solved
- Replies: 56
- Views: 26943
Re: STM32L476 USB HAL errors Topic is solved
For me, patch #2 without disabling assert inside _usb_ep0out makes Serial-over-USB working. I tried -Os, -O2, -O0 with success.
Hardware: custom board with stm32L476RCT6
Firmware: chibios 17.6
Host: Windows 8.1 64bit
Hardware: custom board with stm32L476RCT6
Firmware: chibios 17.6
Host: Windows 8.1 64bit
- Sat Jul 22, 2017 2:14 pm
- Forum: ChibiOS/RT
- Topic: How to check thread memory stack in runtime?
- Replies: 1
- Views: 1910
How to check thread memory stack in runtime?
I found same topic in user projects, but it seems that thread workspace has changed since 2011, and mentioned solution outputs something weird. stm32l151c8, Chibios v 17.6.0 Here is the code I use now (it is definitely something wrong in boundaries). What is wrong? uint32_t GetThdFreeStack(void *wsp...
- Sun Feb 12, 2017 12:57 pm
- Forum: ChibiOS/HAL
- Topic: Request: ability to disable clock settings completely
- Replies: 1
- Views: 1810
Request: ability to disable clock settings completely
I use self-written clock control subsystem (Chibios sets clock at start - once and forever, but in my projects clock switching is often required). And every time after new version arrival I have to remove original clock init subsystem. Personally, it would be very convinient to disable clock init by...