Now I was just using bf561.My program is using c++ program.I icreated an object.When run this code,the program stopped.What did cause this problem?
Any code sample? Was there supposed to be an attachement?
unsigned char * pYUVPIC_Address;
const unsigned int YUVwidth=640, YUVheight=480;
unsigned char tNewData,tNewData1,tNewData2,tNewData3;
int main( void )
pSICA_SYSCR &= 0xFFDF; / Core B Run */
/* App Init */
Init_OthersPeripheral(); /* DSP以外的设备*/
Init_BF561Peripheral(); /* DSP内部的外设*/
Init_Interrupt(); /* DSP中断初始化*/
Init_AppSoft(); /* 应用工程的软件配置*/
*pYUVPIC_Address = 0x100000;
tdc::Image *raw_image, *bnw_image, *copy_image;
bnw_image = new tdc::Image(YUVwidth, YUVheight); //when run this code,the program shops.What's the problem?
copy_image = bnw_image;
When it stops on that line, what exactly is the state you see in the IDE? Was it due to some specific exception? Did you try to run it in debug mode and step thorugh the code to see what caused the stop? Please provide more eliberated description of the problem.
Please look at this picture.It shows the status when the program stopped.
I can't really tell from the picture. My suggestion is that you set a breakpoint on the `new` line, then step through in the disassembly window and try to see where exactly the program jumps to the 'IDLE;' instruction.
This is my whole project.You can run it,then you can find this problem.
Retrieving data ...