Search found 3 matches
- Thu Mar 19, 2015 6:04 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: STM32F4 hard fault error when using floating point
- Replies: 5
- Views: 5505
Re: STM32F4 hard fault error when using floating point
Hi Gianluca, actually it was me. That solution seemed to work for a short time, but when I continued coding the error suddenly appeared again. I didn't modify any configuration parameters, just adding new functions. Now, coming back to the initial code the error is still there. Just to discard it wa...
- Thu Mar 19, 2015 5:00 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: STM32F4 hard fault error when using floating point
- Replies: 5
- Views: 5505
Re: STM32F4 hard fault error when using floating point
Well, that's weird because I can implement filters using floating point signals without any troubles.
The error occurs only when I try to convert between formats.
The error occurs only when I try to convert between formats.
- Wed Mar 18, 2015 8:44 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: STM32F4 hard fault error when using floating point
- Replies: 5
- Views: 5505
STM32F4 hard fault error when using floating point
Hi, I'm using the Keil compiler with the discovery board. Each time I try to convert between float and integers the system goes to the hard fault error handler. I've just tried modifying any RT-Druid demo with the code below, and the same error always occurs: TASK(TaskLedBlink) { int a = 2; float b ...