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.

c64不能触发软件异常的问题

Other Parts Discussed in Thread: SYSBIOS

操作和现象:

       在ccs5.1中 建立了sysbios工程,并加入了exception模块,选中了mpc选项,添加了各种hook函数,然后在建立的任务处理函数中调用了如下函数:

      void test_null_addr()

      {

        char * pcNull = NULL;

        * pcNull = 0x12;

      }

但是该任务还是能正常运行。调试过程中执行“ * pcNull = 0x12;”后查看ROV,  exception模块显示为没有数据,即没有触发异常

请问这是什么原因?如何排查?

多谢