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.

msp430i2041

msp430 程序执行,结果死循环在   初始化_c_int00_noargs() at boot.c:111 0x82AC (the entry point was reached)

  • 还是第一次见到这个问题。

    建议提供下更详细的信息,比如控制台输出内容、’代码、map文件等’

  • 请问能否详细说明下您的问题?您现在使用的软硬件以及调试情况?

    一般挂在_c_int00_noargs() 是由于中断异常,所以跳到了中断异常处理程序

    请检查是否定义了正确的ISR。
    如果定义了PORT1,PORT2,PORT3或PORT4 ISR中的一个,它是否对应于触发中断的确切端口。如果没有,代码将跳转到默认的异常处理程序。

    您可以在CCS的安装文件夹/ccs_base/msp430/include " 查看 "lnk_<device_name>.cmd

  • 芯片不知道什么地方坏了,所以会出现这种情况,换块芯片就又能用了
  • .int00 : {} > INT00
    PORT2 : { * ( .int01 ) } > INT01 type = VECT_INIT
    .int02 : {} > INT02
    .int03 : {} > INT03
    PORT1 : { * ( .int04 ) } > INT04 type = VECT_INIT
    TIMER0_A1 : { * ( .int05 ) } > INT05 type = VECT_INIT
    TIMER0_A0 : { * ( .int06 ) } > INT06 type = VECT_INIT
    SD24 : { * ( .int07 ) } > INT07 type = VECT_INIT
    USCI_B0 : { * ( .int08 ) } > INT08 type = VECT_INIT
    USCI_A0 : { * ( .int09 ) } > INT09 type = VECT_INIT
    WDT : { * ( .int10 ) } > INT10 type = VECT_INIT
    VMON : { * ( .int11 ) } > INT11 type = VECT_INIT
    TIMER1_A1 : { * ( .int12 ) } > INT12 type = VECT_INIT
    TIMER1_A0 : { * ( .int13 ) } > INT13 type = VECT_INIT
    NMI : { * ( .int14 ) } > INT14 type = VECT_INIT
    .reset : {} > RESET /* MSP430 Reset vector */



    这是源代码,我也不知道有什么问题没有
  • 解决了就好。换个板子,或者换个ic,这也是是排除问题的办法

  • 出现这个问题是BORIFG 置位了,该如何解决