Search found 671 matches

by steved
Thu Apr 09, 2020 5:17 pm
Forum: Bug Reports
Topic: hal_Serial_nor.c
Replies: 18
Views: 954

Re: hal_Serial_nor.c

Doubt its a bandwidth problem; there's only the flash chip on the QSPI bus, and I'm only clocking it at about 24MHz if I've understood the configuration right. (Think I tried slowing it down further, with no change, but might revisit that in case). Another thing I need to try is speeding up the QSPI...
by steved
Thu Apr 09, 2020 4:31 pm
Forum: Bug Reports
Topic: hal_Serial_nor.c
Replies: 18
Views: 954

Re: hal_Serial_nor.c

Difficult to tell whether the DMA has been set up and run its course, or whether the setup has somehow been missed. Missing the setup seems unlikely. DMA count is 0, and it's disabled, suggesting to me that the DMA has run its course on the transfer, and there's not been an interrupt for some reason...
by steved
Thu Apr 09, 2020 3:08 pm
Forum: Bug Reports
Topic: hal_Serial_nor.c
Replies: 18
Views: 954

Re: hal_Serial_nor.c

I'm just coming back to this after a few months of dealing with another project. Running on a F767, with about 25 threads. Using 19.1.3 with some subsequent bits from trunk. Reasonable margin of empty space on all stacks. When this system hangs, only the thread accessing the QSPI is affected; all ot...
by steved
Thu Apr 09, 2020 1:56 pm
Forum: Bug Reports
Topic: hal_Serial_nor.c
Replies: 18
Views: 954

Re: hal_Serial_nor.c

Back on looking for this problem (backported Chibi 20 drivers to 19.1.3), and see that the qspi lld needs updating to implement the error handling. Is there any indication of what needs doing? (I've updated the relevant hal_serial_nor routines to pass the error status upwards). (Note: I'm using the ...
by steved
Fri Apr 03, 2020 5:23 pm
Forum: General Support
Topic: shell end of line parsing
Replies: 2
Views: 312

Re: shell end of line parsing

I suppose it depends what you're talking to, but I'd generally expect '\r' as the 'execute' character from a terminal emulator, regardless of the underlying system. A solution I've used is to just swallow any '\n' characters received. Otherwise it gets complicated. (If both characters are received, ...
by steved
Thu Mar 19, 2020 12:12 am
Forum: General Support
Topic: need advice on windows
Replies: 3
Views: 593

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

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

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

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

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...

Go to advanced search