hello ! i am emulating my C6203 board under CCS2.2, everything goes well except the software reset. i can't software reset my C6203 board through JTAG interface ! when i select debug>reset CPU in CCS2.2, an error always occur ! and i am forced to quit the CCS. when reset cpu by this way, a funtion as follows in the gel file will run, right? --------------------------------- OnReset(int nErrorCode) { GEL_BreakPtReset(); ...// custom init_functions } --------------------------------- i tried comment some or all the lines in this function, error still occurs when reset. who knows the tricks inside the software reset ? how dose it work ? is there some help files in TI'web about this ? ////////////////////////////////////////////////////////////////////////////////\ ///////////////////////// i still have a problem with the DMA every time i startup the ccs, i check the dma regs, sometimes the DMA channel0's status bit isn't 00b, i think this is because the dma0 did't finished it's work at last time. when this happen, i find i can't clear the status bit to 00b by software ways, and the channel 0 refuse to run another task, at this time, even the other DMA channels can't run too! i think this is because the channel 0 occupied the dma auxiliary channel which generats the address for the dma0,1,2,3. am i right ? sometimes the DMA channel0's status bit is 00b, and everything goes fine i think if my ccs software reset works right, the status bit of DMA will be cleared after the reset. is there some other software ways to clear the dma status ? except the ccs reset and the hardware reset. i really need your help, thanks! |
|
software reset and dma status clear
Started by ●November 7, 2003
Reply by ●November 10, 20032003-11-10
Hi di he You will see if you also just switch off the TI chip that the CCS2.2 will throw a error. It is an error just to say that the CCS2.2 has lost comms. Try testing the software reset by using stand alone mode. You just use it to reset the DSP and initialize some variables. See if you can't use a RS232 interface or LED to debug if your reset is working. Hope you succeed. Regards, Frikkie -----Original Message----- From: di he [mailto:] Sent: Friday, November 07, 2003 6:47 AM To: ; Subject: [code-comp] software reset and dma status clear hello ! i am emulating my C6203 board under CCS2.2, everything goes well except the software reset. i can't software reset my C6203 board through JTAG interface ! when i select debug>reset CPU in CCS2.2, an error always occur ! and i am forced to quit the CCS. when reset cpu by this way, a funtion as follows in the gel file will run, right? --------------------------------- OnReset(int nErrorCode) { GEL_BreakPtReset(); ...// custom init_functions } --------------------------------- i tried comment some or all the lines in this function, error still occurs when reset. who knows the tricks inside the software reset ? how dose it work ? is there some help files in TI'web about this ? ////////////////////////////////////////////////////////////////////////////////\ ///////////////////////// i still have a problem with the DMA every time i startup the ccs, i check the dma regs, sometimes the DMA channel0's status bit isn't 00b, i think this is because the dma0 did't finished it's work at last time. when this happen, i find i can't clear the status bit to 00b by software ways, and the channel 0 refuse to run another task, at this time, even the other DMA channels can't run too! i think this is because the channel 0 occupied the dma auxiliary channel which generats the address for the dma0,1,2,3. am i right ? sometimes the DMA channel0's status bit is 00b, and everything goes fine i think if my ccs software reset works right, the status bit of DMA will be cleared after the reset. is there some other software ways to clear the dma status ? except the ccs reset and the hardware reset. i really need your help, thanks! <http://rd.yahoo.com/M&7637.4116732.5333197.1261774/D=egroupweb/S05004726:H\ M/A53618/R=0/SIGtco8nod/*http://www.netflix.com/Default?mqso`178338&part\ idA16732> click here <http://us.adserver.yahoo.com/l?M&7637.4116732.5333197.1261774/D=egroupmail/S=\ :HM/A53618/rand1417458> _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/code-comp More Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/> . |