A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [exception]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
49 views

Is qNaN easier than trapping on overflow?

According to James Demmel's article, "Faster Numerical Algorithms via Exception Handling", IEEE Trans. on Computers 43 (1994), 983-992, the way a floating-point processor handles overflow can be ...
1
vote
1answer
66 views

MATLAB - Allowing only numeric input using Exception Handling [closed]

I am trying to handle exceptions gracefully such that when a user enters a character, when a number is expected, he is notified with a custom warning/message. I know that the try, catch has the ...
0
votes
1answer
60 views

Historical Addressing Modes/Conditions that Complicate Page Fault Handling

I was reading this linked question and the following paragraphs stood out to me: For example x86 and 68000 had instructions which access memory two or more times. Each memory access could cause a ...
0
votes
1answer
702 views

FreeRTOS causes SYSTICKACT (HardFault) exception

I generated a basic project with CubeMX for STM32F4. After compiling and having successful run, I added FreeRTOS manually. Unfortunately, all the time I'm getting HardFault exception with SYSTICKACT ...
1
vote
2answers
76 views

DC motor exception

What happens to our DC motor if we stop motion of the rotor with our hand while motor is active? Will the motor burn? Why, what is really happening in that situation?
3
votes
1answer
231 views

Memory deallocation exception when using free()

I am currently working on a project that requires some allocation and deallocation of large arrays on a PIC32MX775. I have a dedicated heap memory size of 1500 bytes, which should be more than ...
2
votes
2answers
2k views

arduino IOException

I am an absolute beginner at all things arduino and I am attempting to practice reading the state of a button each time I press it....but I keep getting an IOException. My code is as follows: ...
3
votes
1answer
724 views

MSP430 Illegal Instruction

A few questions here along the same lines, I'm looking at the datasheet for the MSP430x2xx family (I'm using the MSP430F235 FWIW). It says there in section 2.2.4 that "illegal instruction fetch" is an ...