Search found 29 matches

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: 118

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: 201

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: 181

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: 240

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: 1260

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...
by electronic_eel
Fri Nov 23, 2018 11:07 pm
Forum: ChibiOS/RT
Topic: Typical footprint
Replies: 4
Views: 258

Re: Typical footprint

Also consider RAM usage and allocation strategy, not just code size. With current Cortex-M controllers I find myself restricted by RAM more often than by flash size. RT uses dynamic memory allocation, NIL uses static allocation. If RAM is tight and you use dynamic allocation, you could run into a fr...
by electronic_eel
Wed Oct 24, 2018 9:52 pm
Forum: Development and Feedback
Topic: [INFO] Nil growing (not in size)
Replies: 2
Views: 288

Re: [INFO] Nil growing (not in size)

That is good news! Thanks for working on NIL, as NIL+HAL is what I use most time. - The full events source/listener mechanism (this could allow for an unified HAL OSAL for both RT and NIL). This is something I'd be interested in. The reduced event capabilities of NIL have sometimes limited me and pr...
by electronic_eel
Wed Oct 03, 2018 10:28 am
Forum: ChibiOS/HAL
Topic: USB Initialization
Replies: 3
Views: 349

Re: USB Initialization

I'd take a look at what's going on on the usb bus by dumping the URBs going over the wire. The easiest way to do this is usually to use the usbmon facility from the linux kernel. If you are using a windows program to communicate, run a linux host, start windows as a vm (qemu and kvm) inside it and a...
by electronic_eel
Fri Sep 21, 2018 9:24 pm
Forum: STM32 Support
Topic: JLINK EDU segger JTAG to debug STM32 microcontrollers
Replies: 5
Views: 483

Re: JLINK EDU segger JTAG to debug STM32 microcontrollers

But I am getting very strange behaviours. For example, in a line like this: I get this ilogical results: This looks a bit like it could be caused by compiler optimization. If you want to use the debugger, you either have to look at the assembler code or compile everything without optimization (-O0).
by electronic_eel
Thu Sep 20, 2018 9:08 pm
Forum: STM32 Support
Topic: JLINK EDU segger JTAG to debug STM32 microcontrollers
Replies: 5
Views: 483

Re: JLINK EDU segger JTAG to debug STM32 microcontrollers

I'm not sure how well J-Link and OpenOCD work together.

I'd try to use the gdb server from Segger instead. The J-Link probes and the Segger software are designed to work together.

Go to advanced search