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.
Tool/software: Code Composer Studio
i has dumped code via debugger XDS100v2 in to RD-195 ARC FAULT DETECTION BOARD EVOLUTION BOARD.
i has connected all the connection AS mention in below pdf link.
but i has shorted jumped J9 for continuous noise detection as i want to detect arc fault manually ,not from external current signal via current transformer .
when i started debugging code in CCS debugging stopped with following error
when i has analyzed it following function call is genrating this ESTOP.
i did not understand why this function is going to generate this error. please help to solve this issue
hello sir,
when i tried to put break point at Device_cal function and then i pressed run button but what i found is that it is showing same error what i has previously mentioned ,and one thing i found is that when i am doing step by step running at that instant code run fine but when it reaches to Device_cal function it breaks and then starts again when i pressed step by step running button .
i has observed following thing
when following instruction is executed
SysCtrlRegs.CLKCTL.bit.XTALOSCOFF=0;
why it jumps to
PLLset(0xA,CLKDIVBY1);
when i see disassembly following line is found. PLLset function next to extranal oscillator off .
i want to know is it ok??
regards,
vishal.
dear sir,
i has done two thing and everything is working fine, yellow LED is blinking and green LED is continuously on. but when i has tried to generate software based arc it is not detecting arc so why it is behaving like that..?
1.when i has commented STL test everything is working fine , is it ok can i bypass STL test.?
i has attached snap shot of following
can i do like that ?
2.i has selected internal crystal oscillator instead of external crystal is it ok??
i has attached snap shot of following
please provide your feedback.
thanks & regards,
vishal.
sir,
thanks for your input. my code is running in debug mode and it is not showing any error. but when i has pressed switch SW1 . it is not detecting ARC and red LED Is OFF it is not ON..
I am getting following warning.
so when i has put break point in ReadAdcFast in assembly code it is going there and i has seen the accumulator content in watch window ,it is updating every time but when i has tried to put breakpoint in DoArcdect function it is not allowing me to put breakpoint ,i has disable all brekpoints and only single brekapoint is there in my code at DoArcdect so i think that this warning is creating problem .
please help to solve this sir,
regards,
vishal.
Vishal,
Apologies for the long time between posts. I'm not certain why CCS is showing this error/warning in this case. If you right click on the ArcDetect project and pick "Properties" this will bring up the properties window. Expand the "Build" then "Advanced Options" and click "Predefined Symbols" Let's make sure we see this:
FLASH F28033 PIN_PKG=PIN_PKG_56 DEVICE_TYPE_28033=1
Best,
Matthew
SIR,
THANKS FOR REPLY.
sir my code is working. . when i has PRESSED switch (SW1) and probed at TEST POINT (TP17) ARC is generating so it is OK.
SIR,
THANKS FOR REPLY.
sir my code is working. . when i has PRESSED switch (SW1) and probed at TEST POINT (TP17) ARC is generating so it is OK.
but when i measure same signal after CAPACITOR (C75) it is not transferring to ADC pin
what i have done is, i has removed this capacitor (C75) and i am sure that i has already R63 AND C78 RC filter is available on ADC pin so i would not pic up a noise.
now i did not understand why this capacitor needed to be removed.?
what happen if actual ARC is generating then i needed the this capacitor?
regards,
vishal.