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.

CCS No source available for main()

用的是28031在DEBUG仿真调试时,如果RESET CPU会出现 No source available for main(),程序无法运行, 点Restart后奇偶可以了

  • 楼主你好!

    RESET CPU的在点RUN无法运行,而点Restart的可以运行的话,应该是由于仿真器连接时,BOOT MODE判断不对导致,请检查0xd00和0xd01内容是否正确,不正确的话,可以再memory browse里面讲其改成正确值。

  • 补充一点,因为PIE_VECT_TABLE的地址也是从0x0d00和0x0d01开始的,通常RESET CPU会重新赋值PIE_VECT_TABLE而把EMU_KEY and EMU_BMODE的值改写,就不能正常跑主程序了。