Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about fault

Read more about fault

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - fault

HardFault during division operation STM32 (CortexM0+)

I have a problem with hard fault exception during division operation and cannot find any clue (STM32G061C6). When I put anywhere in my code for example: int32_t a = 354; int32_t b = 23; int32_t c = a/...
test-img

Daniel Šebík

exception

stm32

division

cortex-m

fault

Votes: 0

Answers: 1

Latest Answer

Finally a got a solution. In dissasembly I saw that function, which cares of division (__divsi3) jumps to address some weird address, which was not listed in my map file. So I checked my compile flags...
test-img

Daniel Šebík

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved