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.

CCS/TMS320F28335: Ecap module - Entering into illegal isr

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hello, 

                   I was using the ecap module and i was trying to test the example program of capturing the pwm signals and it is running fine when i run that example. Now i have other code in which i am integrating the example code and when i run it, it throws illegal isr even though I have registered the ecap interrupt.

Thanks and Regards,

Akhil Pillai

  • Hi Akhil,

    What is the integration you are doing? It throws an illegal ISR at what point? Did you try to step in and see the point where it goes to the ISR?


    Thanks and Regards
    Harshmeet Singh
  • Morning Harmeet,

                              Ya, I stepped in and I have while loop running in main and in that I am making a particular pin(GPIO11) high and low in a interval of 1microsecond and when the program approches DELAY_US(1), it enters illegal ISR.

    Thanks,

    Akhil

  • ITRAPs associated with DELAY_US() usually mean an issue with ramfuncs. Is your code running from flash? If so, have you remembered to copy ramfuncs from flash to RAM?

    memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize);

    Whitney

  • Hello Whitney,


    I have included this in my code and I have added the file f28335.cmd, the code is flashing correctly but after flashing, when I run it, it enters into illegal ISR.
  • If you put a breakpoint on DELAY_US() does it reach the breakpoint? If you open up the Disassembly window and assembly single step to the LCR for DSP2833x_usDelay(), are you able to complete the jump to the function or does it trap immediately after that point?

    It would help if you could narrow down if there an exact location in the code where the issue is happening.

    Thanks,

    Whitney

  • It reaches till the breakpoint and when i proceed further, it traps. It directly goes into the illegal ISR.

    Thanks,
    Akhil
  • That still sounds like the delay function isn't being copied properly. Can you use the memory browser to confirm that the the delay function is in fact loaded into the correct location in RAM before the application tries to call it? You can use your map file to find out where it should be located.

    Whitney

  • Hello,

    It is showing in the map file with address 0000801b and page 0. is this the memory address it's located in? or is the is the address where it should be? And i couldn't find this address in the memory browser.
  • Yes, that address is in RAM, so that's probably where it should be located when it gets called. You don't see it there when you look at 0x801b in the memory browser?

    Can you send me your map file? Do you get any linker warnings on the console when you build the project?

    Whitney

  • I have pasting the map file and I am attaching the screen shot of the memory browser of that particular location.

    ******************************************************************************
    TMS320C2000 Linker PC v16.9.1
    ******************************************************************************
    >> Linked Thu Jan 31 07:38:25 2019

    OUTPUT FILE NAME: <gaAgri_driver_V0_1_150MHz.out>
    ENTRY POINT SYMBOL: "_c_int00" address: 003393c6


    MEMORY CONFIGURATION

    name origin length used unused attr fill
    ---------------------- -------- --------- -------- -------- ---- --------
    PAGE 0:
    ZONE0 00004000 00001000 00000000 00001000 RWIX
    RAML0 00008000 00001000 0000001f 00000fe1 RWIX
    RAML1 00009000 00001000 00000000 00001000 RWIX
    RAML2 0000a000 00001000 00000000 00001000 RWIX
    RAML3 0000b000 00001000 00000000 00001000 RWIX
    ZONE6 00100000 00100000 00000000 00100000 RWIX
    ZONE7A 00200000 0000fc00 00000000 0000fc00 RWIX
    FLASHH 00300000 00008000 00000000 00008000 RWIX
    FLASHG 00308000 00008000 00000000 00008000 RWIX
    FLASHF 00310000 00008000 00000000 00008000 RWIX
    FLASHE 00318000 00008000 00000000 00008000 RWIX
    FLASHD 00320000 00008000 0000001f 00007fe1 RWIX
    FLASHC 00328000 00008000 00000000 00008000 RWIX
    FLASHA 00338000 00007f7f 00001771 0000680e RWIX
    CSM_RSVD 0033ff80 00000076 00000000 00000076 RWIX
    BEGIN 0033fff6 00000002 00000002 00000000 RWIX
    CSM_PWL 0033fff8 00000008 00000000 00000008 RWIX
    ADC_CAL 00380080 00000009 00000007 00000002 RWIX
    OTP 00380400 00000400 00000000 00000400 RWIX
    IQTABLES 003fe000 00000b50 00000000 00000b50 RWIX
    IQTABLES2 003feb50 0000008c 00000000 0000008c RWIX
    FPUTABLES 003febdc 000006a0 00000000 000006a0 RWIX
    ROM 003ff27c 00000d44 00000000 00000d44 RWIX
    RESET 003fffc0 00000002 00000000 00000002 RWIX
    VECTORS 003fffc2 0000003e 00000000 0000003e RWIX

    PAGE 1:
    BOOT_RSVD 00000000 00000050 00000000 00000050 RWIX
    RAMM0 00000050 000003b0 00000000 000003b0 RWIX
    RAMM1 00000400 00000400 00000300 00000100 RWIX
    DEV_EMU 00000880 00000180 000000d0 000000b0 RWIX
    FLASH_REGS 00000a80 00000060 00000008 00000058 RWIX
    CSM 00000ae0 00000010 00000010 00000000 RWIX
    ADC_MIRROR 00000b00 00000010 00000010 00000000 RWIX
    XINTF 00000b20 00000020 0000001e 00000002 RWIX
    CPU_TIMER0 00000c00 00000008 00000008 00000000 RWIX
    CPU_TIMER1 00000c08 00000008 00000008 00000000 RWIX
    CPU_TIMER2 00000c10 00000008 00000008 00000000 RWIX
    PIE_CTRL 00000ce0 00000020 0000001a 00000006 RWIX
    PIE_VECT 00000d00 00000100 00000100 00000000 RWIX
    DMA 00001000 00000200 000000e0 00000120 RWIX
    MCBSPA 00005000 00000040 00000025 0000001b RWIX
    MCBSPB 00005040 00000040 00000025 0000001b RWIX
    ECANA 00006000 00000040 00000034 0000000c RWIX
    ECANA_LAM 00006040 00000040 00000040 00000000 RWIX
    ECANA_MOTS 00006080 00000040 00000040 00000000 RWIX
    ECANA_MOTO 000060c0 00000040 00000040 00000000 RWIX
    ECANA_MBOX 00006100 00000100 00000100 00000000 RWIX
    ECANB 00006200 00000040 00000034 0000000c RWIX
    ECANB_LAM 00006240 00000040 00000040 00000000 RWIX
    ECANB_MOTS 00006280 00000040 00000040 00000000 RWIX
    ECANB_MOTO 000062c0 00000040 00000040 00000000 RWIX
    ECANB_MBOX 00006300 00000100 00000100 00000000 RWIX
    EPWM1 00006800 00000022 00000022 00000000 RWIX
    EPWM2 00006840 00000022 00000022 00000000 RWIX
    EPWM3 00006880 00000022 00000022 00000000 RWIX
    EPWM4 000068c0 00000022 00000022 00000000 RWIX
    EPWM5 00006900 00000022 00000022 00000000 RWIX
    EPWM6 00006940 00000022 00000022 00000000 RWIX
    ECAP1 00006a00 00000020 00000020 00000000 RWIX
    ECAP2 00006a20 00000020 00000020 00000000 RWIX
    ECAP3 00006a40 00000020 00000020 00000000 RWIX
    ECAP4 00006a60 00000020 00000020 00000000 RWIX
    ECAP5 00006a80 00000020 00000020 00000000 RWIX
    ECAP6 00006aa0 00000020 00000020 00000000 RWIX
    EQEP1 00006b00 00000040 00000040 00000000 RWIX
    EQEP2 00006b40 00000040 00000040 00000000 RWIX
    GPIOCTRL 00006f80 00000040 0000002e 00000012 RWIX
    GPIODAT 00006fc0 00000020 00000020 00000000 RWIX
    GPIOINT 00006fe0 00000020 0000000a 00000016 RWIX
    SYSTEM 00007010 00000020 00000020 00000000 RWIX
    SPIA 00007040 00000010 00000010 00000000 RWIX
    SCIA 00007050 00000010 00000010 00000000 RWIX
    XINTRUPT 00007070 00000010 00000010 00000000 RWIX
    ADC 00007100 00000020 0000001e 00000002 RWIX
    SCIB 00007750 00000010 00000010 00000000 RWIX
    SCIC 00007770 00000010 00000010 00000000 RWIX
    I2CA 00007900 00000040 00000022 0000001e RWIX
    RAML4 0000c000 00001000 00000098 00000f68 RWIX
    RAML5 0000d000 00001000 00000000 00001000 RWIX
    RAML6 0000e000 00001000 00000000 00001000 RWIX
    RAML7 0000f000 00001000 00000000 00001000 RWIX
    ZONE7B 0020fc00 00000400 00000000 00000400 RWIX
    FLASHB 00330000 00008000 00000000 00008000 RWIX
    FLASH_CRC 0033ff7f 00000001 00000001 00000000 RWIX
    CSM_PWL 0033fff8 00000008 00000008 00000000 RWIX
    PARTID 00380090 00000001 00000001 00000000 RWIX


    SECTION ALLOCATION MAP

    output attributes/
    section page origin length input sections
    -------- ---- ---------- ---------- ----------------
    ramfuncs 0 00320000 0000001f RUN ADDR = 00008000
    00320000 0000001b DSP2833x_SysCtrl.obj (ramfuncs)
    0032001b 00000004 DSP2833x_usDelay.obj (ramfuncs)

    .text 0 00338000 0000156b
    00338000 00000659 apib_v0_1_main.obj (.text:retain)
    00338659 00000316 DSP2833x_DefaultIsr.obj (.text:retain)
    0033896f 000001af apib_v0_1_main.obj (.text)
    00338b1e 0000019d APIB_Communication.obj (.text)
    00338cbb 00000170 APIB_HealthCheck.obj (.text)
    00338e2b 00000132 APIB_PwmProcess.obj (.text)
    00338f5d 000000f8 DSP2833x_SysCtrl.obj (.text)
    00339055 000000c8 DSP2833x_EPwm.obj (.text)
    0033911d 000000aa APIB_Communication.obj (.text:retain)
    003391c7 000000a0 APIB_InternalADC.obj (.text)
    00339267 00000088 rts2800_fpu32.lib : fs_div28.obj (.text)
    003392ef 0000007b DSP2833x_CpuTimers.obj (.text)
    0033936a 0000005c DSP2833x_ECap.obj (.text)
    003393c6 00000056 rts2800_fpu32.lib : boot28.obj (.text)
    0033941c 00000048 DSP2833x_Sci.obj (.text)
    00339464 00000029 rts2800_fpu32.lib : exit.obj (.text)
    0033948d 00000028 DSP2833x_PieCtrl.obj (.text)
    003394b5 00000024 rts2800_fpu32.lib : cpy_tbl.obj (.text)
    003394d9 00000020 DSP2833x_PieVect.obj (.text)
    003394f9 0000001e rts2800_fpu32.lib : memcpy.obj (.text)
    00339517 00000019 : args_main.obj (.text)
    00339530 00000014 DSP2833x_Adc.obj (.text)
    00339544 00000013 DSP2833x_MemCopy.obj (.text)
    00339557 00000009 rts2800_fpu32.lib : _lock.obj (.text)
    00339560 00000008 DSP2833x_CodeStartBranch.obj (.text)
    00339568 00000002 rts2800_fpu32.lib : pre_init.obj (.text)
    0033956a 00000001 : startup.obj (.text)

    .econst 0 0033956c 00000196
    0033956c 00000100 DSP2833x_PieVect.obj (.econst:_PieVectTableInit)
    0033966c 0000000a apib_v0_1_main.obj (.econst:_$P$T0$1)
    00339676 0000000a apib_v0_1_main.obj (.econst:_$P$T1$2)
    00339680 0000000a apib_v0_1_main.obj (.econst:_$P$T10$11)
    0033968a 0000000a apib_v0_1_main.obj (.econst:_$P$T11$12)
    00339694 0000000a apib_v0_1_main.obj (.econst:_$P$T12$13)
    0033969e 0000000a apib_v0_1_main.obj (.econst:_$P$T13$14)
    003396a8 0000000a apib_v0_1_main.obj (.econst:_$P$T14$15)
    003396b2 0000000a apib_v0_1_main.obj (.econst:_$P$T2$3)
    003396bc 0000000a apib_v0_1_main.obj (.econst:_$P$T3$4)
    003396c6 0000000a apib_v0_1_main.obj (.econst:_$P$T4$5)
    003396d0 0000000a apib_v0_1_main.obj (.econst:_$P$T5$6)
    003396da 0000000a apib_v0_1_main.obj (.econst:_$P$T6$7)
    003396e4 0000000a apib_v0_1_main.obj (.econst:_$P$T7$8)
    003396ee 0000000a apib_v0_1_main.obj (.econst:_$P$T8$9)
    003396f8 0000000a apib_v0_1_main.obj (.econst:_$P$T9$10)

    .cinit 0 00339702 00000070
    00339702 0000002b apib_v0_1_main.obj (.cinit)
    0033972d 0000001e APIB_Communication.obj (.cinit)
    0033974b 0000000e rts2800_fpu32.lib : exit.obj (.cinit)
    00339759 0000000d APIB_InternalADC.obj (.cinit)
    00339766 00000005 rts2800_fpu32.lib : _lock.obj (.cinit:__lock)
    0033976b 00000005 : _lock.obj (.cinit:__unlock)
    00339770 00000002 --HOLE-- [fill = 0]

    codestart
    * 0 0033fff6 00000002
    0033fff6 00000002 DSP2833x_CodeStartBranch.obj (codestart)

    .adc_cal 0 00380080 00000007 NOLOAD SECTION
    00380080 00000007 DSP2833x_ADC_cal.obj (.adc_cal)

    .stack 1 00000400 00000300 UNINITIALIZED
    00000400 00000300 --HOLE--

    DevEmuRegsFile
    * 1 00000880 000000d0 UNINITIALIZED
    00000880 000000d0 DSP2833x_GlobalVariableDefs.obj (DevEmuRegsFile)

    FlashRegsFile
    * 1 00000a80 00000008 UNINITIALIZED
    00000a80 00000008 DSP2833x_GlobalVariableDefs.obj (FlashRegsFile)

    CsmRegsFile
    * 1 00000ae0 00000010 UNINITIALIZED
    00000ae0 00000010 DSP2833x_GlobalVariableDefs.obj (CsmRegsFile)

    AdcMirrorFile
    * 1 00000b00 00000010 UNINITIALIZED
    00000b00 00000010 DSP2833x_GlobalVariableDefs.obj (AdcMirrorFile)

    XintfRegsFile
    * 1 00000b20 0000001e UNINITIALIZED
    00000b20 0000001e DSP2833x_GlobalVariableDefs.obj (XintfRegsFile)

    CpuTimer0RegsFile
    * 1 00000c00 00000008 UNINITIALIZED
    00000c00 00000008 DSP2833x_GlobalVariableDefs.obj (CpuTimer0RegsFile)

    CpuTimer1RegsFile
    * 1 00000c08 00000008 UNINITIALIZED
    00000c08 00000008 DSP2833x_GlobalVariableDefs.obj (CpuTimer1RegsFile)

    CpuTimer2RegsFile
    * 1 00000c10 00000008 UNINITIALIZED
    00000c10 00000008 DSP2833x_GlobalVariableDefs.obj (CpuTimer2RegsFile)

    PieCtrlRegsFile
    * 1 00000ce0 0000001a UNINITIALIZED
    00000ce0 0000001a DSP2833x_GlobalVariableDefs.obj (PieCtrlRegsFile)

    PieVectTableFile
    * 1 00000d00 00000100 UNINITIALIZED
    00000d00 00000100 DSP2833x_GlobalVariableDefs.obj (PieVectTableFile)

    DmaRegsFile
    * 1 00001000 000000e0 UNINITIALIZED
    00001000 000000e0 DSP2833x_GlobalVariableDefs.obj (DmaRegsFile)

    McbspaRegsFile
    * 1 00005000 00000025 UNINITIALIZED
    00005000 00000025 DSP2833x_GlobalVariableDefs.obj (McbspaRegsFile)

    McbspbRegsFile
    * 1 00005040 00000025 UNINITIALIZED
    00005040 00000025 DSP2833x_GlobalVariableDefs.obj (McbspbRegsFile)

    ECanaRegsFile
    * 1 00006000 00000034 UNINITIALIZED
    00006000 00000034 DSP2833x_GlobalVariableDefs.obj (ECanaRegsFile)

    ECanaLAMRegsFile
    * 1 00006040 00000040 UNINITIALIZED
    00006040 00000040 DSP2833x_GlobalVariableDefs.obj (ECanaLAMRegsFile)

    ECanaMOTSRegsFile
    * 1 00006080 00000040 UNINITIALIZED
    00006080 00000040 DSP2833x_GlobalVariableDefs.obj (ECanaMOTSRegsFile)

    ECanaMOTORegsFile
    * 1 000060c0 00000040 UNINITIALIZED
    000060c0 00000040 DSP2833x_GlobalVariableDefs.obj (ECanaMOTORegsFile)

    ECanaMboxesFile
    * 1 00006100 00000100 UNINITIALIZED
    00006100 00000100 DSP2833x_GlobalVariableDefs.obj (ECanaMboxesFile)

    ECanbRegsFile
    * 1 00006200 00000034 UNINITIALIZED
    00006200 00000034 DSP2833x_GlobalVariableDefs.obj (ECanbRegsFile)

    ECanbLAMRegsFile
    * 1 00006240 00000040 UNINITIALIZED
    00006240 00000040 DSP2833x_GlobalVariableDefs.obj (ECanbLAMRegsFile)

    ECanbMOTSRegsFile
    * 1 00006280 00000040 UNINITIALIZED
    00006280 00000040 DSP2833x_GlobalVariableDefs.obj (ECanbMOTSRegsFile)

    ECanbMOTORegsFile
    * 1 000062c0 00000040 UNINITIALIZED
    000062c0 00000040 DSP2833x_GlobalVariableDefs.obj (ECanbMOTORegsFile)

    ECanbMboxesFile
    * 1 00006300 00000100 UNINITIALIZED
    00006300 00000100 DSP2833x_GlobalVariableDefs.obj (ECanbMboxesFile)

    EPwm1RegsFile
    * 1 00006800 00000022 UNINITIALIZED
    00006800 00000022 DSP2833x_GlobalVariableDefs.obj (EPwm1RegsFile)

    EPwm2RegsFile
    * 1 00006840 00000022 UNINITIALIZED
    00006840 00000022 DSP2833x_GlobalVariableDefs.obj (EPwm2RegsFile)

    EPwm3RegsFile
    * 1 00006880 00000022 UNINITIALIZED
    00006880 00000022 DSP2833x_GlobalVariableDefs.obj (EPwm3RegsFile)

    EPwm4RegsFile
    * 1 000068c0 00000022 UNINITIALIZED
    000068c0 00000022 DSP2833x_GlobalVariableDefs.obj (EPwm4RegsFile)

    EPwm5RegsFile
    * 1 00006900 00000022 UNINITIALIZED
    00006900 00000022 DSP2833x_GlobalVariableDefs.obj (EPwm5RegsFile)

    EPwm6RegsFile
    * 1 00006940 00000022 UNINITIALIZED
    00006940 00000022 DSP2833x_GlobalVariableDefs.obj (EPwm6RegsFile)

    ECap1RegsFile
    * 1 00006a00 00000020 UNINITIALIZED
    00006a00 00000020 DSP2833x_GlobalVariableDefs.obj (ECap1RegsFile)

    ECap2RegsFile
    * 1 00006a20 00000020 UNINITIALIZED
    00006a20 00000020 DSP2833x_GlobalVariableDefs.obj (ECap2RegsFile)

    ECap3RegsFile
    * 1 00006a40 00000020 UNINITIALIZED
    00006a40 00000020 DSP2833x_GlobalVariableDefs.obj (ECap3RegsFile)

    ECap4RegsFile
    * 1 00006a60 00000020 UNINITIALIZED
    00006a60 00000020 DSP2833x_GlobalVariableDefs.obj (ECap4RegsFile)

    ECap5RegsFile
    * 1 00006a80 00000020 UNINITIALIZED
    00006a80 00000020 DSP2833x_GlobalVariableDefs.obj (ECap5RegsFile)

    ECap6RegsFile
    * 1 00006aa0 00000020 UNINITIALIZED
    00006aa0 00000020 DSP2833x_GlobalVariableDefs.obj (ECap6RegsFile)

    EQep1RegsFile
    * 1 00006b00 00000040 UNINITIALIZED
    00006b00 00000040 DSP2833x_GlobalVariableDefs.obj (EQep1RegsFile)

    EQep2RegsFile
    * 1 00006b40 00000040 UNINITIALIZED
    00006b40 00000040 DSP2833x_GlobalVariableDefs.obj (EQep2RegsFile)

    GpioCtrlRegsFile
    * 1 00006f80 0000002e UNINITIALIZED
    00006f80 0000002e DSP2833x_GlobalVariableDefs.obj (GpioCtrlRegsFile)

    GpioDataRegsFile
    * 1 00006fc0 00000020 UNINITIALIZED
    00006fc0 00000020 DSP2833x_GlobalVariableDefs.obj (GpioDataRegsFile)

    GpioIntRegsFile
    * 1 00006fe0 0000000a UNINITIALIZED
    00006fe0 0000000a DSP2833x_GlobalVariableDefs.obj (GpioIntRegsFile)

    SysCtrlRegsFile
    * 1 00007010 00000020 UNINITIALIZED
    00007010 00000020 DSP2833x_GlobalVariableDefs.obj (SysCtrlRegsFile)

    SpiaRegsFile
    * 1 00007040 00000010 UNINITIALIZED
    00007040 00000010 DSP2833x_GlobalVariableDefs.obj (SpiaRegsFile)

    SciaRegsFile
    * 1 00007050 00000010 UNINITIALIZED
    00007050 00000010 DSP2833x_GlobalVariableDefs.obj (SciaRegsFile)

    XIntruptRegsFile
    * 1 00007070 00000010 UNINITIALIZED
    00007070 00000010 DSP2833x_GlobalVariableDefs.obj (XIntruptRegsFile)

    AdcRegsFile
    * 1 00007100 0000001e UNINITIALIZED
    00007100 0000001e DSP2833x_GlobalVariableDefs.obj (AdcRegsFile)

    ScibRegsFile
    * 1 00007750 00000010 UNINITIALIZED
    00007750 00000010 DSP2833x_GlobalVariableDefs.obj (ScibRegsFile)

    ScicRegsFile
    * 1 00007770 00000010 UNINITIALIZED
    00007770 00000010 DSP2833x_GlobalVariableDefs.obj (ScicRegsFile)

    I2caRegsFile
    * 1 00007900 00000022 UNINITIALIZED
    00007900 00000022 DSP2833x_GlobalVariableDefs.obj (I2caRegsFile)

    .ebss 1 0000c000 00000098 UNINITIALIZED
    0000c000 0000002e apib_v0_1_main.obj (.ebss)
    0000c02e 00000006 rts2800_fpu32.lib : exit.obj (.ebss)
    0000c034 00000002 APIB_HealthCheck.obj (.ebss)
    0000c036 00000002 rts2800_fpu32.lib : _lock.obj (.ebss:__lock)
    0000c038 00000002 : _lock.obj (.ebss:__unlock)
    0000c03a 00000006 --HOLE--
    0000c040 0000001e APIB_InternalADC.obj (.ebss)
    0000c05e 00000018 APIB_Communication.obj (.ebss)
    0000c076 0000000a --HOLE--
    0000c080 00000018 DSP2833x_CpuTimers.obj (.ebss)

    FlashCRCFile
    * 1 0033ff7f 00000001
    0033ff7f 00000001 APIB_HealthCheck.obj (FlashCRCFile)

    CsmPwlFile
    * 1 0033fff8 00000008 UNINITIALIZED
    0033fff8 00000008 DSP2833x_GlobalVariableDefs.obj (CsmPwlFile)

    PartIdRegsFile
    * 1 00380090 00000001 UNINITIALIZED
    00380090 00000001 DSP2833x_GlobalVariableDefs.obj (PartIdRegsFile)

    .pinit 0 00338000 00000000 UNINITIALIZED

    .reset 0 003fffc0 00000002 DSECT
    003fffc0 00000002 rts2800_fpu32.lib : boot28.obj (.reset)

    vectors 0 003fffc2 00000000 DSECT

    MODULE SUMMARY

    Module code initialized data uninitialized data
    ------ ---- ---------------- ------------------
    .\
    DSP2833x_GlobalVariableDefs.obj 0 0 2679
    apib_v0_1_main.obj 2056 193 46
    DSP2833x_DefaultIsr.obj 790 0 0
    APIB_Communication.obj 583 30 24
    APIB_HealthCheck.obj 368 1 2
    APIB_PwmProcess.obj 306 0 0
    DSP2833x_SysCtrl.obj 302 0 0
    DSP2833x_PieVect.obj 32 256 0
    APIB_InternalADC.obj 160 13 30
    DSP2833x_EPwm.obj 200 0 0
    DSP2833x_CpuTimers.obj 123 0 24
    DSP2833x_ECap.obj 92 0 0
    DSP2833x_Sci.obj 72 0 0
    DSP2833x_PieCtrl.obj 40 0 0
    DSP2833x_Adc.obj 20 0 0
    DSP2833x_MemCopy.obj 19 0 0
    DSP2833x_CodeStartBranch.obj 10 0 0
    DSP2833x_usDelay.obj 8 0 0
    DSP2833x_ADC_cal.obj 7 0 0
    +--+---------------------------------+------+------------------+--------------------+
    Total: 5188 493 2805

    D:\ti\ccsv7\tools\compiler\ti-cgt-c2000_16.9.1.LTS\lib\rts2800_fpu32.lib
    fs_div28.obj 136 0 0
    boot28.obj 86 0 0
    exit.obj 41 14 6
    cpy_tbl.obj 36 0 0
    memcpy.obj 30 0 0
    args_main.obj 25 0 0
    _lock.obj 9 10 4
    pre_init.obj 2 0 0
    startup.obj 1 0 0
    +--+---------------------------------+------+------------------+--------------------+
    Total: 366 24 10

    Stack: 0 0 768
    +--+---------------------------------+------+------------------+--------------------+
    Grand Total: 5554 517 3583


    GLOBAL DATA SYMBOLS: SORTED BY DATA PAGE

    address data page name
    -------- ---------------- ----
    00000400 10 (00000400) __stack

    00000880 22 (00000880) _DevEmuRegs

    00000a80 2a (00000a80) _FlashRegs

    00000ae0 2b (00000ac0) _CsmRegs

    00000b00 2c (00000b00) _AdcMirror
    00000b20 2c (00000b00) _XintfRegs

    00000c00 30 (00000c00) _CpuTimer0Regs
    00000c08 30 (00000c00) _CpuTimer1Regs
    00000c10 30 (00000c00) _CpuTimer2Regs

    00000ce0 33 (00000cc0) _PieCtrlRegs

    00000d00 34 (00000d00) _PieVectTable

    00001000 40 (00001000) _DmaRegs

    00005000 140 (00005000) _McbspaRegs

    00005040 141 (00005040) _McbspbRegs

    00006000 180 (00006000) _ECanaRegs

    00006040 181 (00006040) _ECanaLAMRegs

    00006080 182 (00006080) _ECanaMOTSRegs

    000060c0 183 (000060c0) _ECanaMOTORegs

    00006100 184 (00006100) _ECanaMboxes

    00006200 188 (00006200) _ECanbRegs

    00006240 189 (00006240) _ECanbLAMRegs

    00006280 18a (00006280) _ECanbMOTSRegs

    000062c0 18b (000062c0) _ECanbMOTORegs

    00006300 18c (00006300) _ECanbMboxes

    00006800 1a0 (00006800) _EPwm1Regs

    00006840 1a1 (00006840) _EPwm2Regs

    00006880 1a2 (00006880) _EPwm3Regs

    000068c0 1a3 (000068c0) _EPwm4Regs

    00006900 1a4 (00006900) _EPwm5Regs

    00006940 1a5 (00006940) _EPwm6Regs

    00006a00 1a8 (00006a00) _ECap1Regs
    00006a20 1a8 (00006a00) _ECap2Regs

    00006a40 1a9 (00006a40) _ECap3Regs
    00006a60 1a9 (00006a40) _ECap4Regs

    00006a80 1aa (00006a80) _ECap5Regs
    00006aa0 1aa (00006a80) _ECap6Regs

    00006b00 1ac (00006b00) _EQep1Regs

    00006b40 1ad (00006b40) _EQep2Regs

    00006f80 1be (00006f80) _GpioCtrlRegs

    00006fc0 1bf (00006fc0) _GpioDataRegs
    00006fe0 1bf (00006fc0) _GpioIntRegs

    00007010 1c0 (00007000) _SysCtrlRegs

    00007040 1c1 (00007040) _SpiaRegs
    00007050 1c1 (00007040) _SciaRegs
    00007070 1c1 (00007040) _XIntruptRegs

    00007100 1c4 (00007100) _AdcRegs

    00007750 1dd (00007740) _ScibRegs
    00007770 1dd (00007740) _ScicRegs

    00007900 1e4 (00007900) _I2caRegs

    0000c000 300 (0000c000) _noOfBytes
    0000c001 300 (0000c000) _errorCount
    0000c002 300 (0000c000) _temp1
    0000c003 300 (0000c000) _temp2
    0000c004 300 (0000c000) _Convertedtilt
    0000c006 300 (0000c000) _temp3
    0000c008 300 (0000c000) _Convertedpan
    0000c00a 300 (0000c000) _startAddress
    0000c00c 300 (0000c000) _voltageFbN
    0000c016 300 (0000c000) _tiltAxis
    0000c022 300 (0000c000) _panAxis
    0000c02e 300 (0000c000) ___TI_enable_exit_profile_output
    0000c030 300 (0000c000) ___TI_cleanup_ptr
    0000c032 300 (0000c000) ___TI_dtors_ptr
    0000c034 300 (0000c000) _FaultFlag
    0000c035 300 (0000c000) _flashChecksum
    0000c036 300 (0000c000) __lock
    0000c038 300 (0000c000) __unlock

    0000c040 301 (0000c040) _adcData
    0000c05e 301 (0000c040) _receivedFunctionCode
    0000c05f 301 (0000c040) _transmitBufferSize
    0000c060 301 (0000c040) _SciStatusFlag
    0000c062 301 (0000c040) _tempVal
    0000c064 301 (0000c040) _tempCmd
    0000c066 301 (0000c040) _receiveBuffer
    0000c06e 301 (0000c040) _transmitBuffer

    0000c080 302 (0000c080) _CpuTimer1
    0000c088 302 (0000c080) _CpuTimer2
    0000c090 302 (0000c080) _CpuTimer0

    0033956c ce55 (00339540) _PieVectTableInit

    0033ff7f cffd (0033ff40) _flashChecksumValue

    0033fff8 cfff (0033ffc0) _CsmPwl

    00380090 e002 (00380080) _PartIdRegs


    GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name

    page address name
    ---- ------- ----
    0 00338000 .text
    0 00339464 C$$EXIT
    0 00339267 FS$$DIV
    0 0033873f _ADCINT_ISR
    0 00380080 _ADC_cal
    0 00338dde _AdcHealthCheckTest
    1 00000b00 _AdcMirror
    1 00007100 _AdcRegs
    0 003391c7 _AdcSetupandCalibrate
    0 00339330 _ConfigCpuTimer
    0 00338f3b _ConfigureDriveEnableSignals
    0 00338f4f _ConfigureDriveFaultIndicator
    1 0000c008 _Convertedpan
    1 0000c004 _Convertedtilt
    0 00338cbb _CpuHealthTest
    1 0000c090 _CpuTimer0
    1 00000c00 _CpuTimer0Regs
    1 0000c080 _CpuTimer1
    1 00000c08 _CpuTimer1Regs
    1 0000c088 _CpuTimer2
    1 00000c10 _CpuTimer2Regs
    1 0033fff8 _CsmPwl
    1 00000ae0 _CsmRegs
    0 00339024 _CsmUnlock
    0 0033866d _DATALOG_ISR
    0 00338861 _DINTCH1_ISR
    0 0033886b _DINTCH2_ISR
    0 00338875 _DINTCH3_ISR
    0 0033887f _DINTCH4_ISR
    0 00338889 _DINTCH5_ISR
    0 00338893 _DINTCH6_ISR
    0 0000801b _DSP28x_usDelay
    1 00000880 _DevEmuRegs
    0 00338f70 _DisableDog
    1 00001000 _DmaRegs
    0 003388ed _ECAN0INTA_ISR
    0 00338901 _ECAN0INTB_ISR
    0 003388f7 _ECAN1INTA_ISR
    0 0033890b _ECAN1INTB_ISR
    0 003387d5 _ECAP1_INT_ISR
    0 003387df _ECAP2_INT_ISR
    0 003387e9 _ECAP3_INT_ISR
    0 003387f3 _ECAP4_INT_ISR
    0 003387fd _ECAP5_INT_ISR
    0 00338807 _ECAP6_INT_ISR
    1 00006040 _ECanaLAMRegs
    1 000060c0 _ECanaMOTORegs
    1 00006080 _ECanaMOTSRegs
    1 00006100 _ECanaMboxes
    1 00006000 _ECanaRegs
    1 00006240 _ECanbLAMRegs
    1 000062c0 _ECanbMOTORegs
    1 00006280 _ECanbMOTSRegs
    1 00006300 _ECanbMboxes
    1 00006200 _ECanbRegs
    1 00006a00 _ECap1Regs
    1 00006a20 _ECap2Regs
    1 00006a40 _ECap3Regs
    1 00006a60 _ECap4Regs
    1 00006a80 _ECap5Regs
    1 00006aa0 _ECap6Regs
    0 00338681 _EMUINT_ISR
    0 00338799 _EPWM1_INT_ISR
    0 0033875d _EPWM1_TZINT_ISR
    0 003387a3 _EPWM2_INT_ISR
    0 00338767 _EPWM2_TZINT_ISR
    0 003387ad _EPWM3_INT_ISR
    0 00338771 _EPWM3_TZINT_ISR
    0 003387b7 _EPWM4_INT_ISR
    0 0033877b _EPWM4_TZINT_ISR
    0 003387c1 _EPWM5_INT_ISR
    0 00338785 _EPWM5_TZINT_ISR
    0 003387cb _EPWM6_INT_ISR
    0 0033878f _EPWM6_TZINT_ISR
    1 00006800 _EPwm1Regs
    1 00006840 _EPwm2Regs
    1 00006880 _EPwm3Regs
    1 000068c0 _EPwm4Regs
    1 00006900 _EPwm5Regs
    1 00006940 _EPwm6Regs
    0 00338811 _EQEP1_INT_ISR
    0 0033881b _EQEP2_INT_ISR
    1 00006b00 _EQep1Regs
    1 00006b40 _EQep2Regs
    0 003394ac _EnableInterrupts
    0 0033899b _Fail
    1 0000c034 _FaultFlag
    0 00338dba _FlashChecksumTest
    1 00000a80 _FlashRegs
    1 00006f80 _GpioCtrlRegs
    1 00006fc0 _GpioDataRegs
    1 00006fe0 _GpioIntRegs
    0 0033889d _I2CINT1A_ISR
    0 003388a7 _I2CINT2A_ISR
    1 00007900 _I2caRegs
    0 00338695 _ILLEGAL_ISR
    0 00338659 _INT13_ISR
    0 00338663 _INT14_ISR
    0 00339530 _InitAdc
    0 003392ef _InitCpuTimers
    0 0033936a _InitECap
    0 00339378 _InitECap1Gpio
    0 00339386 _InitECap2Gpio
    0 00339392 _InitECap3Gpio
    0 0033939e _InitECap4Gpio
    0 003393aa _InitECap5Gpio
    0 003393b8 _InitECap6Gpio
    0 0033936b _InitECapGpio
    0 0033896f _InitECapture
    0 00339055 _InitEPwm
    0 00338e2b _InitEPwm1
    0 00339063 _InitEPwm1Gpio
    0 00338e51 _InitEPwm2
    0 00339075 _InitEPwm2Gpio
    0 00338e77 _InitEPwm3
    0 00339087 _InitEPwm3Gpio
    0 00338e9d _InitEPwm4
    0 0033909b _InitEPwm4Gpio
    0 003390af _InitEPwm5Gpio
    0 003390c1 _InitEPwm6Gpio
    0 00339056 _InitEPwmGpio
    0 003390d3 _InitEPwmSyncGpio
    0 00008000 _InitFlash
    0 00338fc9 _InitPeripheralClocks
    0 0033948d _InitPieCtrl
    0 003394d9 _InitPieVectTable
    0 00338f78 _InitPll
    0 0033941c _InitSci
    0 0033941d _InitSciGpio
    0 00339424 _InitSciaGpio
    0 0033943a _InitScibGpio
    0 0033944e _InitScicGpio
    0 00338f5d _InitSysCtrl
    0 003390e7 _InitTzGpio
    0 00338951 _LUF_ISR
    0 00338947 _LVF_ISR
    0 0033884d _MRINTA_ISR
    0 00338839 _MRINTB_ISR
    0 00338857 _MXINTA_ISR
    0 00338843 _MXINTB_ISR
    1 00005000 _McbspaRegs
    1 00005040 _McbspbRegs
    0 00339544 _MemCopy
    0 0033868b _NMI_ISR
    0 0033895b _PIE_RESERVED
    1 00380090 _PartIdRegs
    1 00000ce0 _PieCtrlRegs
    1 00000d00 _PieVectTable
    0 0033956c _PieVectTableInit
    0 00338677 _RTOSINT_ISR
    0 00338d10 _RamCheckerPatternTest
    0 0032001f _RamfuncsLoadEnd
    0 00320000 _RamfuncsLoadStart
    0 00008000 _RamfuncsRunStart
    0 003388c5 _SCIRXINTA_ISR
    0 003388d9 _SCIRXINTB_ISR
    0 003388b1 _SCIRXINTC_ISR
    0 003388cf _SCITXINTA_ISR
    0 003388e3 _SCITXINTB_ISR
    0 003388bb _SCITXINTC_ISR
    0 00338717 _SEQ1INT_ISR
    0 00338721 _SEQ2INT_ISR
    0 00338825 _SPIRXINTA_ISR
    0 0033882f _SPITXINTA_ISR
    0 00338000 _SchedulerISR
    0 00338d7f _SciLoopbackTest
    0 0033911d _SciReceiveISR
    1 0000c060 _SciStatusFlag
    0 00339197 _SciTransmitISR
    0 00338b1e _SciaInit
    1 00007050 _SciaRegs
    1 00007750 _ScibRegs
    1 00007770 _ScicRegs
    0 00338c70 _SendFeedbackData
    0 00338f66 _ServiceDog
    1 00007040 _SpiaRegs
    1 00007010 _SysCtrlRegs
    0 00338749 _TINT0_ISR
    0 003386f9 _USER10_ISR
    0 00338703 _USER11_ISR
    0 0033870d _USER12_ISR
    0 0033869f _USER1_ISR
    0 003386a9 _USER2_ISR
    0 003386b3 _USER3_ISR
    0 003386bd _USER4_ISR
    0 003386c7 _USER5_ISR
    0 003386d1 _USER6_ISR
    0 003386db _USER7_ISR
    0 003386e5 _USER8_ISR
    0 003386ef _USER9_ISR
    0 00338ec3 _UpdateEPwmAtomiser1
    0 00338ed2 _UpdateEPwmAtomiser2
    0 00338ee1 _UpdateEPwmAtomiser3
    0 00338ef0 _UpdateEPwmAtomiser4
    0 00338eff _UpdateEPwmAtomiser5
    0 00338f0e _UpdateEPwmAtomiser6
    0 00338f1d _UpdateEPwmPump1
    0 00338f2c _UpdateEPwmPump2
    0 00338753 _WAKEINT_ISR
    0 0033872b _XINT1_ISR
    0 00338735 _XINT2_ISR
    0 00338915 _XINT3_ISR
    0 0033891f _XINT4_ISR
    0 00338929 _XINT5_ISR
    0 00338933 _XINT6_ISR
    0 0033893d _XINT7_ISR
    1 00007070 _XIntruptRegs
    1 00000b20 _XintfRegs
    1 00000700 __STACK_END
    abs 00000300 __STACK_SIZE
    1 0000c030 ___TI_cleanup_ptr
    1 0000c032 ___TI_dtors_ptr
    1 0000c02e ___TI_enable_exit_profile_output
    abs ffffffff ___TI_pprof_out_hndl
    abs ffffffff ___TI_prof_data_size
    abs ffffffff ___TI_prof_data_start
    abs ffffffff ___binit__
    abs ffffffff ___c_args__
    0 00339702 ___cinit__
    0 0033956b ___etext__
    abs ffffffff ___pinit__
    0 00338000 ___text__
    0 00339517 __args_main
    1 0000c036 __lock
    0 0033955f __nop
    0 0033955b __register_lock
    0 00339557 __register_unlock
    1 00000400 __stack
    0 0033956a __system_post_cinit
    0 00339568 __system_pre_init
    1 0000c038 __unlock
    0 00339464 _abort
    1 0000c040 _adcData
    0 003393c6 _c_int00
    0 003394b5 _copy_in
    0 00338640 _ecap1_isr
    1 0000c001 _errorCount
    0 00339466 _exit
    1 0000c035 _flashChecksum
    1 0033ff7f _flashChecksumValue
    0 0033899e _main
    0 003394f9 _memcpy
    1 0000c000 _noOfBytes
    1 0000c022 _panAxis
    1 0000c066 _receiveBuffer
    1 0000c05e _receivedFunctionCode
    0 00338965 _rsvd_ISR
    1 0000c00a _startAddress
    1 0000c002 _temp1
    1 0000c003 _temp2
    1 0000c006 _temp3
    1 0000c064 _tempCmd
    1 0000c062 _tempVal
    1 0000c016 _tiltAxis
    1 0000c06e _transmitBuffer
    1 0000c05f _transmitBufferSize
    1 0000c00c _voltageFbN
    abs ffffffff binit
    0 00339702 cinit
    0 0033fff6 code_start
    0 0033956b etext
    abs ffffffff pinit


    GLOBAL SYMBOLS: SORTED BY Symbol Address

    page address name
    ---- ------- ----
    0 00008000 _InitFlash
    0 00008000 _RamfuncsRunStart
    0 0000801b _DSP28x_usDelay
    0 00320000 _RamfuncsLoadStart
    0 0032001f _RamfuncsLoadEnd
    0 00338000 .text
    0 00338000 _SchedulerISR
    0 00338000 ___text__
    0 00338640 _ecap1_isr
    0 00338659 _INT13_ISR
    0 00338663 _INT14_ISR
    0 0033866d _DATALOG_ISR
    0 00338677 _RTOSINT_ISR
    0 00338681 _EMUINT_ISR
    0 0033868b _NMI_ISR
    0 00338695 _ILLEGAL_ISR
    0 0033869f _USER1_ISR
    0 003386a9 _USER2_ISR
    0 003386b3 _USER3_ISR
    0 003386bd _USER4_ISR
    0 003386c7 _USER5_ISR
    0 003386d1 _USER6_ISR
    0 003386db _USER7_ISR
    0 003386e5 _USER8_ISR
    0 003386ef _USER9_ISR
    0 003386f9 _USER10_ISR
    0 00338703 _USER11_ISR
    0 0033870d _USER12_ISR
    0 00338717 _SEQ1INT_ISR
    0 00338721 _SEQ2INT_ISR
    0 0033872b _XINT1_ISR
    0 00338735 _XINT2_ISR
    0 0033873f _ADCINT_ISR
    0 00338749 _TINT0_ISR
    0 00338753 _WAKEINT_ISR
    0 0033875d _EPWM1_TZINT_ISR
    0 00338767 _EPWM2_TZINT_ISR
    0 00338771 _EPWM3_TZINT_ISR
    0 0033877b _EPWM4_TZINT_ISR
    0 00338785 _EPWM5_TZINT_ISR
    0 0033878f _EPWM6_TZINT_ISR
    0 00338799 _EPWM1_INT_ISR
    0 003387a3 _EPWM2_INT_ISR
    0 003387ad _EPWM3_INT_ISR
    0 003387b7 _EPWM4_INT_ISR
    0 003387c1 _EPWM5_INT_ISR
    0 003387cb _EPWM6_INT_ISR
    0 003387d5 _ECAP1_INT_ISR
    0 003387df _ECAP2_INT_ISR
    0 003387e9 _ECAP3_INT_ISR
    0 003387f3 _ECAP4_INT_ISR
    0 003387fd _ECAP5_INT_ISR
    0 00338807 _ECAP6_INT_ISR
    0 00338811 _EQEP1_INT_ISR
    0 0033881b _EQEP2_INT_ISR
    0 00338825 _SPIRXINTA_ISR
    0 0033882f _SPITXINTA_ISR
    0 00338839 _MRINTB_ISR
    0 00338843 _MXINTB_ISR
    0 0033884d _MRINTA_ISR
    0 00338857 _MXINTA_ISR
    0 00338861 _DINTCH1_ISR
    0 0033886b _DINTCH2_ISR
    0 00338875 _DINTCH3_ISR
    0 0033887f _DINTCH4_ISR
    0 00338889 _DINTCH5_ISR
    0 00338893 _DINTCH6_ISR
    0 0033889d _I2CINT1A_ISR
    0 003388a7 _I2CINT2A_ISR
    0 003388b1 _SCIRXINTC_ISR
    0 003388bb _SCITXINTC_ISR
    0 003388c5 _SCIRXINTA_ISR
    0 003388cf _SCITXINTA_ISR
    0 003388d9 _SCIRXINTB_ISR
    0 003388e3 _SCITXINTB_ISR
    0 003388ed _ECAN0INTA_ISR
    0 003388f7 _ECAN1INTA_ISR
    0 00338901 _ECAN0INTB_ISR
    0 0033890b _ECAN1INTB_ISR
    0 00338915 _XINT3_ISR
    0 0033891f _XINT4_ISR
    0 00338929 _XINT5_ISR
    0 00338933 _XINT6_ISR
    0 0033893d _XINT7_ISR
    0 00338947 _LVF_ISR
    0 00338951 _LUF_ISR
    0 0033895b _PIE_RESERVED
    0 00338965 _rsvd_ISR
    0 0033896f _InitECapture
    0 0033899b _Fail
    0 0033899e _main
    0 00338b1e _SciaInit
    0 00338c70 _SendFeedbackData
    0 00338cbb _CpuHealthTest
    0 00338d10 _RamCheckerPatternTest
    0 00338d7f _SciLoopbackTest
    0 00338dba _FlashChecksumTest
    0 00338dde _AdcHealthCheckTest
    0 00338e2b _InitEPwm1
    0 00338e51 _InitEPwm2
    0 00338e77 _InitEPwm3
    0 00338e9d _InitEPwm4
    0 00338ec3 _UpdateEPwmAtomiser1
    0 00338ed2 _UpdateEPwmAtomiser2
    0 00338ee1 _UpdateEPwmAtomiser3
    0 00338ef0 _UpdateEPwmAtomiser4
    0 00338eff _UpdateEPwmAtomiser5
    0 00338f0e _UpdateEPwmAtomiser6
    0 00338f1d _UpdateEPwmPump1
    0 00338f2c _UpdateEPwmPump2
    0 00338f3b _ConfigureDriveEnableSignals
    0 00338f4f _ConfigureDriveFaultIndicator
    0 00338f5d _InitSysCtrl
    0 00338f66 _ServiceDog
    0 00338f70 _DisableDog
    0 00338f78 _InitPll
    0 00338fc9 _InitPeripheralClocks
    0 00339024 _CsmUnlock
    0 00339055 _InitEPwm
    0 00339056 _InitEPwmGpio
    0 00339063 _InitEPwm1Gpio
    0 00339075 _InitEPwm2Gpio
    0 00339087 _InitEPwm3Gpio
    0 0033909b _InitEPwm4Gpio
    0 003390af _InitEPwm5Gpio
    0 003390c1 _InitEPwm6Gpio
    0 003390d3 _InitEPwmSyncGpio
    0 003390e7 _InitTzGpio
    0 0033911d _SciReceiveISR
    0 00339197 _SciTransmitISR
    0 003391c7 _AdcSetupandCalibrate
    0 00339267 FS$$DIV
    0 003392ef _InitCpuTimers
    0 00339330 _ConfigCpuTimer
    0 0033936a _InitECap
    0 0033936b _InitECapGpio
    0 00339378 _InitECap1Gpio
    0 00339386 _InitECap2Gpio
    0 00339392 _InitECap3Gpio
    0 0033939e _InitECap4Gpio
    0 003393aa _InitECap5Gpio
    0 003393b8 _InitECap6Gpio
    0 003393c6 _c_int00
    0 0033941c _InitSci
    0 0033941d _InitSciGpio
    0 00339424 _InitSciaGpio
    0 0033943a _InitScibGpio
    0 0033944e _InitScicGpio
    0 00339464 C$$EXIT
    0 00339464 _abort
    0 00339466 _exit
    0 0033948d _InitPieCtrl
    0 003394ac _EnableInterrupts
    0 003394b5 _copy_in
    0 003394d9 _InitPieVectTable
    0 003394f9 _memcpy
    0 00339517 __args_main
    0 00339530 _InitAdc
    0 00339544 _MemCopy
    0 00339557 __register_unlock
    0 0033955b __register_lock
    0 0033955f __nop
    0 00339568 __system_pre_init
    0 0033956a __system_post_cinit
    0 0033956b ___etext__
    0 0033956b etext
    0 0033956c _PieVectTableInit
    0 00339702 ___cinit__
    0 00339702 cinit
    0 0033fff6 code_start
    0 00380080 _ADC_cal
    1 00000400 __stack
    1 00000700 __STACK_END
    1 00000880 _DevEmuRegs
    1 00000a80 _FlashRegs
    1 00000ae0 _CsmRegs
    1 00000b00 _AdcMirror
    1 00000b20 _XintfRegs
    1 00000c00 _CpuTimer0Regs
    1 00000c08 _CpuTimer1Regs
    1 00000c10 _CpuTimer2Regs
    1 00000ce0 _PieCtrlRegs
    1 00000d00 _PieVectTable
    1 00001000 _DmaRegs
    1 00005000 _McbspaRegs
    1 00005040 _McbspbRegs
    1 00006000 _ECanaRegs
    1 00006040 _ECanaLAMRegs
    1 00006080 _ECanaMOTSRegs
    1 000060c0 _ECanaMOTORegs
    1 00006100 _ECanaMboxes
    1 00006200 _ECanbRegs
    1 00006240 _ECanbLAMRegs
    1 00006280 _ECanbMOTSRegs
    1 000062c0 _ECanbMOTORegs
    1 00006300 _ECanbMboxes
    1 00006800 _EPwm1Regs
    1 00006840 _EPwm2Regs
    1 00006880 _EPwm3Regs
    1 000068c0 _EPwm4Regs
    1 00006900 _EPwm5Regs
    1 00006940 _EPwm6Regs
    1 00006a00 _ECap1Regs
    1 00006a20 _ECap2Regs
    1 00006a40 _ECap3Regs
    1 00006a60 _ECap4Regs
    1 00006a80 _ECap5Regs
    1 00006aa0 _ECap6Regs
    1 00006b00 _EQep1Regs
    1 00006b40 _EQep2Regs
    1 00006f80 _GpioCtrlRegs
    1 00006fc0 _GpioDataRegs
    1 00006fe0 _GpioIntRegs
    1 00007010 _SysCtrlRegs
    1 00007040 _SpiaRegs
    1 00007050 _SciaRegs
    1 00007070 _XIntruptRegs
    1 00007100 _AdcRegs
    1 00007750 _ScibRegs
    1 00007770 _ScicRegs
    1 00007900 _I2caRegs
    1 0000c000 _noOfBytes
    1 0000c001 _errorCount
    1 0000c002 _temp1
    1 0000c003 _temp2
    1 0000c004 _Convertedtilt
    1 0000c006 _temp3
    1 0000c008 _Convertedpan
    1 0000c00a _startAddress
    1 0000c00c _voltageFbN
    1 0000c016 _tiltAxis
    1 0000c022 _panAxis
    1 0000c02e ___TI_enable_exit_profile_output
    1 0000c030 ___TI_cleanup_ptr
    1 0000c032 ___TI_dtors_ptr
    1 0000c034 _FaultFlag
    1 0000c035 _flashChecksum
    1 0000c036 __lock
    1 0000c038 __unlock
    1 0000c040 _adcData
    1 0000c05e _receivedFunctionCode
    1 0000c05f _transmitBufferSize
    1 0000c060 _SciStatusFlag
    1 0000c062 _tempVal
    1 0000c064 _tempCmd
    1 0000c066 _receiveBuffer
    1 0000c06e _transmitBuffer
    1 0000c080 _CpuTimer1
    1 0000c088 _CpuTimer2
    1 0000c090 _CpuTimer0
    1 0033ff7f _flashChecksumValue
    1 0033fff8 _CsmPwl
    1 00380090 _PartIdRegs
    abs 00000300 __STACK_SIZE
    abs ffffffff ___TI_pprof_out_hndl
    abs ffffffff ___TI_prof_data_size
    abs ffffffff ___TI_prof_data_start
    abs ffffffff ___binit__
    abs ffffffff ___c_args__
    abs ffffffff ___pinit__
    abs ffffffff binit
    abs ffffffff pinit

    [262 symbols]

  • Thanks for the additional info. Is that memory browser screen shot before or after the memcpy? If it's after, there does seem to be a problem with it. The correct memory should say "1901    56C3    FFFF    0006"

    Don't see any issues with the map file.

    Whitney

  • After running the value is 1901 56C3 FFFF 0006. But still it is entering into the default ISR.


    Akhil
  • This link is still active right?
    it has been days since i got any reply.
  • Thanks for your patience. It sounds like the delay function is probably fine after all. We have some tips on debugging ITRAP issues on this page:

    processors.wiki.ti.com/.../Interrupt_FAQ_for_C2000

    Please check for signs of stack overflow and also pull the return address from the stack to see where it occurred.

    Whitney
  • How to cyheck for stack overflow? And i am using the delay function after all the settings, its just at the start of my very code.

    Akhil
  • To check for stack overflow I typically use the memory browser to fill the stack with with a pattern (all 0xFFFFs or something) and then run the application and see if the entire pattern was wiped out, suggesting the stack overflowed. You are right that this is unlikely to be the issue right at the start of your code.

    What about my other suggestion? Where you able to find the return address on the stack and see what function is corresponded to?

    Whitney

  • Hello Whitney,

    I am not sure on the return address of the stack. Could you guide me on where should i look?
  • This link is still active right ?
  • This page shows the context save convention which should help you figure out where on the stack you can find the return address:

    http://processors.wiki.ti.com/index.php/C28x_Context_Save_and_Restore

    Whitney