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: TI C/C++ Compiler
Hello I am trying to use the code as standalone application in 28035. I have been able to flash the code successfully on my custom board.
I have followed the this document -http://www.ti.com/lit/an/spra958l/spra958l.pdf
I am able to flash code using JTAG. But it does not run as stand alone application.
memcpy((void *)0x000D06, (Uint16 *)&PieVectTableInit+6, 256-6) This causes error of PieVectTableInit not initialized.
So I have commented that line and it Runs in flash but not in standalone mode.
My Procedure is as followed:
1
2
3
4
5
|
/*** Initialize the PIE_RAM ***/
PieCtrlRegs.PIECTRL.bit.ENPIE = 0; // Disable the PIE
asm(" EALLOW"); // Enable EALLOW protected register access
memcpy(&PieVectTable, &PieVectTableInit, 256);
asm(" EDIS"); // Disable EALLOW protected register access
|
.
// Copied time critical code and Flash setup code to RAM
// This includes the following ISR functions: epwm1_timer_isr(), epwm2_timer_isr()
// epwm3_timer_isr and and InitFlash();
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize);
|
Are you saying that the ISR is taking longer to execute or that the latency to get into the ISR is greater? The EPWM itself is running at the same frequency, correct?
How are you measuring this? Toggling a GPIO in the ISR?
Whitney
I mean there is latency to get into ISR. Yes I am toggling Gpio in ISR.
Epwm is running at different value of Tbprd. But the same code in Emulation works fine. I mean there is no latency to get into ISR but when I use a standalone mode there is a latency to get into ISR. I have measured the Gpio timings in the scope too.
Thanks
I am really having an issue and want to resolve this problem asap as I have product release soon. Is there any way I can have it someone view it in expedited?
The problem is that I have been getting response very late. So whats the way to have that happen quickly resolved?
Is there a way I can get hold of an expert directly and not going through so many things back and forth over a lot days?
Thanks