psyrendust / makecontroller

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

Fasttimer iterrupt enble issue with Interface board. #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Calling FastTimer_SetActive(true), in a task crashes controller when hooked 
to an interface board.
2.
3.

What is the expected output? What do you see instead?
The same frimware runs on the application board V1, but freezes when run on the 
Interface board.

What version of the product are you using? On what operating system?
Have tested this issue with controller V1.1, and firmware 1.51 through 1.62

Please provide any additional information below.
Replacing line 370 of fasttimer.c 
  AT91C_BASE_AIC->AIC_IECR = mask;
with
  AT91C_BASE_AIC->AIC_IECR = 1<<AT91C_ID_TC2;

appears to fix the problem.

Original issue reported on code.google.com by ryanchar...@gmail.com on 30 Aug 2010 at 4:46

GoogleCodeExporter commented 9 years ago
Awesome - thanks for the report.

Original comment by lst...@gmail.com on 30 Aug 2010 at 5:35