Search found 375 matches

by rew
Thu Oct 14, 2021 8:52 am
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

Re: STM32G030 support.

Giovanni wrote:I will look into building G070 correctly, I cannot run code because I don't have any HW right now.
I understand that "not having hardware" is a problem. I just don't understand why you can't accept "let me send you some hardware then" as a solution ?
by rew
Fri Sep 03, 2021 3:16 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

Re: STM32G030 support.

I think that this is the nucleo that ST thinks should cover the 'G030 as well. https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-nucleo-boards/nucleo-g031k8.html I have posted my current diff here: https://prive....
by rew
Thu Sep 02, 2021 5:47 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

Re: STM32G030 support.

I now have a basic application running on my development board. I have offered you before: if you want one of my development board, I can send it to you for free. (If you don't want to be sponsored, I'll have to think up a reasonable price and make it available for everybody. That's fine too.) Just ...
by rew
Mon Aug 23, 2021 5:38 pm
Forum: STM32 Support
Topic: tutorial : place and run code in ram
Replies: 6
Views: 1052

Re: tutorial : place and run code in ram

When I enable "LTO", I see the compiler emitting complete gibberish that the linker somehow seems to understand and is able to process. I'm not sure if you can mix LTO and non-LTO functions.
by rew
Mon Aug 23, 2021 4:51 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

Re: STM32G030 support.

On STM32F030 the Io ports are enabled in the AHBENR, the STM32G030 has a separate registers IOPENR. I copied the STM32G071 nucleo example code, but this is also wrong in its board file: ./os/hal/boards/ST_NUCLEO64_G071RB/board.c I checked, it doesn't have the flags in the AHB_ENR and it has the sepa...
by rew
Fri Aug 20, 2021 2:37 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

Re: STM32G030 support.

OK. I have the impression that my code (and chibios) now runs on the target CPU. However calls to "PalSetPadMode" don't seem to have any effect. I am now directly writing a value into the GPIOA->MODER and... nothing. I am now useing the debuger to directly write into the GPIOA->MODER but s...
by rew
Thu Aug 19, 2021 3:28 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

Re: STM32G030 support.

It seems that this CPU doesn't have TIM2. I've disabled (left alone from the demo app) GPT/ICU/PWM on that timer. Why is it still erroring out with TIM2 problems? In file included from ../../../os/hal/include/hal_st.h:30, from ../../../os/hal/include/hal.h:296, from ../../../os/hal/src/hal.c:25: ../...
by rew
Wed Aug 18, 2021 5:25 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1642

STM32G030 support.

Hi, Has anybody gotten chibios to run on the STM32G030 ? I (perhaps unfounded) expected it top be quite similar to the F030, expecting it to even be binary compatible. Well... that didn't happen. It's got lots of important differences. But now that I've configured board.h to use the proper CPU, I'm ...
by rew
Mon Jun 21, 2021 1:34 pm
Forum: STM32 Support
Topic: STM32F072 crashes... But wehre ?
Replies: 5
Views: 704

Re: STM32F072 crashes... But wehre ?

Yup stack overflow.
:-/
by rew
Thu Jun 17, 2021 4:48 pm
Forum: STM32 Support
Topic: STM32F072 crashes... But wehre ?
Replies: 5
Views: 704

Re: STM32F072 crashes... But wehre ?

Thanks! Found it on the PSP stack. Aligns perfectly that LR and PC end up being in flash, and a couple of the registers match with what GDB tells me, i.e. unchanged since dumped on the stack... Investigating.... :-) Update: The crash happens in "gosleeptimout" called from "gosleep&quo...

Go to advanced search