Search found 646 matches

by steved
Thu Mar 19, 2020 12:12 am
Forum: General Support
Topic: need advice on windows
Replies: 3
Views: 250

Re: need advice on windows

I suspect installing ChibiStudio would get a lot of things in consistent places, even if you don't use Eclipse. I've just tried this: 1. Install ChibiStudio by expanding the archive in the root directory of C: or D: drive 2. Create a batch file start_project.bat (wherever suits) as follows: @echo of...
by steved
Wed Mar 11, 2020 5:40 pm
Forum: STM32 Support
Topic: ChibiOS crashes when my firmware is not at beginning of flash memory
Replies: 32
Views: 4082

Re: ChibiOS crashes when my firmware is not at beginning of flash memory

You also need to set flash1 value in the scatter file; as far as I can remember that's all I did.
Can't remember why, but setting flash0 and flash1 to the same value worked for me.
by steved
Wed Mar 11, 2020 5:36 pm
Forum: STM32 Support
Topic: STM32F767 freeze on chibios update Topic is solved
Replies: 16
Views: 1172

Re: STM32F767 freeze on chibios update Topic is solved

If you're using static objects you need to update file \os\common\startup\ARMCMx\compilers\GCC\ld\rules_code.ld from the repository; or download it from a link in this thread: viewtopic.php?p=37201
by steved
Mon Feb 24, 2020 2:46 pm
Forum: STM32 Support
Topic: Running cpp code on NUCLEO144 STM32F767ZI using ChibiOS 19
Replies: 5
Views: 345

Re: Running cpp code on NUCLEO144 STM32F767ZI using ChibiOS 19

Are you using the 'distribution zip' of 19.1.3? If so, update at least \os\common\startup\ARMCMx\compilers\GCC\ld\rules_code.ld from SVN; there's a fix to a problem linking with static objects.
by steved
Fri Jan 24, 2020 10:21 am
Forum: General Support
Topic: Zip compression on a micro
Replies: 7
Views: 503

Re: Zip compression on a micro

Do you need zip or something to decompress? LZ4? https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/lz4-decompression-routine-for-cortex-m0-and-later Thanks Nico; that looks interesting, since I don't need a 'public' compression format; nor is the compression leve...
by steved
Thu Jan 23, 2020 6:11 pm
Forum: General Support
Topic: Zip compression on a micro
Replies: 7
Views: 503

Re: Zip compression on a micro

Thanks very much for shining the light here. I agree that this might not be embeddable in some cases, but for this project I think 64k isn't that tall an order (the system does have a large-ish external SRAM). Be interested to hear how you implement this in the end; you've probably gathered that I'...
by steved
Thu Jan 23, 2020 9:25 am
Forum: General Support
Topic: Zip compression on a micro
Replies: 7
Views: 503

Re: Zip compression on a micro

The zlib library, which seems to be the basis of a lot of the compression algorithms, is freely available, and doesn't seem too difficult to use. The big problem on a micro is the requirement for a minimum 64K buffer for compression, and 32K for decompression, which is a significant demand even on t...
by steved
Mon Jan 13, 2020 9:51 am
Forum: General Support
Topic: Measuring CPU Usage
Replies: 18
Views: 6351

Re: Measuring CPU Usage

Would there be any unexpected side effects from restarting the measurement by clearing all the measurement counters to zero at some arbitrary point?
by steved
Mon Jan 13, 2020 9:44 am
Forum: Small Change Requests
Topic: Different value to clear initial register area
Replies: 0
Views: 618

Different value to clear initial register area

This relates to the option to initialise stack areas. I hope I've correctly understood how Chibi works. When a new thread is started, the registers appear to be loaded from the stack area, so all contain the stack initialisation value. A fair number of registers are rarely used (if ever), so the sta...
by steved
Mon Jan 13, 2020 9:35 am
Forum: Small Change Requests
Topic: LWIP improvements
Replies: 13
Views: 1571

Re: LWIP improvements

Hi, I wish to merge also the latest lwIP 2.1.2, steved, is that just a drop-in replacements or there are fixes to be applied? I've been using 2.1.2 for some time now; it just dropped in. There used to be a required mod to sockets.c to change the context of a semaphore-related call; this is no longe...

Go to advanced search