Search found 128 matches

by avrhack
Sat Nov 21, 2020 9:57 pm
Forum: Bug Reports
Topic: Wrestling with MAC on F107 Topic is solved
Replies: 18
Views: 4774

Re: Wrestling with MAC on F107 Topic is solved

So whilst searching I came across this thread that I started 4 years ago LOL! I'm now working on the same F107 board with an RMII connection to the KSZ8863 3-port 10/100 switch and have changed to using i2c so I can access all the switch registers, which of course now means the LWIP code will no lon...
by avrhack
Thu Oct 15, 2020 10:42 am
Forum: General Support
Topic: Detect compilation for ChibiOS
Replies: 2
Views: 247

Detect compilation for ChibiOS

Sure this is a simple one but struggling to figure it out from the various makefiles..... I have a library routine (.h and .c) that needs to use e.g. chsnprintf instead of sprintf when compiled for ChibiOS. I can obviously add my own macro and conditional compilation, but I note that _CHIBIOS_HAL_ i...
by avrhack
Sun May 19, 2019 4:47 pm
Forum: Development and Feedback
Topic: Race condition with palWaitPadTimeout
Replies: 1
Views: 473

Race condition with palWaitPadTimeout

I'm processing "interrupts" from an external SPI Ethernet MAC/PHY using the PAL events subsystem on the main thread, but after a while things stop. I'm 99% sure the issue is with a race condition which I can't see how to correct, but can't believe Giovanni hasn't got covered as otherwise t...
by avrhack
Thu Mar 28, 2019 3:10 pm
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 1268

Re: USB on STM32L432 Driving Me NUTS!

Hi, I can't debug it that way unfortunately - Blackmagic Probe no longer seems to work with the L4 series, tried loads of different versions and none of them work for me any more. Still great for the F0 and F3 but L4 is totally broken in terms of BMP. Hum, i have no problem using BMP with L4, I eve...
by avrhack
Thu Mar 28, 2019 3:07 pm
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 1268

Re: USB on STM32L432 Driving Me NUTS!

There is nothing that can suspend all other threads except a thread looping indefinitely at higher priority. Giovanni Well the issue was a suspended thread causing all others to stop - even though they were all the same priority and I had set up pre-emptive scheduling round robin specifically to av...
by avrhack
Thu Mar 28, 2019 9:58 am
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 1268

Re: USB on STM32L432 Driving Me NUTS!

If I disable the thread that reads from USB and I immediately return from the thread that writes to USB everything works. So there's something in either of those routines that blocks everything - all threads just stop. I'm going to narrow it down now to whether it's read or write then I'll share the...
by avrhack
Thu Mar 28, 2019 9:46 am
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 1268

Re: USB on STM32L432 Driving Me NUTS!

I can't debug it that way unfortunately - Blackmagic Probe no longer seems to work with the L4 series, tried loads of different versions and none of them work for me any more. Still great for the F0 and F3 but L4 is totally broken in terms of BMP. And it can't be a halt with a ChibiOS debug assert a...
by avrhack
Thu Mar 28, 2019 9:30 am
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 1268

USB on STM32L432 Driving Me NUTS!

OK I'm sure I'm doing something stupid, but this is driving me nuts. I have a perfectly working app on an STM32L432 when USB is connected and working. There's also an LED which flashes briefly every 5 seconds to show activity - it runs in the main loop. There are two other threads which cover readin...
by avrhack
Wed Nov 14, 2018 2:34 pm
Forum: ESP32 Support
Topic: ESP32
Replies: 37
Views: 12472

Re: ESP32

Giovanni wrote:I just created the forum (icon missing), moving this topic there.

Anybody volunteering as moderator? not much to do anyway, usually I cut problems "at the root".

Giovanni


I’m not working at the moment so I have the time potentially. What’s involved in moderation?
by avrhack
Tue Nov 13, 2018 4:15 pm
Forum: ESP32 Support
Topic: ESP32
Replies: 37
Views: 12472

Re: ESP32

I'd be interested in ChibiOS on the esp8266 as well as the esp32 - maybe we could do both at the same time? Or do the differences make that impractical ie we really need to treat them as two totally separate ports?

Go to advanced search