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.

error about s/w break point when mosaic image on DM642



hi , I use DM642EVM board, ccs3.3 and DSP/BIOS 5.31.

In my program, I configure VP0A as display port, VP1A as capture port,  I scale the input  image ,  so the input image is

360x288, the display Image is  720x576. The display image is divided into three parts, one is for  pre-frame ,one is for cur-frame,

and the other is for mosaiced image.

when I run  the program ,  the image  appeared on the monitor is right, but after the program run for a time ,about 1or 2 minutes,

a message appear: s/w break point in register at 0x7400 0000. The address in the message  is different  every time,but it's in

the rang of 0x7400 0000~0x75FF FFFF.

  • wenying xu said:
    when I run  the program ,  the image  appeared on the monitor is right, but after the program run for a time ,about 1or 2 minutes, a message appear: s/w break point in register at 0x7400 0000. The address in the message  is different  every time,but it's in the rang of 0x7400 0000~0x75FF FFFF.

    This typically occurs because of something like a stack overflow, broken pointer or a memory leak. Unfortunately these types of problems are pretty difficult to find and debug. Take a look at this article on Stack Issues.

    Are you able to run the code stand-alone outside of CCS and see the same behavior?

  •  

    Hi ,TimHarron

    As you suggested , I use the DSP/BIOS Kernel Object Viewer to look the stack 's state, it's not overflow. At last, I   salect  Option>Customize->Program/Project/Cio 

    to select the options : Do Not Set CIO Breakpoint At Load  and    Do Not Set End of  Program Breakpoint At Load  ,then the  program runs well.

    But there still have another problem , sometiines, when a run the program, the image does't  display on the monitor, but it run step by step .

    Then I run another program that dose't use DSP/BIOS ,

    /*read the ccd's mode*/
        _IIC_read(hSeeddm642i2c, addrI2C,0x8c, &vFromat);
        vFromat = vFromat & 0xff;
     switch (vFromat)
     {
      case TVP51XX_NTSCM:
      case TVP51XX_NTSC443:
       NTSCorPAL = 1;/*NTSC  mode*/
       break;
      case TVP51XX_PALBGHIN:
      case TVP51XX_PALM:
       NTSCorPAL = 0;/*PAL mode*/
       break;
      default:
       NTSCorPAL = 2;/*not surport mode*/
       break;
     }
     if(NTSCorPAL ==2)
     {
       for(; ;)
      {}
     }     

    it stops  on the

     if(NTSCorPAL ==2)
     {
       for(; ;)
      {}
     }     

    if I turn off all power ,then turn on, and Build and run the first program again, the image may appear.

    I forgot to tell , my DSP/BIOS examples are in  the environment of CCS2.2, I write my program based

    on the capture and display example ,but in CCS3.3. I don't know if this is the problem?