Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
My project I/O (input/output) program that execution time depends on the code length. The project runs very well for the length of 32 bits (samples) but for the case of 64 bits (samples) and longer, the DSP will be still running until we halted using debug feature. Moreover, if we leave it running for long time, the PC will freeze and give this message: "CUP_1 device Error trouble halting target DSP timeout on target processor please check cabling or, multiprocessor configuration" This will end if we viewing the task manger and (end task {Ctrl+Alt+Del}), however, if we try to open the CCS again I can not so I need to reset the DSP board from Start > programs> CCS > DSPreset and then CCS opened!!!!!!! Note: 1. we have: - TMS320C701 EVM board - Windows 98 - CCS 1.2 2. We do not use DSP/BIOS Can someone help me in this since I stuck with it for long time? Thanks in advance and I am waiting for a great response Best regards, Hamed |
|
|
|
It is a shot in the dark, but sometimes this is caused by a memory allocation problem. Check the dimension of the arrays, the return values from malloc, and the memory map (xxx.map) to see if some area of memory is getting stomped on. > -----Original Message----- > From: hamed_100 <> [mailto:] > Sent: Tuesday, January 21, 2003 3:51 PM > To: > Subject: [c6x] DSP ,C6701 Does not halt by itself > My project I/O (input/output) program that execution time depends > on the code length. The project runs very well for the length of 32 > bits (samples) but for the case of 64 bits (samples) and longer, the > DSP will be still running until we halted using debug feature. > Moreover, if we leave it running for long time, the PC will freeze > and give this message: "CUP_1 device Error trouble halting target DSP > timeout on target processor please check cabling or, multiprocessor > configuration" This will end if we viewing the task manger and (end > task {Ctrl+Alt+Del}), however, if we try to open the CCS again I can > not so I need to reset the DSP board from Start > programs> CCS > > DSPreset and then CCS opened!!!!!!! > > Note: > 1. we have: > - TMS320C701 EVM board > - Windows 98 > - CCS 1.2 > 2. We do not use DSP/BIOS > > Can someone help me in this since I stuck with it for long time? > > Thanks in advance and I am waiting for a great response > Best regards, > > Hamed > > > _____________________________________ |
|
> -----Original Message----- > From: Hamed al-sharari [mailto:] > Sent: Thursday, January 23, 2003 12:21 AM > To: William Zimmerman; > Subject: RE: [c6x] DSP ,C6701 Does not halt by itself > Dear Mr. Zimmerman > > Thank you so much for replying and helping > > How can I check the dimension of the arrays, Look at the array indices used in loops e.g. int x[50]; for(i=1;i<100;i++){ x[i]= foo(bar); } > the > return values from malloc, int *ptr; ptr = malloc (100 * sizeof(int)); if(ptr == NULL)printf("ERROR ALLOCATING DATA"); > and the memory map > (xxx.map)? > Set the configuration options to produce a map file. Compare the map file with the .cmd file to verify that the sections match up. Bill |