Inspirati / gentlenav

Automatically exported from code.google.com/p/gentlenav
0 stars 0 forks source link

Non expected defaultInterrupt occurence at startup #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Nominal default configuration of RollPitchYaw
2.Compilation complete without changing any compiler options
3.Systematic RESET during IMU calibration

What is the expected output? What do you see instead?
Waiting for calibration completed.
Observe an unexpected PC = 2CE pointing on nothing witch finish to 200 and 
point to main entrance.

What version of the product are you using? On what operating system?
MatrixPilot 4.0 with MPLAB X IDE v2.00 on windows 7

Please provide any additional information below.
After debugging I had an instruction to reset sample_count in the set of 
instruction conditioned by if (sample_count > ALMOST_ENOUGH_SAMPLES) after 
udb_5V and udb_vcc filterings.
I do not understand why anybody seems to encounter this probably division by 
zero when sample_count reach 0xFF+1

Original issue reported on code.google.com by guy-fran...@numericable.fr on 9 Apr 2014 at 3:51

Attachments: