08-27-2010 12:56 PM
Hi,
I am getting a strange behavior from a LM3S6965 board when pressing the reset button. On an average within 5 resets, my application will freeze. It doesn t do that with the luminary example projects, so it s not a hardware problem. It isn t my application neither as I loaded it into an LM3S8962 and it runs perfectly.I tried to debug when the board hangs and found out that it end up in IntDefaultHandler:
222: ;******************************************************************************
223: ;
224: ; This is the code that gets called when the processor receives an unexpected
225: ; interrupt. This simply enters an infinite loop, preserving the system state
226: ; for examination by a debugger.
227: ;
228: ;******************************************************************************
229: IntDefaultHandler
--> 0x000000FC E7FE B 0x000000FC
230: B IntDefaultHandler
0x000000FE E7FE B 0x000000FE
0x00000100 0380 LSLS r0,r0,#14
0x00000102 01C0 LSLS r0,r0,#7
_main_stk:
The 8962 and 6965 are almost identical except for some pins definitions ( correct me if I am wrong) wich should be taken care of by the LM3S_Pins.c :
#ifndef LM3S_PART_DEFINED
#define PART_LM3S6965
and in ARM_Serial.c
#define PART_LM3S6965 // TODO: This needs to be defined at the project level
All interrupts seem the same.
Any thoughts?
Thank you,
Lukasz
08-31-2010 12:07 PM
Hi Lukasz,
The LM3S6965 is a Tier 2 processor, and so only certain functionality is supported natively by LabVIEW for ARM. You can find these supported features here: http://zone.ni.com/devzone/cda/tut/p/id/7066
Most likely, there is certain functionality that must be ported for your specific microcontroller. For instructions on how to do that, you can start here: