This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Program reset, program counter fetch out of bound address

Other Parts Discussed in Thread: MSP430F2616, MSP-FET

uC : MSP430x2xx/MSP430F2616

CCS version: CCS v6.1

Compiler : msp430_4.4.4

debuger : MSP-FET 430 UIF

I have the problem recently where my program run into main() repeatedly after power up. The breakpoint I put in main() repeatedly entered.  

When pause in debugger, I came across no symbols are defined for 0x6C100B which apparently is out site the range of flash memory. Then it ends up in ISR P1_ISR() at 0x2100. 

I have no slightest of clue what is happening, any suggestion in way to analyse this problem is very much appreciated. 

  

   

  • To describe my problem further, in my program I used Port1, Timer A and Timer B Interrupt. In my debugger, it's always hang at

    _c_int00_noargs_noexit():
    002284: 0081 2100 MOVA #0x02100,SP
    002288: 431F MOV.W #1,R15
    00228a: 009F 0000 CMPA #0x00000,R15
    00228e: 2002 JNE ($C$L9)
    002290: 13B0 0000 CALLA #Special_Function_IE1
    $C$L9:
    002294: 13B1 08DA CALLA #_system_pre_init
    002298: 930C TST.W R12
    00229a: 2402 JEQ ($C$L10)
    00229c: 13B1 0342 CALLA #_auto_init_hold_wdt
    $C$L10:
    0022a0: 430C CLR.W R12
    0022a2: 13B1 0818 CALLA #main
    0022a6: 13B1 08DE CALLA #abort


    Sometimes I could see that my global variable value keep changed/ modified, even there is assignment to certain value. I can say the program becomes unstable.
  • The similar code run fine previously, the weird phenomenon just happen recently. However, when using debugger to download the program at other PC, same thing happen, which makes me think it's the configuration setting somewhere that gone wrong.
  • Hello Rejina,
    My apologies for the delayed response. We missed this thread somehow. Are you still experiencing the same issue? And when you said that you downloaded the program at another PC, this was with the same target, yes?

    Thanks
    ki
  • Hello Ki, 

    Thanks for reply.  Yes, it is on the same target.  As I couldn't find/solve the problem,  so I went ahead to create project in CCSv6 from scratch and rolled back software till a stable version, then bit by bit adding the new code.  Fortunately,  it seems to solve the weird phenomenon that I have seen before.