|
发表于
2012-7-28 09:40:52
|
显示全部楼层
Dear Customer,
From the description of your issue, it sounds like your interrupt routine for PORTC_INT1_vect is failing to complete - i.e. the "// do something" portion of your sample code is blocking in some manner, preventing the interrupt routine from completing. You will need to debug your code on your device (or, if possible, simulate it from within Atmel Studio) to determine if this is the case and if so how to fix it. If the interrupt routine is not completing, your code sample would turn on the LED and not turn it off again, so if your board LED remains on when the program fails, this is likely the root cause.
I am unable to determine what GCC issue you are referring to with regards to the second half of your email, however AVR Studio 5 is deprecated and no longer maintained. Please upgrade to the latest Atmel Studio 6 (from http://www.atmel.com/tools/ATMELSTUDIO.aspx ) to obtain the latest Atmel AVR-GCC toolchain and associated utilities - this is a direct replacement for AVR Studio 5 with the same user interface and contains new features and bug fixes only.
Best Regards,
Dean Camera
Atmel Technical Support Team
老外的回答。 |
|