Thanks, I figured that out and checked it out from GitHub.
The Nucleo32 demo runs fine, so clearly I must have made some mistake when adapting one of the other boards. I guess I'll try using the Nucleo32 demo as a base and changing it to be os-less.
Search found 5 matches
- Tue Dec 15, 2015 8:18 pm
- Forum: STM32 Support
- Topic: Hard fault when enabling HSI on STM32F042
- Replies: 5
- Views: 3737
- Tue Dec 15, 2015 7:39 pm
- Forum: STM32 Support
- Topic: Hard fault when enabling HSI on STM32F042
- Replies: 5
- Views: 3737
Re: Hard fault when enabling HSI on STM32F042
Giovanni wrote:Have you tried the Nucleo32 demo for the F042? it works here.
Giovanni
Not yet since I was on 3.0.3, will update to 3.0.4 and try it out.
- Tue Dec 15, 2015 12:25 am
- Forum: STM32 Support
- Topic: Hard fault when enabling HSI on STM32F042
- Replies: 5
- Views: 3737
Hard fault when enabling HSI on STM32F042
Just trying out the ChibiOS HAL on STM32F042 for the first time, but I'm running in to a hard fault almost right away. I tracked it down to the very first part of __early_init when HSI is enabled. Here's my GDB session:
(gdb) si
__early_init () at ../../ChibiOS/os/hal/boards ...
(gdb) si
__early_init () at ../../ChibiOS/os/hal/boards ...
- Wed Sep 02, 2015 6:14 pm
- Forum: STM32 Support
- Topic: I2S documentation
- Replies: 14
- Views: 8193
Re: I2S documentation
Hi,
The documentation only reports those fields that are architecture-independent. Those two fields are STM32-specific and, note, are register names, the documentation is the STM32 Reference Manual. Additional notes about the use of the registers may be present in the driver structure (XXXDriver ...
The documentation only reports those fields that are architecture-independent. Those two fields are STM32-specific and, note, are register names, the documentation is the STM32 Reference Manual. Additional notes about the use of the registers may be present in the driver structure (XXXDriver ...
- Wed Sep 02, 2015 7:05 am
- Forum: STM32 Support
- Topic: I2S documentation
- Replies: 14
- Views: 8193
Re: I2S documentation
So I'm also looking at using I2S and was browsing the documentation and had a question:
How come on http://chibios.sourceforge.net/docs3/ha ... onfig.html the last two fields of the struct (i2scfgr and i2spr) aren't shown?
I'm entirely new to ChibiOS so it's possible I'm missing something in how the documentation is laid out.
How come on http://chibios.sourceforge.net/docs3/ha ... onfig.html the last two fields of the struct (i2scfgr and i2spr) aren't shown?
I'm entirely new to ChibiOS so it's possible I'm missing something in how the documentation is laid out.