Search found 15 matches

by Abusous2000
Tue Jun 22, 2021 6:48 pm
Forum: STM32 Support
Topic: SAI LLD for STM32H750
Replies: 6
Views: 3463

Re: SAI LLD for STM32H750

I know this is an old thread; however I made a poor man's version of SAI Driver; very simple; but not complete. However; it will be a good start https://github.com/abusous2000/MP3PlayerUsingSTM32F7/tree/master/source/hal Here you see how it was used to play MP3 files as well https://github.com/abuso...
by Abusous2000
Sun Oct 04, 2020 2:16 am
Forum: Bug Reports
Topic: I get chSysHalt("SV#6") while running ChibiOS-Contrib-RT-STM32F407-DISCOVERY-RTT+SystemView Example Topic is solved
Replies: 2
Views: 1862

Re: I get chSysHalt("SV#6") while running ChibiOS-Contrib-RT-STM32F407-DISCOVERY-RTT+SystemView Example Topic is solved

Thanks Giovanni, I did. However, it took me few hours & I found the bug. I had to reverse engineer ChibiOS. I applied the below fix, & Segger's System view worked right away. Let 's hope it help someone I changed these macros in file SEGGER_SYSVIEW_ChibiOS.h to the following, it did work wel...
by Abusous2000
Fri Oct 02, 2020 9:37 pm
Forum: Bug Reports
Topic: I get chSysHalt("SV#6") while running ChibiOS-Contrib-RT-STM32F407-DISCOVERY-RTT+SystemView Example Topic is solved
Replies: 2
Views: 1862

I get chSysHalt("SV#6") while running ChibiOS-Contrib-RT-STM32F407-DISCOVERY-RTT+SystemView Example Topic is solved

Hi guys I decide to evaluate Segger J-Link , and tested the example in the ChibiOS-Contrib section However, when I run it in the debugger; it is as if ChibiOS thinks it is running in a thread contexts although chSysHalt("SV#6") Clearly I can see in the debuuger that I am in a DMA ISR , whi...
by Abusous2000
Tue Jul 21, 2020 10:46 pm
Forum: User Projects
Topic: Introducing Struts4Embedded: MVC Framework for Embedded Systems
Replies: 2
Views: 4632

Introducing Struts4Embedded: MVC Framework for Embedded Systems

Struts4Embedded (S4E) is a MVC framework designed for embedded systems; it mimics Java's Struts 1.0 that was popular 18+ years ago. Basically it's a pattern that decouples the model (data structure) from your view (UI); and all are decoupled from the controller (business logic), which often results...
by Abusous2000
Mon May 25, 2020 9:14 pm
Forum: Bug Reports
Topic: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved
Replies: 7
Views: 7962

Re: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved

I hear you Giovanni... I have an application that uses FATFS, but there are several other threads all cramped into the ram3 section...which is limited to only 64k. This renders the boards much less useful. On the other hand, with STM32F769i, I have more leeway. If you have any idea how to make, I wo...
by Abusous2000
Mon May 25, 2020 9:01 pm
Forum: Bug Reports
Topic: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved
Replies: 7
Views: 7962

Re: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved

Thanks for the quick reply Giovanni, YES... I am aware of DMA and cache coherence issues with STM32F7xx boards However, how to make demo project RT-STM32-LWIP-FATFS-USB work with STM32F746xG_MAX.ld link script? When I use STM32F746xG_MAX.ld..FATFS wouldn't even mount? But when I switch over to the d...
by Abusous2000
Mon May 25, 2020 7:55 pm
Forum: Bug Reports
Topic: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved
Replies: 7
Views: 7962

threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved

I am using STM32F746g-discovery board with latest ChibioOS. The default link script ( STM32F746xG.ld ) by default uses ram3 section for BSS_RAM , and whenever I switch to STM32F746xG_MAX.ld link script (which places BSS_RAM into ram0 ) my threads starts crashing or malfunctioning. I managed to repli...
by Abusous2000
Mon May 25, 2020 7:34 pm
Forum: Bug Reports
Topic: I2C4 in ST_STM32F769I_DISCOVERY Topic is solved
Replies: 9
Views: 7219

Re: I2C4 in ST_STM32F769I_DISCOVERY Topic is solved

I got it to work on both STM32F746g-discovery and STM32F769i (with LCD & Audio decoder wm8994) on I2C4. Make sure that you have enabled the pins with open drain and highest speed only; and you will be OK
by Abusous2000
Mon Apr 27, 2020 4:48 pm
Forum: ChibiStudio
Topic: Running GPT-ADC example on STM32F746g-Discovery, I can't step into code while debugging
Replies: 1
Views: 1902

Running GPT-ADC example on STM32F746g-Discovery, I can't step into code while debugging

Hi, I have been chasing this issue for couple of days, and I found nothing about it. I hope you can help me. When I run the GPT-ADC example on STM32F746g-Discovery ( as-s without any change ), I can't step-into code while debugging and when I do it always jumps to the DMA2 Stream 4 ISR. It should be...

Go to advanced search