Hello,
I use often the shell and use the history and completion options.
And also faced many times the same bug that freezes the command line after recalling an old command.
Apparently, this bug occurs after a command completion.
I tried the nikiwaibel fix (thanks), it improved the robustness ...
Search found 13 matches
- Thu May 08, 2025 7:02 am
- Forum: Bug Reports
- Topic: shell completion somehow damages the shell history
- Replies: 5
- Views: 12633
- Thu Jan 13, 2022 3:46 pm
- Forum: ChibiOS/HAL
- Topic: SPI problem with Chibios 21.11
- Replies: 3
- Views: 4196
Re: SPI problem with Chibios 21.11
Hi,
Thank a lot for your ideas.
Yes, mcuconf.h is the same as the ones on the testhal examples. (except for the specific values for my board)
I also saw that its better to configure the SPIconfig structure using .variable notation.(i had to search a little bit)
The clock was simply idle High ...
Thank a lot for your ideas.
Yes, mcuconf.h is the same as the ones on the testhal examples. (except for the specific values for my board)
I also saw that its better to configure the SPIconfig structure using .variable notation.(i had to search a little bit)
The clock was simply idle High ...
- Wed Jan 12, 2022 5:27 pm
- Forum: ChibiOS/HAL
- Topic: SPI problem with Chibios 21.11
- Replies: 3
- Views: 4196
SPI problem with Chibios 21.11
Hello,
I'm migrating some projects from old Chibios versions to Chibios 21.11.
And i'm facing a problem with SPI2 on a STM32F373. (on a custom board)
This SPI bus is used to connect an SD card.
It is working fine under Chibios 20.3 and below, but with Chibios 21.11, when i mount the card, i ...
I'm migrating some projects from old Chibios versions to Chibios 21.11.
And i'm facing a problem with SPI2 on a STM32F373. (on a custom board)
This SPI bus is used to connect an SD card.
It is working fine under Chibios 20.3 and below, but with Chibios 21.11, when i mount the card, i ...
- Fri May 08, 2020 8:07 am
- Forum: STM32 Support
- Topic: STM32L476 in STOP2 mode
- Replies: 10
- Views: 13673
Re: STM32L476 in STOP2 mode
Don't forget to turn off the debugger hardware:
DBGMCU->CR = 0;
This is a considerable current draw.
Does this also stop the DWT counter? this would disable the RTC unit in the RTOS so no polled delays and no time measurement services.
Giovanni
I don't think so.
I use the RTC (on LSE) to be ...
DBGMCU->CR = 0;
This is a considerable current draw.
Does this also stop the DWT counter? this would disable the RTC unit in the RTOS so no polled delays and no time measurement services.
Giovanni
I don't think so.
I use the RTC (on LSE) to be ...
- Tue Mar 31, 2020 1:33 pm
- Forum: STM32 Support
- Topic: STM32L476 in STOP2 mode
- Replies: 10
- Views: 13673
Re: STM32L476 in STOP2 mode
Hi,
Thank for the ideas, it makes me double check again a lot of thing and i found the problem:
After the wake-up, i reconfigured manually all GPIOs, and the problem is that i put:
palSetLineMode(LINE_SWDIO, PAL_MODE_ALTERNATE(0));
palSetLineMode(LINE_SWCLK, PAL_MODE_ALTERNATE(0));
instead of ...
Thank for the ideas, it makes me double check again a lot of thing and i found the problem:
After the wake-up, i reconfigured manually all GPIOs, and the problem is that i put:
palSetLineMode(LINE_SWDIO, PAL_MODE_ALTERNATE(0));
palSetLineMode(LINE_SWCLK, PAL_MODE_ALTERNATE(0));
instead of ...
- Mon Mar 30, 2020 1:33 pm
- Forum: Bug Reports
- Topic: Bit missing for STM32L476 ?
- Replies: 5
- Views: 9466
Bit missing for STM32L476 ?
Hello,
Not sure, but it seems that the LPUART1_CR3, bit UCESM is missing.
Perhaps must he be in C:\ChibiStudio\chibios191\os\common\ext\ST\STM32L4xx\stm32l476xx
#define USART_CR3_UCESM_Pos (23U)
#define USART_CR3_UCESM_Msk (0x1U << USART_CR3_UCESM_Pos) /*!< 0x00800000 */
#define USART_CR3_UCESM ...
Not sure, but it seems that the LPUART1_CR3, bit UCESM is missing.
Perhaps must he be in C:\ChibiStudio\chibios191\os\common\ext\ST\STM32L4xx\stm32l476xx
#define USART_CR3_UCESM_Pos (23U)
#define USART_CR3_UCESM_Msk (0x1U << USART_CR3_UCESM_Pos) /*!< 0x00800000 */
#define USART_CR3_UCESM ...
- Mon Mar 30, 2020 1:25 pm
- Forum: STM32 Support
- Topic: STM32L476 in STOP2 mode
- Replies: 10
- Views: 13673
STM32L476 in STOP2 mode
Hello,
I have troubles trying to use the STOP2 sleep mode on a STM32L476.
Its on a custom board: i enter manually in sleep mode. (now with a command under the shell)
And the wakeup will come from 3 different sources: external button, LPUART activity, or timeout on internal timer. (RTC is on LSE ...
I have troubles trying to use the STOP2 sleep mode on a STM32L476.
Its on a custom board: i enter manually in sleep mode. (now with a command under the shell)
And the wakeup will come from 3 different sources: external button, LPUART activity, or timeout on internal timer. (RTC is on LSE ...
- Tue Nov 05, 2019 9:14 am
- Forum: Bug Reports
- Topic: RTC on STM373 with Chibios 19.1
- Replies: 5
- Views: 5910
Re: RTC on STM373 with Chibios 19.1
Hi,
Checked now: my projects compile fine now.
And small test with one of my prototype: writing/reading the RTC are ok.
Many thanks !!!
Stephane
Checked now: my projects compile fine now.
And small test with one of my prototype: writing/reading the RTC are ok.
Many thanks !!!
Stephane
- Mon Nov 04, 2019 11:05 am
- Forum: Bug Reports
- Topic: RTC on STM373 with Chibios 19.1
- Replies: 5
- Views: 5910
Re: RTC on STM373 with Chibios 19.1
Hi,
Thanks for the fast answer.
It helps: i have a lot less of error messages, but i always obtains these ones:
../../chibios191/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c:535:2: error: #error "missing required RTC handlers definitions in registry"
#error ...
Thanks for the fast answer.
It helps: i have a lot less of error messages, but i always obtains these ones:
../../chibios191/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c:535:2: error: #error "missing required RTC handlers definitions in registry"
#error ...
- Mon Nov 04, 2019 8:45 am
- Forum: Bug Reports
- Topic: RTC on STM373 with Chibios 19.1
- Replies: 5
- Views: 5910
RTC on STM373 with Chibios 19.1
Hello,
I'm migrating projects from versions 17.6 and 18.2 to Chibios 19.1.
And i'm having some trouble...
All projects that use the STM32L496 migrated fine.
The ones that uses the STM32F373 with RTC support are complaining about a lot of things about the RTC.
These projects uses the internal RTC ...
I'm migrating projects from versions 17.6 and 18.2 to Chibios 19.1.
And i'm having some trouble...
All projects that use the STM32L496 migrated fine.
The ones that uses the STM32F373 with RTC support are complaining about a lot of things about the RTC.
These projects uses the internal RTC ...