Search found 34 matches

by electronic_eel
Mon Apr 15, 2019 11:50 am
Forum: Bug Reports
Topic: Git not tracking Topic is solved
Replies: 32
Views: 3813

Re: Git not tracking Topic is solved

Hi,

the mirror at github seems to be not updating again, last checkin is from March 17.

I guess it has to do with the move of the official svn repo to OSDN.

It would be nice to have it working again. Thanks.
by electronic_eel
Wed Apr 10, 2019 7:01 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 335

Re: VMT interface between upper and lower level HAL

- No dynamic anything. Do you want to allow or forbid virtual functions? Let's say you have a controller with one internal CAN interface, but you need 2 for your application. So you add an external one via SPI. Without virtual functions, you couldn't use something like a generic SendMessage(CanInte...
by electronic_eel
Thu Apr 04, 2019 8:06 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 335

Re: VMT interface between upper and lower level HAL

faisal wrote:Good candidates for this type of interface would be ADC, DAC, CAN, MAC, RTC. Those are commonly used external peripherals, which would be really cool if they could use the HAL API.

Don't forget GPIO. IO extenders are a very common thing.
by electronic_eel
Fri Mar 08, 2019 8:49 pm
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 15
Views: 468

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Do you activate any powersaving mode in the idle thread or somewhere else? CH_CFG_IDLE_ENTER_HOOK() is usually used to do that now, IIRC it was CORTEX_ENABLE_WFI_IDLE in previous versions of Chibios. When you enter any kind of sleep mode, it can do weird things with the debugger connection. There ar...
by electronic_eel
Fri Mar 08, 2019 8:40 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 353

Re: chVTGetSystemTimeX overflow

I have some functions that need to wait for a specific number of milliseconds. I'm using chVTGetSystemTimeX to get the start time and check periodically if X milliseconds have passed. This sounds like a busy-loop and is not very efficient. Sometimes you need it when you need a very fast reaction ti...
by electronic_eel
Mon Feb 11, 2019 8:43 pm
Forum: Development and Feedback
Topic: [INFO] NIL 4.0 integrated in trunk
Replies: 2
Views: 198

Re: [INFO] NIL 4.0 integrated in trunk

Giovanni wrote:News, Nil gained full events and messages and grew closer to RT in terms of features.

Thank you very much for completing this.

I will give it a try when I start my next NIL project.
by electronic_eel
Mon Feb 11, 2019 8:40 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 505

Re: stlink "clone" on stm32f042

Do you know the Black Magic Probe https://github.com/blacksphere/blackmagic ? It runs on lots of different STM32 variants, like the ST link clones, Bluepill boards and so on. It can be adapted to other boards easily. It does not need OpenOCD, it presents a gdb server on an USB-CDC channel. License i...
by electronic_eel
Tue Feb 05, 2019 10:04 pm
Forum: Small Change Requests
Topic: print message in chSysHalt
Replies: 5
Views: 267

Re: print message in chSysHalt

Writing to UART registers is obviously very system dependant and would need something like HAL to work on different architectures. As performance, resource efficiency and the like are completely irrelevant when the system has crashed: Why not use a pure software UART with bitbanging and busy loops f...
by electronic_eel
Sun Jan 06, 2019 5:05 pm
Forum: Small Change Requests
Topic: [PATCH] make the shell work on NIL again Topic is solved
Replies: 3
Views: 304

Re: [PATCH] make the shell work on NIL again Topic is solved

Giovanni wrote:next NIL will be able to create/exit threads

That is an even better solution than mine, thanks ;)

Do you also plan to implement the full events source/listener mechanism for the next NIL release, as hinted here: [INFO] Nil growing (not in size)?
by electronic_eel
Fri Nov 23, 2018 11:15 pm
Forum: Bug Reports
Topic: strange behavior of the scheduler on STM32F070 Topic is solved
Replies: 35
Views: 1691

Re: strange behavior of the scheduler on STM32F070 Topic is solved

Even when the bug is found and fixed in gcc-embedded, I guess it will take a long time till a fixed version will trickle through to the users, as most distributions, IDEs, and so on tend to do compiler upgrades very conservatively. Would it be an option to detect an affected gcc version and Cortex-M...

Go to advanced search