Search found 26 matches

by kimmoli
Sat Feb 01, 2020 10:51 pm
Forum: STM32 Support
Topic: DFU Mode from running code?
Replies: 7
Views: 2053

Re: DFU Mode from running code?

Thanks for sharing. works like charm.

Except, if i enable watchdog in the code, it hangs on first boot in the wdgStart() after flashing over DFU.
Watchdog works fine after re-flashing via stlink.

Also it boots ok if not enabling watchdog.

Haven't yet traced where it actually hangs.
by kimmoli
Tue Mar 06, 2018 1:57 pm
Forum: Bug Reports
Topic: STM32 UART USARTv1 idle interrupt Topic is solved
Replies: 7
Views: 1652

STM32 UART USARTv1 idle interrupt Topic is solved

Just bringing up this in a monitored thread.
Missing feature from here: viewtopic.php?f=25&t=3441

I did rebase my change to latest github mater, https://github.com/kimmoli/ChibiOS/comm ... cffab34d74
by kimmoli
Sun Feb 04, 2018 11:18 am
Forum: User Projects
Topic: MSC + CDC Composite device example (STM32F3 Discovery)
Replies: 13
Views: 5469

Re: MSC + CDC Composite device example (STM32F3 Discovery)

hmh, i just rechecked SCSI spec, and looks like the serial number is all wrong. And if no serial numbers, it should be spaces. Just wondering what does " both parameters " refer to... The PAGE LENGTH field specifies the length in bytes of the product serial number page. Older products that...
by kimmoli
Fri Oct 13, 2017 9:09 pm
Forum: User Projects
Topic: MSC + CDC Composite device example (STM32F3 Discovery)
Replies: 13
Views: 5469

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Yep. I need it to stay up infinitely. The board is at office on my desk, but by wonders of remote computing i can see it has been up and running since i left. During the day it rebooted twice in a short period / in a row, and then stayed up for a few hours. Now it has been up for 6 hours. Or maybe i...
by kimmoli
Fri Oct 13, 2017 2:55 pm
Forum: User Projects
Topic: MSC + CDC Composite device example (STM32F3 Discovery)
Replies: 13
Views: 5469

Re: MSC + CDC Composite device example (STM32F3 Discovery)

I need to study this a bit more, the board surprise-reboots a few times per day.
I have most of CH_DBG_* on and no watchdog active, but still it just reboots.
by kimmoli
Wed Oct 11, 2017 10:27 pm
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11108

Re: STM32F107 OTG Mass Storage ultra slow

Gravedigging old thread, but the slow windows mounting seems to be caused by missing response in SCSI library.
See https://github.com/ChibiOS/ChibiOS-Contrib/pull/129
by kimmoli
Wed Oct 11, 2017 9:56 pm
Forum: User Projects
Topic: MSC + CDC Composite device example (STM32F3 Discovery)
Replies: 13
Views: 5469

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Thanks for the great job here, this was just what i was looking for. I took the ChibiOS-Contributions HAL_USB_MSD and Geoffreys STM32F3-Discovery-CDC-MSD example from github, tinkered it on top of my other code, and got it finally working on Windows. I now have a composite device with mass storage a...
by kimmoli
Sat Sep 30, 2017 2:47 pm
Forum: Bug Reports
Topic: STM32F411xx allowed I2C1 DMA streams Topic is solved
Replies: 1
Views: 833

STM32F411xx allowed I2C1 DMA streams Topic is solved

Code limits I2C1_TX streams to 6 and 7. According to datasheet, also stream 1 is valid selection for I2C1_TX http://kimmoli.com/tauhkaa/stm32f411xx-dma.jpg Proposed change in STM32F411xx STM32_I2C1_TX_DMA_MSK diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/s...
by kimmoli
Wed Aug 09, 2017 4:10 pm
Forum: User Projects
Topic: Yet another board config generator
Replies: 1
Views: 1069

Yet another board config generator

..or actually iomap.h generator, as i have split board.h to two files, board.h and iomap.h Presenting this here, as if there is enough interest, i might publish/open source it. (only Windows, sorry) It is made primary for DxDesigner (PADS) tool, but easily adapted to anything as the interface is via...
by kimmoli
Mon Jun 05, 2017 2:11 pm
Forum: ChibiOS/HAL
Topic: UART line idle handling.
Replies: 19
Views: 8596

Re: UART line idle handling.

Although my changes had some errors... missing the timeout_cb from USARTConfig struct, and typo in USART_ISR_IDLE (Should be USART_SR_IDLE)

(https://github.com/kimmoli/ChibiOS/commits/usartv1_idle)

Go to advanced search