Part Number:TMS320F28335
Hello,
I am using an XDS100v2 debugger with Code Composer studio v9.0.1.00004 on Windows 7..
While debugging a program, the debugger sometimes stops in EQEP1_INT_ISR after I pressed the suspend button in Code Composer. This has happened several time and I think it started happening yesterday.
My program is not using the EQEP peripheral.
Below is the EQEP1_INT_ISR code and the state of the relevant registers immediately after the debugger stopped in EQEP1_INT_ISR..
As you can see, the PIEIFR5 is not enabled.
What could be causing this issue?
Stephen
interrupt void EQEP1_INT_ISR(void) // EQEP-1
{
// Insert ISR Code here
// To receive more interrupts from this PIE group, acknowledge this interrupt
// PieCtrlRegs.PIEACK.all = PIEACK_GROUP5;
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
PIE Peripheral Interrupt Expansion Registers
PIECTRL 0x0D81 PIE, Control Register [Memory Mapped]
PIEACK 0x0009 PIE, Acknowledge Register [Memory Mapped]
PIEIER1 0x0048 PIE, INT1 Group Enable Register [Memory Mapped]
PIEIFR1 0x0029 PIE, INT1 Group Flag Register [Memory Mapped]
PIEIER2 0x0000 PIE, INT2 Group Enable Register [Memory Mapped]
PIEIFR2 0x0000 PIE, INT2 Group Flag Register [Memory Mapped]
PIEIER3 0x0000 PIE, INT3 Group Enable Register [Memory Mapped]
PIEIFR3 0x0000 PIE, INT3 Group Flag Register [Memory Mapped]
PIEIER4 0x0003 PIE, INT4 Group Enable Register [Memory Mapped]
PIEIFR4 0x0003 PIE, INT4 Group Flag Register [Memory Mapped]
PIEIER5 0x0000 PIE, INT5 Group Enable Register [Memory Mapped]
PIEIFR5 0x0000 PIE, INT5 Group Flag Register [Memory Mapped]
PIEIER6 0x0000 PIE, INT6 Group Enable Register [Memory Mapped]
PIEIFR6 0x0000 PIE, INT6 Group Flag Register [Memory Mapped]
PIEIER7 0x0018 PIE, INT7 Group Enable Register [Memory Mapped]
PIEIFR7 0x0000 PIE, INT7 Group Flag Register [Memory Mapped]
PIEIER8 0x0003 PIE, INT8 Group Enable Register [Memory Mapped]
PIEIFR8 0x0000 PIE, INT8 Group Flag Register [Memory Mapped]
PIEIER9 0x000C PIE, INT9 Group Enable Register [Memory Mapped]
PIEIFR9 0x0000 PIE, INT9 Group Flag Register [Memory Mapped]
PIEIER10 0x0001 PIE, INT10 Group Enable Register [Memory Mapped]
PIEIFR10 0x0000 PIE, INT10 Group Flag Register [Memory Mapped]
PIEIER11 0x0000 PIE, INT11 Group Enable Register [Memory Mapped]
PIEIFR11 0x0000 PIE, INT11 Group Flag Register [Memory Mapped]
PIEIER12 0x0000 PIE, INT12 Group Enable Register [Memory Mapped]
PIEIFR12 0x0000 PIE, INT12 Group Flag Register [Memory Mapped]
eQEP2 eQEP2 Registers
QPOSCNT 0x00000000 eQEP Position Counter [Memory Mapped]
QPOSINIT 0x00000000 eQEP Initialization Position Count [Memory Mapped]
QPOSMAX 0x00000000 eQEP Maximum Position Count [Memory Mapped]
QPOSCMP 0x00000000 eQEP Position-compare [Memory Mapped]
QPOSILAT 0x00000000 eQEP Index Position Latch [Memory Mapped]
QPOSSLAT 0x00000000 eQEP Strobe Position Latch [Memory Mapped]
QPOSLAT 0x00000000 eQEP Position Latch [Memory Mapped]
QUTMR 0x00000000 eQEP Unit Timer [Memory Mapped]
QUPRD 0x00000000 eQEP Unit Period Register [Memory Mapped]
QWDTMR 0x0000 eQEP Watchdog Timer [Memory Mapped]
QWDPRD 0x0000 eQEP Watchdog Period Register [Memory Mapped]
QDECCTL 0x0000 eQEP Decoder Control Register [Memory Mapped]
QEPCTL 0x0000 eQEP Control Register [Memory Mapped]
QCAPCTL 0x0000 eQEP Capture Control Register [Memory Mapped]
QPOSCTL 0x0000 eQEP Position-compare Control Register [Memory Mapped]
QEINT 0x0000 eQEP Interrupt Enable Register [Memory Mapped]
QFLG 0x0000 eQEP Interrupt Flag Register [Memory Mapped]
QCLR 0x0000 eQEP Interrupt Clear Register [Memory Mapped]
QFRC 0x0000 eQEP Interrupt Force Register [Memory Mapped]
QEPSTS 0x0000 eQEP Status Register [Memory Mapped]
QCTMR 0x0000 eQEP Capture Timer [Memory Mapped]
QCPRD 0x0000 eQEP Capture Period Register [Memory Mapped]
QCTMRLAT 0x0000 eQEP Capture Timer Latch [Memory Mapped]
QCPRDLAT 0x0000 eQEP Capture Period Latch [Memory Mapped]
SYSCTRL System Control Registers
PLLSTS 0x0101 PLL Status Register [Memory Mapped]
HISPCP 0x0006 High-Speed Peripheral Clock Pre-Scaler Register [Memory Mapped]
LOSPCP 0x0004 Low-Speed Peripheral Clock Pre-Scaler Register [Memory Mapped]
PCLKCR0 0xC818 Peripheral Clock Control Register 0 [Memory Mapped]
PCLKCR1 0x0300 Peripheral Clock Control Register 1 [Memory Mapped]
LPMCR0 0x00FC Low Power Mode Control Register 0 [Memory Mapped]
PCLKCR3 0x3F00 Peripheral Clock Control Register 3 [Memory Mapped]
PLLCR 0x000A PLL Control Register [Memory Mapped]
SCSR 0x0005 System Control and Status Register [Memory Mapped]
WDCNTR 0x0000 Watchdog Counter Register [Memory Mapped]
WDKEY 0x00C0 Watchdog Reset Key Register [Memory Mapped]
WDCR 0x00C0 Watchdog Control Register [Memory Mapped]
MAPCNF 0x0000 ePWM/HRPWM Re-map Register [Memory Mapped]
DEVEMU Device Emulation Registers
DEVICECNF 0x080F006B Device Configuration Register [Memory Mapped]
CLASSID 0x00EF Class ID Register [Memory Mapped]
REVID 0x0001 Revision ID Register [Memory Mapped]
PROTSTART 0x0100 Block Protection Start Address Register [Memory Mapped]
PROTRANGE 0x00FF Block Protection Range Address Register [Memory Mapped]
PARTID 0x00EF Part ID Register [Memory Mapped]
Core Registers Core Registers
ACC 0xD800014F Accumulator [Core]
P 0x0000014F Product Register [Core]
XT 0x001500AD Multiplicand Register [Core]
XAR0 0x00000000 Auxiliary Register 0 [Core]
XAR1 0x0000FFFF Auxiliary Register 1 [Core]
XAR2 0x00000000 Auxiliary Register 2 [Core]
XAR3 0x00000000 Auxiliary Register 3 [Core]
XAR4 0x00006208 Auxiliary Register 4 [Core]
XAR5 0x00000066 Auxiliary Register 5 [Core]
XAR6 0x00000001 Auxiliary Register 6 [Core]
XAR7 0x0000CEC0 Auxiliary Register 7 [Core]
PC 0x3078E2 Program Counter [Core]
RPC 0x0063A8 Return Program Counter [Core]
ST0 0x00EC Status Register 0 [Core]
ST1 0x8A1B Status Register 1 [Core]
DP 0x033E Data-Page Pointer [Core]
SP 0x0096 Stack Pointer [Core]
IER 0x0000 Interrupt Enable Register [Core]
IFR 0x0000 Interrupt Flag Register [Core]
DBGIER 0x0000 Debug Interrupt Enable Register [Core]
STF 0x00000628 Status Register for FPU [Memory Mapped]
R0L 0x00000000 Floating Point Unit R0L [Memory Mapped]
R0H 0xCB80014F Floating Point Unit R0H [Memory Mapped]
R1L 0x00000000 Floating Point Unit R1L [Memory Mapped]
R1H 0x43350000 Floating Point Unit R1H [Memory Mapped]
R2L 0x00000000 Floating Point Unit R2L [Memory Mapped]
R2H 0x00000000 Floating Point Unit R2H [Memory Mapped]
R3L 0x00000000 Floating Point Unit R3L [Memory Mapped]
R3H 0x00000000 Floating Point Unit R3H [Memory Mapped]
R4L 0x00000000 Floating Point Unit R4L [Memory Mapped]
R4H 0x00000000 Floating Point Unit R4H [Memory Mapped]
R5L 0x00000000 Floating Point Unit R5L [Memory Mapped]
R5H 0x00000000 Floating Point Unit R5H [Memory Mapped]
R6L 0x00000000 Floating Point Unit R6L [Memory Mapped]
R6H 0x00000000 Floating Point Unit R6H [Memory Mapped]
R7L 0x00000000 Floating Point Unit R7L [Memory Mapped]
R7H 0x00000000 Floating Point Unit R7H [Memory Mapped]
RB 0x00000000 Repeat Block Register [Memory Mapped]