Search found 174 matches

by FXCoder
Fri Jun 21, 2019 2:01 pm
Forum: STM32 Support
Topic: STM32G0 Support
Replies: 6
Views: 383

Re: STM32G0 Support

FYI the openocd patch seems to be stalled. I posted a question regarding ”status” there but so far just crickets...
by FXCoder
Sun Jun 16, 2019 7:49 am
Forum: Small Change Requests
Topic: chprintf enhancement Topic is solved
Replies: 5
Views: 554

Re: chprintf enhancement Topic is solved

Hi, The .n precision was broken by the malformed format string detection... -- Bob Index: chprintf.c =================================================================== --- chprintf.c (revision 12837) +++ chprintf.c (working copy) @@ -203,18 +203,13 @@ precision = va_arg(ap, int); } else { - while (...
by FXCoder
Mon Jun 03, 2019 1:58 pm
Forum: ChibiOS/HAL
Topic: Determining RAM available at compile or run time
Replies: 3
Views: 110

Re: Determining RAM available at compile or run time

Hi, Consider the memory pool system (chmempools) as a convenient means of managing the allocation and free listing of an array of arbitrary memory objects. Once you determine the free core at runtime just allocate a percentage of core memory to your pool of objects. Then depending on your use case t...
by FXCoder
Sat May 11, 2019 3:54 am
Forum: STM32 Support
Topic: STM32G0 Support
Replies: 6
Views: 383

Re: STM32G0 Support

Hi,
Openocd support should be available soon.
G0 is being rolled into L4 NOR driver due to similarity (though this makes it somewhat non obvious where G0 support lives).
Anyway just a few things to get fixed/resolved and the changes should get signed off and merged to the main repo.
--
Bob
by FXCoder
Mon Apr 22, 2019 8:18 am
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2264

Re: Internal Flash Driver

Hi, You've pretty much described the logging application as it existed in the legacy code of the Pecan project. That code used a different flash driver and was quite MCU & application specific. The logging app is being re-factored (well replaced really) to be configurable for different STMs (mul...
by FXCoder
Mon Apr 22, 2019 6:03 am
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2264

Re: Internal Flash Driver

Hi, Sorry for lack of clarity on my part. Two instances of flash descriptors and flash operation are required within EFLD to dynamically support DBM (i.e. in addition to the descriptor just for SBM). So I was really just asking how what your thoughts were on the implementation to dynamically support...
by FXCoder
Mon Apr 22, 2019 1:45 am
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2264

Re: Internal Flash Driver

Hi, Put it down to brain fog on my side (again)... 1. Yes data is correctly addressed and aligned. 2. Read and Write together on separate banks but not write + write. I guess the question should have been... what are your thoughts on handling Double Bank mode. e.g. a scenario where flash is running ...
by FXCoder
Sun Apr 21, 2019 1:36 pm
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2264

Re: Internal Flash Driver

Hi, I've added EFL to L4+ configured for single bank use at the moment. The use of EFL is for log entries. The logging application has been adapted for EFL and it is working OK. Thoughts: 1. Alignment to FLASH_LINE In efl_lld_program(...) the write address is shifted to ensure correct alignment with...
by FXCoder
Sun Apr 14, 2019 1:46 pm
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2264

Re: Internal Flash Driver

OK. Noted. I'm migrating the code to L4+ from F413 and the flash driver is sort of disabled for now. The flash driver in the F413 version of the project was used to keep log data in internal flash. I will adopt the new ChibiOS EFL driver system for L4+ as part of the migration and generalization of ...
by FXCoder
Sun Apr 14, 2019 12:23 pm
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2264

Re: Internal Flash Driver

Hi, First option to try it would be on L4+ but probably 2 weeks before I get to that. I'll check for differences L4 -> L4+ then and update L4+ .mk etc. accordingly. Meanwhile, so I can keep up to date with the latest trunk, I added #if (HAL_USE_FLASH) conditionals in hal_flash.c/h and guard in halco...

Go to advanced search