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.

C6748中断



我的工程中使用两个中断,分别映射到中断4和5,在中断服务程序中分别设置断点,两个中断服务程序可以正常进入,但现在的问题是:我全速运行时,中断就不能正常进入,而且停止Debug,就 会出现 No source available for ‘0X7f4d6c’,而且Disassembly窗体中出现:
00000000:   ???? Memory map prevented reading 0x00000000 [code=0x20000]
00000004:   ???? Memory map prevented reading 0x00000004 [code=0x20000]。我的GEL文件已经成功的加载,请教下,这是什么问题???

  • 工程设置不正确,中断向量表放在了错误的地方

  • 谢谢你的回复,你说的意思是指我的CMD文件有问题吗,我把空间都分配到DDR上,不知道会有哪方面的问题,麻烦你看一下我的CMD文件:

    MEMORY
    {
        L2:        o = 0x00800000        l = 0x00040000
        share:    o = 0x80000000        l = 0x00020000
        L1P:    o = 0x00E00000        l = 0x00008000
        L1D:    o = 0x00F00000        l = 0x00008000
        dsp_ddrii:  o = 0xc2000000  l = 0x1000000
    }


    SECTIONS
    {
        .cinit        >        dsp_ddrii                /* Initialization Tables            */
        .pinit        >        dsp_ddrii                /* C++ Constructor Tables            */
        .const        >        dsp_ddrii                /* Constant Data                    */
        .switch        >        dsp_ddrii                /* Jump Tables                        */
        .text:_c_int00 > 0xc2000000
        .text        >        dsp_ddrii                /* Executable Code                    */



        .bss        >        dsp_ddrii                /* Global & Static Variables         */
        .far        >        dsp_ddrii                /* Far Global & Static Variables    */
        .stack        >        dsp_ddrii                /* Software System Stack            */
        .sysmem        >        dsp_ddrii                /* Dynamic Memory Allocation Area     */

        .cio        >        dsp_ddrii                /* C I/O Buffer                        */
        .vecs        >        dsp_ddrii                /* Interrupt Vectors                */

        .com_data   >   dsp_ddrii
        .data       >    dsp_ddrii
    }

  • 您好!请问您是如何把中断映射到外部中断4,5的,是用了BIOS模块吗,或者如果没用的话,编写程序要怎样配置,我才学中断这块着实不太会,希望您能够指点回复一下,非常感谢您!