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.

TMS320C28346: I2C EEPROM Boot Settings

Part Number: TMS320C28346
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Hi all,

I have been trying to boot from EEPROM using the same design from the C28346 Control Card, but with no success. I had a couple of questions...

1) I see on the control card schematics it has a note that the boot mode is I2C Timing 1, for devices with input frequencies between 24 and 48 MHz. But the control card uses a 20 MHz oscillator. Shouldn't the boot mode then be timing 2, for devices between 12 and 24 MHz?

2) On the few posts on the forums concerning this subject, I see a lot of people using PSC values that seem to reflect a 300MHz clock (PSC=29=0x1D to divide 300MHz down to 10 MHz). But in the boot guide (SPRUFN5B), it never mentions activating the PLL. In fact, it looks like it divides the 20MHz crystal down to 10MHz. So shouldn't we set PSC=0 in the hex2000 utility as well, to match?

Thanks for taking a look at this! This has been a frustrating process, but it will be great when it works!
Matt

  • Matt

    1. Yes, use timing 2
    2. Assuming you're using the bootloader upon reset (not calling from application), PLL won't be enabled. Yeah I'd set it to 0 in the hex2000 as well.

    If you want to look at the bootloader source code, it is in C2000Ware.

    Best regards
    Chris
  • Hi Chris,

    Thank you for the confirmation. It appears that those settings do make the bootloader work - if I probe the I2C line on startup, I watch the data flow for about 4 seconds, and then it stops. Before, I would see the controller reset about every 4 seconds, as I assume there was an error in the bootloading process from the inaccurate timing.

    Unfortunately, my program still doesn't execute. I can tell because there's no data transmission over SPI to the other device on my board. Would you happen to know of any common reason why people have trouble here?

    The only thing I can think of is that it might be how my code is organized in memory. I'm going to post the .map files, first from the hex2000 utility, and then from the linker when I'm building the project in CCS for debugging. Do you see anything concerning here?

    Thanks for your time, I really appreciate the help!
    Matt

    ********************************************************************************
    TMS320C2000 Hex Converter                                                v17.6.0
    ********************************************************************************
    
    INPUT FILE NAME: <HEIST_FOC_Continuous_SVPWM_Hardware.out>
    OUTPUT FORMAT:   ASCII-Hex
    
    PHYSICAL MEMORY PARAMETERS
       Default data width   :  16
       Default memory width :   8 (LS-->MS)
       Default output width :   8
    
    BOOT LOADER PARAMETERS
       Table Type:		  SERIAL PORT 
       Entry Point:		  0x003021a8
    
    
    OUTPUT TRANSLATION MAP
    --------------------------------------------------------------------------------
    00000000..003fffff  Page=0  Memory Width=8  ROM Width=8
    --------------------------------------------------------------------------------
       OUTPUT FILES: HEIST_FOC_Continuous_SVPWM_Hardware.a00 [b0..b7]
    
       CONTENTS: 00000000..000050a9   BOOT TABLE
                                .text : dest=00300000  size=0x2418  width=00000002
                               .cinit : dest=00302418  size=0x2b6  width=00000002
                              .econst : dest=000088da  size=0x166  width=00000002
                            codestart : dest=00000000  size=0x2  width=00000002
                             ramfuncs : dest=003026ce  size=0x4  width=00000002
    
    --------------------------------------------------------------------------------
    00000000..003fffff  Page=1  Memory Width=8  ROM Width=8  "*DEFAULT PAGE 1*"
    --------------------------------------------------------------------------------
       NO CONTENTS

    ******************************************************************************
                 TMS320C2000 Linker PC v17.6.0                     
    ******************************************************************************
    >> Linked Thu Mar  1 19:07:10 2018
    
    OUTPUT FILE NAME:   <HEIST_FOC_Continuous_SVPWM_Hardware.out>
    ENTRY POINT SYMBOL: "_c_int00"  address: 003021a8
    
    
    MEMORY CONFIGURATION
    
             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
    PAGE 0:
      BEGINRAM              00000000   00000002  00000002  00000000  RWIX
      RAMM0M1               00000052   000007ae  00000200  000005ae  RWIX
      RAML0L7               00008000   00010000  00000a40  0000f5c0  RWIX
      ZONE7A                00200000   0000fc00  00000000  0000fc00  RWIX
      RAMH0H5               00300000   00030000  000026d2  0002d92e  RWIX
      CSM_RSVD              0033ff80   00000076  00000000  00000076  RWIX
      CSM_PWL_PROG          0033fff8   00000008  00000000  00000008  RWIX
      IQTABLES              003fe000   00000b50  00000000  00000b50  RWIX
      IQTABLES2             003feb50   0000008c  00000000  0000008c  RWIX
      FPUTABLES             003febdc   000006a0  00000000  000006a0  RWIX
      BOOTRAM               003ff27c   00000d44  00000000  00000d44  RWIX
      RESET                 003fffc0   00000002  00000000  00000002  RWIX
    
    PAGE 1:
      BOOTRSVD              00000002   00000050  00000000  00000050  RWIX
      DEV_EMU               00000880   00000180  000000d0  000000b0  RWIX
      CSM                   00000ae0   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
      EPWM9                 00006600   00000022  00000022  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
      EPWM7                 00006980   00000022  00000022  00000000  RWIX
      EPWM8                 000069c0   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
      EQEP3                 00006b80   00000040  00000040  00000000  RWIX
      GPIOCTRL              00006f80   00000040  0000002e  00000012  RWIX
      GPIODAT               00006fc0   00000020  00000020  00000000  RWIX
      GPIOINT               00006fe0   00000020  0000000a  00000016  RWIX
      SYSTEM                00007010   00000021  00000020  00000001  RWIX
      SPIA                  00007040   00000010  00000010  00000000  RWIX
      SCIA                  00007050   00000010  00000010  00000000  RWIX
      XINTRUPT              00007070   00000010  00000010  00000000  RWIX
      SCIB                  00007750   00000010  00000010  00000000  RWIX
      SCIC                  00007770   00000010  00000010  00000000  RWIX
      SPID                  00007780   00000010  00000010  00000000  RWIX
      I2CA                  00007900   00000040  00000022  0000001e  RWIX
      ZONE7B                0020fc00   00000400  00000000  00000400  RWIX
      CSM_PWL               0033fff8   00000008  00000008  00000000  RWIX
    
    
    SECTION ALLOCATION MAP
    
     output                                  attributes/
    section   page    origin      length       input sections
    --------  ----  ----------  ----------   ----------------
    .text      0    00300000    00002418     
                      00300000    00001232     HEIST_FOC_Continuous_SVPWM_Hardware.obj (.text)
                      00301232    00000370     DSP2834x_DefaultIsr.obj (.text:retain)
                      003015a2    00000276     HEIST_FOC_Continuous_SVPWM_Hardware.obj (.text:retain)
                      00301818    000001d2     DSP2834x_Xintf.obj (.text)
                      003019ea    0000012b     rts2800_fpu32.lib : e_logf.obj (.text)
                      00301b15    00000105     DSP2834x_SysCtrl.obj (.text)
                      00301c1a    000000d4     rts2800_fpu32.lib : e_atan2f.obj (.text)
                      00301cee    000000ce                       : e_fmodf.obj (.text)
                      00301dbc    000000cb                       : s_atanf.obj (.text)
                      00301e87    00000088                       : fs_div28.obj (.text)
                      00301f0f    00000070     MW_c28xx_board.obj (.text)
                      00301f7f    00000066     ert_main.obj (.text)
                      00301fe5    00000061     rts2800_fpu32.lib : s_cosf.obj (.text)
                      00302046    0000005d     rt_nonfinite.obj (.text)
                      003020a3    00000058     rts2800_fpu32.lib : s_sinf.obj (.text)
                      003020fb    00000057                       : s_floorf.obj (.text)
                      00302152    00000056     DSP2834x_CpuTimers.obj (.text)
                      003021a8    00000056     rts2800_fpu32.lib : boot28.obj (.text)
                      003021fe    00000048     rt_zcfcn.obj (.text)
                      00302246    00000044     c2834xSchedulerTimer0.obj (.text:retain)
                      0030228a    00000042     c2834xSchedulerTimer0.obj (.text)
                      003022cc    0000002d     MW_c28xx_i2c.obj (.text)
                      003022f9    00000029     rts2800_fpu32.lib : exit.obj (.text)
                      00302322    00000028     DSP2834x_PieCtrl.obj (.text)
                      0030234a    00000024     rts2800_fpu32.lib : cpy_tbl.obj (.text)
                      0030236e    0000001e                       : memcpy.obj (.text)
                      0030238c    00000019                       : args_main.obj (.text)
                      003023a5    00000018     rtGetInf.obj (.text)
                      003023bd    00000012     MW_c28xx_pwm.obj (.text)
                      003023cf    00000011     DSP2834x_PieVect.obj (.text)
                      003023e0    0000000d     rtGetNaN.obj (.text)
                      003023ed    00000009     rts2800_fpu32.lib : _lock.obj (.text)
                      003023f6    00000008     DSP2834x_CodeStartBranch.obj (.text)
                      003023fe    00000007     c2834xBoard_Realtime_Support.obj (.text)
                      00302405    00000007     u16bitByteswap_wrapper.obj (.text)
                      0030240c    00000003     ADC_AD7606_CURRENT_wrapper.obj (.text)
                      0030240f    00000003     SPI_CURRENT1_TO_SUPER_TRANSMIT_wrapper.obj (.text)
                      00302412    00000003     SPI_GUI_VALUES_wrapper.obj (.text)
                      00302415    00000002     rts2800_fpu32.lib : pre_init.obj (.text)
                      00302417    00000001                       : startup.obj (.text)
    
    .bss       0    00008000    00000000     UNINITIALIZED
    
    .ebss      0    00008000    000008da     UNINITIALIZED
                      00008000    000007a8     HEIST_FOC_Continuous_SVPWM_Hardware.obj (.ebss)
                      000087a8    00000018     DSP2834x_CpuTimers.obj (.ebss)
                      000087c0    000000fc     HEIST_FOC_Continuous_SVPWM_Hardware_data.obj (.ebss)
                      000088bc    00000002     rts2800_fpu32.lib : _lock.obj (.ebss:__lock)
                      000088be    00000002                       : _lock.obj (.ebss:__unlock)
                      000088c0    0000000c     rt_nonfinite.obj (.ebss)
                      000088cc    00000007     ert_main.obj (.ebss)
                      000088d3    00000001     rts2800_fpu32.lib : errno.obj (.ebss)
                      000088d4    00000006                       : exit.obj (.ebss)
    
    .cinit     0    00302418    000002b6     
                      00302418    00000189     HEIST_FOC_Continuous_SVPWM_Hardware.obj (.cinit)
                      003025a1    000000ff     HEIST_FOC_Continuous_SVPWM_Hardware_data.obj (.cinit)
                      003026a0    00000010     ert_main.obj (.cinit)
                      003026b0    0000000e     rts2800_fpu32.lib : exit.obj (.cinit)
                      003026be    00000005                       : _lock.obj (.cinit:__lock)
                      003026c3    00000005                       : _lock.obj (.cinit:__unlock)
                      003026c8    00000004                       : errno.obj (.cinit)
                      003026cc    00000002     --HOLE-- [fill = 0]
    
    .pinit     0    00300000    00000000     UNINITIALIZED
    
    .econst    0    000088da    00000166     
                      000088da    00000100     DSP2834x_PieVect.obj (.econst:_PieVectTableInit)
                      000089da    00000012     HEIST_FOC_Continuous_SVPWM_Hardware.obj (.econst:.string)
                      000089ec    00000010     rt_zcfcn.obj (.econst:_eventMatrix$1)
                      000089fc    00000010     rts2800_fpu32.lib : e_logf.obj (.econst)
                      00008a0c    0000000c                       : e_atan2f.obj (.econst)
                      00008a18    0000000a                       : s_atanf.obj (.econst:_aT)
                      00008a22    00000008                       : s_atanf.obj (.econst:_atanhi)
                      00008a2a    00000008                       : s_atanf.obj (.econst:_atanlo)
                      00008a32    00000004                       : e_fmodf.obj (.econst:_Zero)
                      00008a36    00000004                       : s_atanf.obj (.econst)
                      00008a3a    00000002     HEIST_FOC_Continuous_SVPWM_Hardware.obj (.econst)
                      00008a3c    00000002     rts2800_fpu32.lib : e_fmodf.obj (.econst)
                      00008a3e    00000002                       : s_floorf.obj (.econst)
    
    .reset     0    003fffc0    00000002     DSECT
                      003fffc0    00000002     rts2800_fpu32.lib : boot28.obj (.reset)
    
    .data      0    00008000    00000000     UNINITIALIZED
    
    .stack     0    00000052    00000200     UNINITIALIZED
                      00000052    00000200     --HOLE--
    
    codestart 
    *          0    00000000    00000002     
                      00000000    00000002     DSP2834x_CodeStartBranch.obj (codestart)
    
    ramfuncs   0    003026ce    00000004     
                      003026ce    00000004     DSP2834x_usDelay.obj (ramfuncs)
    
    DevEmuRegsFile 
    *          1    00000880    000000d0     UNINITIALIZED
                      00000880    000000d0     DSP2834x_GlobalVariableDefs.obj (DevEmuRegsFile)
    
    CsmRegsFile 
    *          1    00000ae0    00000010     UNINITIALIZED
                      00000ae0    00000010     DSP2834x_GlobalVariableDefs.obj (CsmRegsFile)
    
    XintfRegsFile 
    *          1    00000b20    0000001e     UNINITIALIZED
                      00000b20    0000001e     DSP2834x_GlobalVariableDefs.obj (XintfRegsFile)
    
    CpuTimer0RegsFile 
    *          1    00000c00    00000008     UNINITIALIZED
                      00000c00    00000008     DSP2834x_GlobalVariableDefs.obj (CpuTimer0RegsFile)
    
    CpuTimer1RegsFile 
    *          1    00000c08    00000008     UNINITIALIZED
                      00000c08    00000008     DSP2834x_GlobalVariableDefs.obj (CpuTimer1RegsFile)
    
    CpuTimer2RegsFile 
    *          1    00000c10    00000008     UNINITIALIZED
                      00000c10    00000008     DSP2834x_GlobalVariableDefs.obj (CpuTimer2RegsFile)
    
    PieCtrlRegsFile 
    *          1    00000ce0    0000001a     UNINITIALIZED
                      00000ce0    0000001a     DSP2834x_GlobalVariableDefs.obj (PieCtrlRegsFile)
    
    PieVectTableFile 
    *          1    00000d00    00000100     UNINITIALIZED
                      00000d00    00000100     DSP2834x_GlobalVariableDefs.obj (PieVectTableFile)
    
    DmaRegsFile 
    *          1    00001000    000000e0     UNINITIALIZED
                      00001000    000000e0     DSP2834x_GlobalVariableDefs.obj (DmaRegsFile)
    
    McbspaRegsFile 
    *          1    00005000    00000025     UNINITIALIZED
                      00005000    00000025     DSP2834x_GlobalVariableDefs.obj (McbspaRegsFile)
    
    McbspbRegsFile 
    *          1    00005040    00000025     UNINITIALIZED
                      00005040    00000025     DSP2834x_GlobalVariableDefs.obj (McbspbRegsFile)
    
    ECanaRegsFile 
    *          1    00006000    00000034     UNINITIALIZED
                      00006000    00000034     DSP2834x_GlobalVariableDefs.obj (ECanaRegsFile)
    
    ECanaLAMRegsFile 
    *          1    00006040    00000040     UNINITIALIZED
                      00006040    00000040     DSP2834x_GlobalVariableDefs.obj (ECanaLAMRegsFile)
    
    ECanaMOTSRegsFile 
    *          1    00006080    00000040     UNINITIALIZED
                      00006080    00000040     DSP2834x_GlobalVariableDefs.obj (ECanaMOTSRegsFile)
    
    ECanaMOTORegsFile 
    *          1    000060c0    00000040     UNINITIALIZED
                      000060c0    00000040     DSP2834x_GlobalVariableDefs.obj (ECanaMOTORegsFile)
    
    ECanaMboxesFile 
    *          1    00006100    00000100     UNINITIALIZED
                      00006100    00000100     DSP2834x_GlobalVariableDefs.obj (ECanaMboxesFile)
    
    ECanbRegsFile 
    *          1    00006200    00000034     UNINITIALIZED
                      00006200    00000034     DSP2834x_GlobalVariableDefs.obj (ECanbRegsFile)
    
    ECanbLAMRegsFile 
    *          1    00006240    00000040     UNINITIALIZED
                      00006240    00000040     DSP2834x_GlobalVariableDefs.obj (ECanbLAMRegsFile)
    
    ECanbMOTSRegsFile 
    *          1    00006280    00000040     UNINITIALIZED
                      00006280    00000040     DSP2834x_GlobalVariableDefs.obj (ECanbMOTSRegsFile)
    
    ECanbMOTORegsFile 
    *          1    000062c0    00000040     UNINITIALIZED
                      000062c0    00000040     DSP2834x_GlobalVariableDefs.obj (ECanbMOTORegsFile)
    
    ECanbMboxesFile 
    *          1    00006300    00000100     UNINITIALIZED
                      00006300    00000100     DSP2834x_GlobalVariableDefs.obj (ECanbMboxesFile)
    
    EPwm9RegsFile 
    *          1    00006600    00000022     UNINITIALIZED
                      00006600    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm9RegsFile)
    
    EPwm1RegsFile 
    *          1    00006800    00000022     UNINITIALIZED
                      00006800    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm1RegsFile)
    
    EPwm2RegsFile 
    *          1    00006840    00000022     UNINITIALIZED
                      00006840    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm2RegsFile)
    
    EPwm3RegsFile 
    *          1    00006880    00000022     UNINITIALIZED
                      00006880    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm3RegsFile)
    
    EPwm4RegsFile 
    *          1    000068c0    00000022     UNINITIALIZED
                      000068c0    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm4RegsFile)
    
    EPwm5RegsFile 
    *          1    00006900    00000022     UNINITIALIZED
                      00006900    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm5RegsFile)
    
    EPwm6RegsFile 
    *          1    00006940    00000022     UNINITIALIZED
                      00006940    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm6RegsFile)
    
    EPwm7RegsFile 
    *          1    00006980    00000022     UNINITIALIZED
                      00006980    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm7RegsFile)
    
    EPwm8RegsFile 
    *          1    000069c0    00000022     UNINITIALIZED
                      000069c0    00000022     DSP2834x_GlobalVariableDefs.obj (EPwm8RegsFile)
    
    ECap1RegsFile 
    *          1    00006a00    00000020     UNINITIALIZED
                      00006a00    00000020     DSP2834x_GlobalVariableDefs.obj (ECap1RegsFile)
    
    ECap2RegsFile 
    *          1    00006a20    00000020     UNINITIALIZED
                      00006a20    00000020     DSP2834x_GlobalVariableDefs.obj (ECap2RegsFile)
    
    ECap3RegsFile 
    *          1    00006a40    00000020     UNINITIALIZED
                      00006a40    00000020     DSP2834x_GlobalVariableDefs.obj (ECap3RegsFile)
    
    ECap4RegsFile 
    *          1    00006a60    00000020     UNINITIALIZED
                      00006a60    00000020     DSP2834x_GlobalVariableDefs.obj (ECap4RegsFile)
    
    ECap5RegsFile 
    *          1    00006a80    00000020     UNINITIALIZED
                      00006a80    00000020     DSP2834x_GlobalVariableDefs.obj (ECap5RegsFile)
    
    ECap6RegsFile 
    *          1    00006aa0    00000020     UNINITIALIZED
                      00006aa0    00000020     DSP2834x_GlobalVariableDefs.obj (ECap6RegsFile)
    
    EQep1RegsFile 
    *          1    00006b00    00000040     UNINITIALIZED
                      00006b00    00000040     DSP2834x_GlobalVariableDefs.obj (EQep1RegsFile)
    
    EQep2RegsFile 
    *          1    00006b40    00000040     UNINITIALIZED
                      00006b40    00000040     DSP2834x_GlobalVariableDefs.obj (EQep2RegsFile)
    
    EQep3RegsFile 
    *          1    00006b80    00000040     UNINITIALIZED
                      00006b80    00000040     DSP2834x_GlobalVariableDefs.obj (EQep3RegsFile)
    
    GpioCtrlRegsFile 
    *          1    00006f80    0000002e     UNINITIALIZED
                      00006f80    0000002e     DSP2834x_GlobalVariableDefs.obj (GpioCtrlRegsFile)
    
    GpioDataRegsFile 
    *          1    00006fc0    00000020     UNINITIALIZED
                      00006fc0    00000020     DSP2834x_GlobalVariableDefs.obj (GpioDataRegsFile)
    
    GpioIntRegsFile 
    *          1    00006fe0    0000000a     UNINITIALIZED
                      00006fe0    0000000a     DSP2834x_GlobalVariableDefs.obj (GpioIntRegsFile)
    
    SysCtrlRegsFile 
    *          1    00007010    00000020     UNINITIALIZED
                      00007010    00000020     DSP2834x_GlobalVariableDefs.obj (SysCtrlRegsFile)
    
    SpiaRegsFile 
    *          1    00007040    00000010     UNINITIALIZED
                      00007040    00000010     DSP2834x_GlobalVariableDefs.obj (SpiaRegsFile)
    
    SciaRegsFile 
    *          1    00007050    00000010     UNINITIALIZED
                      00007050    00000010     DSP2834x_GlobalVariableDefs.obj (SciaRegsFile)
    
    XIntruptRegsFile 
    *          1    00007070    00000010     UNINITIALIZED
                      00007070    00000010     DSP2834x_GlobalVariableDefs.obj (XIntruptRegsFile)
    
    ScibRegsFile 
    *          1    00007750    00000010     UNINITIALIZED
                      00007750    00000010     DSP2834x_GlobalVariableDefs.obj (ScibRegsFile)
    
    ScicRegsFile 
    *          1    00007770    00000010     UNINITIALIZED
                      00007770    00000010     DSP2834x_GlobalVariableDefs.obj (ScicRegsFile)
    
    SpidRegsFile 
    *          1    00007780    00000010     UNINITIALIZED
                      00007780    00000010     DSP2834x_GlobalVariableDefs.obj (SpidRegsFile)
    
    I2caRegsFile 
    *          1    00007900    00000022     UNINITIALIZED
                      00007900    00000022     DSP2834x_GlobalVariableDefs.obj (I2caRegsFile)
    
    CsmPwlFile 
    *          1    0033fff8    00000008     UNINITIALIZED
                      0033fff8    00000008     DSP2834x_GlobalVariableDefs.obj (CsmPwlFile)
    
    MODULE SUMMARY
    
           Module                                         code   initialized data   uninitialized data
           ------                                         ----   ----------------   ------------------
        .\
           HEIST_FOC_Continuous_SVPWM_Hardware.obj        5288   413                1960              
           DSP2834x_GlobalVariableDefs.obj                0      0                  2806              
           DSP2834x_DefaultIsr.obj                        880    0                  0                 
           HEIST_FOC_Continuous_SVPWM_Hardware_data.obj   0      255                252               
           DSP2834x_Xintf.obj                             466    0                  0                 
           DSP2834x_PieVect.obj                           17     256                0                 
           DSP2834x_SysCtrl.obj                           261    0                  0                 
           c2834xSchedulerTimer0.obj                      134    0                  0                 
           ert_main.obj                                   102    16                 7                 
           MW_c28xx_board.obj                             112    0                  0                 
           DSP2834x_CpuTimers.obj                         86     0                  24                
           rt_nonfinite.obj                               93     0                  12                
           rt_zcfcn.obj                                   72     16                 0                 
           MW_c28xx_i2c.obj                               45     0                  0                 
           DSP2834x_PieCtrl.obj                           40     0                  0                 
           rtGetInf.obj                                   24     0                  0                 
           MW_c28xx_pwm.obj                               18     0                  0                 
           rtGetNaN.obj                                   13     0                  0                 
           DSP2834x_CodeStartBranch.obj                   10     0                  0                 
           c2834xBoard_Realtime_Support.obj               7      0                  0                 
           u16bitByteswap_wrapper.obj                     7      0                  0                 
           DSP2834x_usDelay.obj                           4      0                  0                 
           ADC_AD7606_CURRENT_wrapper.obj                 3      0                  0                 
           SPI_CURRENT1_TO_SUPER_TRANSMIT_wrapper.obj     3      0                  0                 
           SPI_GUI_VALUES_wrapper.obj                     3      0                  0                 
        +--+----------------------------------------------+------+------------------+--------------------+
           Total:                                         7688   956                5061              
                                                                                                      
        C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/lib/rts2800_fpu32.lib
           e_logf.obj                                     299    16                 0                 
           s_atanf.obj                                    203    30                 0                 
           e_atan2f.obj                                   212    12                 0                 
           e_fmodf.obj                                    206    6                  0                 
           fs_div28.obj                                   136    0                  0                 
           s_cosf.obj                                     97     0                  0                 
           s_floorf.obj                                   87     2                  0                 
           s_sinf.obj                                     88     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                 
           errno.obj                                      0      4                  1                 
           pre_init.obj                                   2      0                  0                 
           startup.obj                                    1      0                  0                 
        +--+----------------------------------------------+------+------------------+--------------------+
           Total:                                         1558   94                 11                
                                                                                                      
           Stack:                                         0      0                  512               
        +--+----------------------------------------------+------+------------------+--------------------+
           Grand Total:                                   9246   1050               5584              
    
    
    GLOBAL DATA SYMBOLS: SORTED BY DATA PAGE
    
    address     data page           name
    --------    ----------------    ----
    00000052       1 (00000040)     __stack
    
    00000880      22 (00000880)     _DevEmuRegs
    
    00000ae0      2b (00000ac0)     _CsmRegs
    
    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
    
    00006600     198 (00006600)     _EPwm9Regs
    
    00006800     1a0 (00006800)     _EPwm1Regs
    
    00006840     1a1 (00006840)     _EPwm2Regs
    
    00006880     1a2 (00006880)     _EPwm3Regs
    
    000068c0     1a3 (000068c0)     _EPwm4Regs
    
    00006900     1a4 (00006900)     _EPwm5Regs
    
    00006940     1a5 (00006940)     _EPwm6Regs
    
    00006980     1a6 (00006980)     _EPwm7Regs
    
    000069c0     1a7 (000069c0)     _EPwm8Regs
    
    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
    
    00006b80     1ae (00006b80)     _EQep3Regs
    
    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
    
    00007750     1dd (00007740)     _ScibRegs
    00007770     1dd (00007740)     _ScicRegs
    
    00007780     1de (00007780)     _SpidRegs
    
    00007900     1e4 (00007900)     _I2caRegs
    
    00008000     200 (00008000)     _g_xint3Triggered
    00008001     200 (00008000)     _DTC_index
    00008002     200 (00008000)     _DTC_whichHalf
    00008004     200 (00008000)     _DTC_state
    00008005     200 (00008000)     _HEIST_FOC_Contin_PrevZCSigState
    00008006     200 (00008000)     _GuivalsToDcftsTxCircularBufferStart
    00008007     200 (00008000)     _Current1ToGuiTxCircularBufferEnd
    00008008     200 (00008000)     _Current1ToDcftsTxCircularBufferEnd
    00008009     200 (00008000)     _Current1ToDcftsTxCircularBufferStart
    0000800a     200 (00008000)     _STC_state
    0000800b     200 (00008000)     _STC_uint16FirstCheck
    0000800c     200 (00008000)     _Current1ToGuiTxCircularBufferStart
    0000800d     200 (00008000)     _GuivalsToDcftsTxCircularBufferEnd
    0000800e     200 (00008000)     _DTC_tmpFloat
    00008010     200 (00008000)     _CurrentMsgPtr
    00008012     200 (00008000)     _STC_floatPtr
    00008014     200 (00008000)     _STC_uint16ToSum
    00008018     200 (00008000)     _GuivalsToDcftsTxCircularBufferMemory
    0000802a     200 (00008000)     _I2cMsgIn1
    
    00008040     201 (00008040)     _I2cMsgOut1
    00008056     201 (00008040)     _Current1ToDcftsTxCircularBuffer
    
    00008080     202 (00008080)     _GuivalsToDcftsTxCircularBuffer
    00008098     202 (00008080)     _DTC_latchedValues
    
    000080c0     203 (000080c0)     _g_guiLatchedValues
    
    00008100     204 (00008100)     _HEIST_FOC_Continuous_SVPW_DWork
    
    00008180     206 (00008180)     _HEIST_FOC_Continuous_SVPWM_H_M_
    
    00008200     208 (00008200)     _Current1ToGuiTxCircularBuffer
    
    000082c0     20b (000082c0)     _HEIST_FOC_Continuous_SVPWM_Ha_B
    
    000083c0     20f (000083c0)     _Current1ToDcftsTxCircularBufferMemory
    
    00008500     214 (00008500)     _Current1ToGuiTxCircularBufferMemory
    
    000087a8     21e (00008780)     _CpuTimer1
    000087b0     21e (00008780)     _CpuTimer2
    000087b8     21e (00008780)     _CpuTimer0
    
    000087c0     21f (000087c0)     _HEIST_FOC_Continuous_SVPWM_Ha_P
    
    000088bc     222 (00008880)     __lock
    000088be     222 (00008880)     __unlock
    
    000088c0     223 (000088c0)     _rtMinusInf
    000088c2     223 (000088c0)     _rtInf
    000088c4     223 (000088c0)     _rtNaN
    000088c6     223 (000088c0)     _rtMinusInfF
    000088c8     223 (000088c0)     _rtInfF
    000088ca     223 (000088c0)     _rtNaNF
    000088cc     223 (000088c0)     _IsrOverrun
    000088cd     223 (000088c0)     _need2runFlags
    000088d0     223 (000088c0)     _isRateRunning
    000088d3     223 (000088c0)     _errno
    000088d4     223 (000088c0)     ___TI_enable_exit_profile_output
    000088d6     223 (000088c0)     ___TI_cleanup_ptr
    000088d8     223 (000088c0)     ___TI_dtors_ptr
    000088da     223 (000088c0)     _PieVectTableInit
    
    00008a3a     228 (00008a00)     _HEIST_FOC_Continuous_SVPWM_H_M
    
    0033fff8    cfff (0033ffc0)     _CsmPwl
    
    
    GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name 
    
    page  address   name                                                         
    ----  -------   ----                                                         
    0     00008000  .bss                                                         
    0     00008000  .data                                                        
    0     00300000  .text                                                        
    0     003022f9  C$$EXIT                                                      
    0     00301e87  FS$$DIV                                                      
    0     0030240c  _ADC_AD7606_CURRENT_Outputs_wrapper                          
    0     003011b7  _Ad7606Read                                                  
    0     003000c0  _CircularBufferCommitRead                                    
    0     00300074  _CircularBufferCommitWrite                                   
    0     003000b3  _CircularBufferGetPointerForRead                             
    0     00300060  _CircularBufferGetPointerForWrite                            
    0     00302185  _ConfigCpuTimer                                              
    0     003011b2  _CopyDtcLatchedValues                                        
    0     000087b8  _CpuTimer0                                                   
    1     00000c00  _CpuTimer0Regs                                               
    0     000087a8  _CpuTimer1                                                   
    1     00000c08  _CpuTimer1Regs                                               
    0     000087b0  _CpuTimer2                                                   
    1     00000c10  _CpuTimer2Regs                                               
    1     0033fff8  _CsmPwl                                                      
    1     00000ae0  _CsmRegs                                                     
    0     00301c00  _CsmUnlock                                                   
    0     00008056  _Current1ToDcftsTxCircularBuffer                             
    0     00008008  _Current1ToDcftsTxCircularBufferEnd                          
    0     000083c0  _Current1ToDcftsTxCircularBufferMemory                       
    0     00008009  _Current1ToDcftsTxCircularBufferStart                        
    0     00008200  _Current1ToGuiTxCircularBuffer                               
    0     00008007  _Current1ToGuiTxCircularBufferEnd                            
    0     00008500  _Current1ToGuiTxCircularBufferMemory                         
    0     0000800c  _Current1ToGuiTxCircularBufferStart                          
    0     00008010  _CurrentMsgPtr                                               
    0     00301595  _DATALOG_ISR                                                 
    0     0030158b  _DINTCH1_ISR                                                 
    0     00301581  _DINTCH2_ISR                                                 
    0     00301577  _DINTCH3_ISR                                                 
    0     0030156d  _DINTCH4_ISR                                                 
    0     00301563  _DINTCH5_ISR                                                 
    0     00301559  _DINTCH6_ISR                                                 
    0     003026ce  _DSP28x_usDelay                                              
    0     00008001  _DTC_index                                                   
    0     00008098  _DTC_latchedValues                                           
    0     00008004  _DTC_state                                                   
    0     0000800e  _DTC_tmpFloat                                                
    0     00008002  _DTC_whichHalf                                               
    1     00000880  _DevEmuRegs                                                  
    0     00301b1f  _DisableDog                                                  
    1     00001000  _DmaRegs                                                     
    0     0030154f  _ECAN0INTA_ISR                                               
    0     00301545  _ECAN0INTB_ISR                                               
    0     0030153b  _ECAN1INTA_ISR                                               
    0     00301531  _ECAN1INTB_ISR                                               
    0     00301527  _ECAP1_INT_ISR                                               
    0     0030151d  _ECAP2_INT_ISR                                               
    0     00301513  _ECAP3_INT_ISR                                               
    0     00301509  _ECAP4_INT_ISR                                               
    0     003014ff  _ECAP5_INT_ISR                                               
    0     003014f5  _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     003014e8  _EMUINT_ISR                                                  
    0     003014de  _EPWM1_INT_ISR                                               
    0     003014d4  _EPWM1_TZINT_ISR                                             
    0     003014ca  _EPWM2_INT_ISR                                               
    0     003014c0  _EPWM2_TZINT_ISR                                             
    0     003014b6  _EPWM3_INT_ISR                                               
    0     003014ac  _EPWM3_TZINT_ISR                                             
    0     003014a2  _EPWM4_INT_ISR                                               
    0     00301498  _EPWM4_TZINT_ISR                                             
    0     0030148e  _EPWM5_INT_ISR                                               
    0     00301484  _EPWM5_TZINT_ISR                                             
    0     0030147a  _EPWM6_INT_ISR                                               
    0     00301470  _EPWM6_TZINT_ISR                                             
    0     00301466  _EPWM7_INT_ISR                                               
    0     0030145c  _EPWM7_TZINT_ISR                                             
    0     00301452  _EPWM8_INT_ISR                                               
    0     00301448  _EPWM8_TZINT_ISR                                             
    0     0030143e  _EPWM9_INT_ISR                                               
    0     00301434  _EPWM9_TZINT_ISR                                             
    1     00006800  _EPwm1Regs                                                   
    1     00006840  _EPwm2Regs                                                   
    1     00006880  _EPwm3Regs                                                   
    1     000068c0  _EPwm4Regs                                                   
    1     00006900  _EPwm5Regs                                                   
    1     00006940  _EPwm6Regs                                                   
    1     00006980  _EPwm7Regs                                                   
    1     000069c0  _EPwm8Regs                                                   
    1     00006600  _EPwm9Regs                                                   
    0     0030142a  _EQEP1_INT_ISR                                               
    0     00301420  _EQEP2_INT_ISR                                               
    0     00301416  _EQEP3_INT_ISR                                               
    1     00006b00  _EQep1Regs                                                   
    1     00006b40  _EQep2Regs                                                   
    1     00006b80  _EQep3Regs                                                   
    0     00302341  _EnableInterrupts                                            
    0     003000c7  _Fletcher32                                                  
    0     003011ad  _GetGuiLatchedValues                                         
    1     00006f80  _GpioCtrlRegs                                                
    1     00006fc0  _GpioDataRegs                                                
    1     00006fe0  _GpioIntRegs                                                 
    0     00008080  _GuivalsToDcftsTxCircularBuffer                              
    0     0000800d  _GuivalsToDcftsTxCircularBufferEnd                           
    0     00008018  _GuivalsToDcftsTxCircularBufferMemory                        
    0     00008006  _GuivalsToDcftsTxCircularBufferStart                         
    0     00008005  _HEIST_FOC_Contin_PrevZCSigState                             
    0     00008a3a  _HEIST_FOC_Continuous_SVPWM_H_M                              
    0     00008180  _HEIST_FOC_Continuous_SVPWM_H_M_                             
    0     000082c0  _HEIST_FOC_Continuous_SVPWM_Ha_B                             
    0     000087c0  _HEIST_FOC_Continuous_SVPWM_Ha_P                             
    0     003011a4  _HEIST_FOC_Continuous_SVPWM_Hardware_SetEventsForThisBaseStep
    0     00300e5f  _HEIST_FOC_Continuous_SVPWM_Hardware_initialize              
    0     00300187  _HEIST_FOC_Continuous_SVPWM_Hardware_step0                   
    0     0030014c  _HEIST_FOC_Continuous_SVPWM_Hardware_step2                   
    0     0030014b  _HEIST_FOC_Continuous_SVPWM_Hardware_terminate               
    0     00008100  _HEIST_FOC_Continuous_SVPW_DWork                             
    0     00300126  _HEIST_FO_MattClarkTransform                                 
    0     0030140c  _I2CINT1A_ISR                                                
    0     00301402  _I2CINT2A_ISR                                                
    0     0000802a  _I2cMsgIn1                                                   
    0     00008040  _I2cMsgOut1                                                  
    1     00007900  _I2caRegs                                                    
    0     003013f5  _ILLEGAL_ISR                                                 
    0     003013e8  _INT13_ISR                                                   
    0     003013db  _INT14_ISR                                                   
    0     00302152  _InitCpuTimers                                               
    0     00301b8a  _InitPeripheralClocks                                        
    0     00302322  _InitPieCtrl                                                 
    0     003023cf  _InitPieVectTable                                            
    0     00301b27  _InitPll                                                     
    0     00301bf7  _InitSysCtrl                                                 
    0     00301983  _InitXintf                                                   
    0     00301818  _InitXintf16Gpio                                             
    0     003018e6  _InitXintf32Gpio                                             
    0     000088cc  _IsrOverrun                                                  
    0     003017ab  _IsrSpiaReceive                                              
    0     003016e8  _IsrSpiaSend                                                 
    0     00301648  _IsrSpidReceive                                              
    0     003015b7  _IsrSpidSend                                                 
    0     003013d1  _LUF_ISR                                                     
    0     003013c7  _LVF_ISR                                                     
    0     003013bd  _MRINTA_ISR                                                  
    0     003013b3  _MRINTB_ISR                                                  
    0     003013a9  _MXINTA_ISR                                                  
    0     0030139f  _MXINTB_ISR                                                  
    1     00005000  _McbspaRegs                                                  
    1     00005040  _McbspbRegs                                                  
    0     00301392  _NMI_ISR                                                     
    0     00301388  _PIE_RESERVED                                                
    1     00000ce0  _PieCtrlRegs                                                 
    1     00000d00  _PieVectTable                                                
    0     000088da  _PieVectTableInit                                            
    0     00300097  _QueueCtdValues                                              
    0     0030007b  _QueueCtsValues                                              
    0     0030137b  _RTOSINT_ISR                                                 
    0     00301371  _SCIRXINTA_ISR                                               
    0     00301367  _SCIRXINTB_ISR                                               
    0     0030135d  _SCIRXINTC_ISR                                               
    0     00301353  _SCITXINTA_ISR                                               
    0     00301349  _SCITXINTB_ISR                                               
    0     0030133f  _SCITXINTC_ISR                                               
    0     00301335  _SPIRXINTA_ISR                                               
    0     0030132b  _SPIRXINTD_ISR                                               
    0     00301321  _SPITXINTA_ISR                                               
    0     00301317  _SPITXINTD_ISR                                               
    0     0030240f  _SPI_CURRENT1_TO_SUPER_TRANSMIT_Outputs_wrapper              
    0     00302412  _SPI_GUI_VALUES_Outputs_wrapper                              
    0     00008012  _STC_floatPtr                                                
    0     0000800a  _STC_state                                                   
    0     0000800b  _STC_uint16FirstCheck                                        
    0     00008014  _STC_uint16ToSum                                             
    1     00007050  _SciaRegs                                                    
    1     00007750  _ScibRegs                                                    
    1     00007770  _ScicRegs                                                    
    0     00301b15  _ServiceDog                                                  
    1     00007040  _SpiaRegs                                                    
    1     00007780  _SpidRegs                                                    
    1     00007010  _SysCtrlRegs                                                 
    0     0030130d  _TINT0_ISR                                                   
    0     00302246  _TINT0_isr                                                   
    0     00301303  _USER10_ISR                                                  
    0     003012f9  _USER11_ISR                                                  
    0     003012ef  _USER12_ISR                                                  
    0     003012e2  _USER1_ISR                                                   
    0     003012d5  _USER2_ISR                                                   
    0     003012cb  _USER3_ISR                                                   
    0     003012c1  _USER4_ISR                                                   
    0     003012b7  _USER5_ISR                                                   
    0     003012ad  _USER6_ISR                                                   
    0     003012a3  _USER7_ISR                                                   
    0     00301299  _USER8_ISR                                                   
    0     0030128f  _USER9_ISR                                                   
    0     00301285  _WAKEINT_ISR                                                 
    0     0030127b  _XINT1_ISR                                                   
    0     00301271  _XINT2_ISR                                                   
    0     00301267  _XINT3_ISR                                                   
    0     003015a2  _XINT3_isr                                                   
    0     0030125d  _XINT4_ISR                                                   
    0     00301253  _XINT5_ISR                                                   
    0     00301249  _XINT6_ISR                                                   
    0     0030123f  _XINT7_ISR                                                   
    1     00007070  _XIntruptRegs                                                
    1     00000b20  _XintfRegs                                                   
    0     00000252  __STACK_END                                                  
    abs   00000200  __STACK_SIZE                                                 
    0     000088d6  ___TI_cleanup_ptr                                            
    0     000088d8  ___TI_dtors_ptr                                              
    0     000088d4  ___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__                                                   
    0     00008000  ___bss__                                                     
    abs   ffffffff  ___c_args__                                                  
    0     00302418  ___cinit__                                                   
    0     00008000  ___data__                                                    
    0     00008000  ___edata__                                                   
    0     00008000  ___end__                                                     
    0     00302418  ___etext__                                                   
    abs   ffffffff  ___pinit__                                                   
    0     00300000  ___text__                                                    
    0     0030238c  __args_main                                                  
    0     000088bc  __lock                                                       
    0     003023f5  __nop                                                        
    0     003023f1  __register_lock                                              
    0     003023ed  __register_unlock                                            
    0     00000052  __stack                                                      
    0     00302417  __system_post_cinit                                          
    0     00302415  __system_pre_init                                            
    0     000088be  __unlock                                                     
    0     003022f9  _abort                                                       
    0     00301dbc  _atan                                                        
    0     00301c1a  _atan2                                                       
    0     00301c1a  _atan2f                                                      
    0     00301dbc  _atanf                                                       
    0     003021a8  _c_int00                                                     
    0     003023bd  _config_ePWM_GPIO                                            
    0     003022a0  _configureTimer0                                             
    0     0030234a  _copy_in                                                     
    0     00301fe5  _cos                                                         
    0     00301fe5  _cosf                                                        
    0     00302292  _disableTimer0Interrupt                                      
    0     0030228a  _enableTimer0Interrupt                                       
    0     000088d3  _errno                                                       
    0     003022fb  _exit                                                        
    0     003020fb  _floor                                                       
    0     003020fb  _floorf                                                      
    0     00301cee  _fmod                                                        
    0     00301cee  _fmodf                                                       
    0     000080c0  _g_guiLatchedValues                                          
    0     00008000  _g_xint3Triggered                                            
    0     00302402  _globalInterruptDisable                                      
    0     003023fe  _globalInterruptEnable                                       
    0     003022e3  _init_I2C_A                                                  
    0     003022cc  _init_I2C_GPIO                                               
    0     00301f0f  _init_board                                                  
    0     000088d0  _isRateRunning                                               
    0     003019ea  _log                                                         
    0     003019ea  _logf                                                        
    0     00301fb6  _main                                                        
    0     0030236e  _memcpy                                                      
    0     000088cd  _need2runFlags                                               
    0     00301232  _rsvd_ISR                                                    
    0     003023ba  _rtGetInf                                                    
    0     003023b1  _rtGetInfF                                                   
    0     003023ae  _rtGetMinusInf                                               
    0     003023a5  _rtGetMinusInfF                                              
    0     003023ea  _rtGetNaN                                                    
    0     003023e0  _rtGetNaNF                                                   
    0     000088c2  _rtInf                                                       
    0     000088c8  _rtInfF                                                      
    0     00302090  _rtIsInf                                                     
    0     0030207d  _rtIsInfF                                                    
    0     00302074  _rtIsNaN                                                     
    0     0030206b  _rtIsNaNF                                                    
    0     000088c0  _rtMinusInf                                                  
    0     000088c6  _rtMinusInfF                                                 
    0     000088c4  _rtNaN                                                       
    0     000088ca  _rtNaNF                                                      
    0     00302046  _rt_InitInfAndNaN                                            
    0     00301f7f  _rt_OneStep                                                  
    0     003021fe  _rt_ZCFcn                                                    
    0     00300000  _rt_atan2f_snf                                               
    0     003020a3  _sin                                                         
    0     003020a3  _sinf                                                        
    0     00302405  _u16bitByteswap_Outputs_wrapper                              
    abs   ffffffff  binit                                                        
    0     00302418  cinit                                                        
    0     00000000  code_start                                                   
    0     00008000  edata                                                        
    0     00008000  end                                                          
    0     00302418  etext                                                        
    abs   ffffffff  pinit                                                        
    
    
    GLOBAL SYMBOLS: SORTED BY Symbol Address 
    
    page  address   name                                                         
    ----  -------   ----                                                         
    0     00000000  code_start                                                   
    0     00000052  __stack                                                      
    0     00000252  __STACK_END                                                  
    0     00008000  .bss                                                         
    0     00008000  .data                                                        
    0     00008000  ___bss__                                                     
    0     00008000  ___data__                                                    
    0     00008000  ___edata__                                                   
    0     00008000  ___end__                                                     
    0     00008000  _g_xint3Triggered                                            
    0     00008000  edata                                                        
    0     00008000  end                                                          
    0     00008001  _DTC_index                                                   
    0     00008002  _DTC_whichHalf                                               
    0     00008004  _DTC_state                                                   
    0     00008005  _HEIST_FOC_Contin_PrevZCSigState                             
    0     00008006  _GuivalsToDcftsTxCircularBufferStart                         
    0     00008007  _Current1ToGuiTxCircularBufferEnd                            
    0     00008008  _Current1ToDcftsTxCircularBufferEnd                          
    0     00008009  _Current1ToDcftsTxCircularBufferStart                        
    0     0000800a  _STC_state                                                   
    0     0000800b  _STC_uint16FirstCheck                                        
    0     0000800c  _Current1ToGuiTxCircularBufferStart                          
    0     0000800d  _GuivalsToDcftsTxCircularBufferEnd                           
    0     0000800e  _DTC_tmpFloat                                                
    0     00008010  _CurrentMsgPtr                                               
    0     00008012  _STC_floatPtr                                                
    0     00008014  _STC_uint16ToSum                                             
    0     00008018  _GuivalsToDcftsTxCircularBufferMemory                        
    0     0000802a  _I2cMsgIn1                                                   
    0     00008040  _I2cMsgOut1                                                  
    0     00008056  _Current1ToDcftsTxCircularBuffer                             
    0     00008080  _GuivalsToDcftsTxCircularBuffer                              
    0     00008098  _DTC_latchedValues                                           
    0     000080c0  _g_guiLatchedValues                                          
    0     00008100  _HEIST_FOC_Continuous_SVPW_DWork                             
    0     00008180  _HEIST_FOC_Continuous_SVPWM_H_M_                             
    0     00008200  _Current1ToGuiTxCircularBuffer                               
    0     000082c0  _HEIST_FOC_Continuous_SVPWM_Ha_B                             
    0     000083c0  _Current1ToDcftsTxCircularBufferMemory                       
    0     00008500  _Current1ToGuiTxCircularBufferMemory                         
    0     000087a8  _CpuTimer1                                                   
    0     000087b0  _CpuTimer2                                                   
    0     000087b8  _CpuTimer0                                                   
    0     000087c0  _HEIST_FOC_Continuous_SVPWM_Ha_P                             
    0     000088bc  __lock                                                       
    0     000088be  __unlock                                                     
    0     000088c0  _rtMinusInf                                                  
    0     000088c2  _rtInf                                                       
    0     000088c4  _rtNaN                                                       
    0     000088c6  _rtMinusInfF                                                 
    0     000088c8  _rtInfF                                                      
    0     000088ca  _rtNaNF                                                      
    0     000088cc  _IsrOverrun                                                  
    0     000088cd  _need2runFlags                                               
    0     000088d0  _isRateRunning                                               
    0     000088d3  _errno                                                       
    0     000088d4  ___TI_enable_exit_profile_output                             
    0     000088d6  ___TI_cleanup_ptr                                            
    0     000088d8  ___TI_dtors_ptr                                              
    0     000088da  _PieVectTableInit                                            
    0     00008a3a  _HEIST_FOC_Continuous_SVPWM_H_M                              
    0     00300000  .text                                                        
    0     00300000  ___text__                                                    
    0     00300000  _rt_atan2f_snf                                               
    0     00300060  _CircularBufferGetPointerForWrite                            
    0     00300074  _CircularBufferCommitWrite                                   
    0     0030007b  _QueueCtsValues                                              
    0     00300097  _QueueCtdValues                                              
    0     003000b3  _CircularBufferGetPointerForRead                             
    0     003000c0  _CircularBufferCommitRead                                    
    0     003000c7  _Fletcher32                                                  
    0     00300126  _HEIST_FO_MattClarkTransform                                 
    0     0030014b  _HEIST_FOC_Continuous_SVPWM_Hardware_terminate               
    0     0030014c  _HEIST_FOC_Continuous_SVPWM_Hardware_step2                   
    0     00300187  _HEIST_FOC_Continuous_SVPWM_Hardware_step0                   
    0     00300e5f  _HEIST_FOC_Continuous_SVPWM_Hardware_initialize              
    0     003011a4  _HEIST_FOC_Continuous_SVPWM_Hardware_SetEventsForThisBaseStep
    0     003011ad  _GetGuiLatchedValues                                         
    0     003011b2  _CopyDtcLatchedValues                                        
    0     003011b7  _Ad7606Read                                                  
    0     00301232  _rsvd_ISR                                                    
    0     0030123f  _XINT7_ISR                                                   
    0     00301249  _XINT6_ISR                                                   
    0     00301253  _XINT5_ISR                                                   
    0     0030125d  _XINT4_ISR                                                   
    0     00301267  _XINT3_ISR                                                   
    0     00301271  _XINT2_ISR                                                   
    0     0030127b  _XINT1_ISR                                                   
    0     00301285  _WAKEINT_ISR                                                 
    0     0030128f  _USER9_ISR                                                   
    0     00301299  _USER8_ISR                                                   
    0     003012a3  _USER7_ISR                                                   
    0     003012ad  _USER6_ISR                                                   
    0     003012b7  _USER5_ISR                                                   
    0     003012c1  _USER4_ISR                                                   
    0     003012cb  _USER3_ISR                                                   
    0     003012d5  _USER2_ISR                                                   
    0     003012e2  _USER1_ISR                                                   
    0     003012ef  _USER12_ISR                                                  
    0     003012f9  _USER11_ISR                                                  
    0     00301303  _USER10_ISR                                                  
    0     0030130d  _TINT0_ISR                                                   
    0     00301317  _SPITXINTD_ISR                                               
    0     00301321  _SPITXINTA_ISR                                               
    0     0030132b  _SPIRXINTD_ISR                                               
    0     00301335  _SPIRXINTA_ISR                                               
    0     0030133f  _SCITXINTC_ISR                                               
    0     00301349  _SCITXINTB_ISR                                               
    0     00301353  _SCITXINTA_ISR                                               
    0     0030135d  _SCIRXINTC_ISR                                               
    0     00301367  _SCIRXINTB_ISR                                               
    0     00301371  _SCIRXINTA_ISR                                               
    0     0030137b  _RTOSINT_ISR                                                 
    0     00301388  _PIE_RESERVED                                                
    0     00301392  _NMI_ISR                                                     
    0     0030139f  _MXINTB_ISR                                                  
    0     003013a9  _MXINTA_ISR                                                  
    0     003013b3  _MRINTB_ISR                                                  
    0     003013bd  _MRINTA_ISR                                                  
    0     003013c7  _LVF_ISR                                                     
    0     003013d1  _LUF_ISR                                                     
    0     003013db  _INT14_ISR                                                   
    0     003013e8  _INT13_ISR                                                   
    0     003013f5  _ILLEGAL_ISR                                                 
    0     00301402  _I2CINT2A_ISR                                                
    0     0030140c  _I2CINT1A_ISR                                                
    0     00301416  _EQEP3_INT_ISR                                               
    0     00301420  _EQEP2_INT_ISR                                               
    0     0030142a  _EQEP1_INT_ISR                                               
    0     00301434  _EPWM9_TZINT_ISR                                             
    0     0030143e  _EPWM9_INT_ISR                                               
    0     00301448  _EPWM8_TZINT_ISR                                             
    0     00301452  _EPWM8_INT_ISR                                               
    0     0030145c  _EPWM7_TZINT_ISR                                             
    0     00301466  _EPWM7_INT_ISR                                               
    0     00301470  _EPWM6_TZINT_ISR                                             
    0     0030147a  _EPWM6_INT_ISR                                               
    0     00301484  _EPWM5_TZINT_ISR                                             
    0     0030148e  _EPWM5_INT_ISR                                               
    0     00301498  _EPWM4_TZINT_ISR                                             
    0     003014a2  _EPWM4_INT_ISR                                               
    0     003014ac  _EPWM3_TZINT_ISR                                             
    0     003014b6  _EPWM3_INT_ISR                                               
    0     003014c0  _EPWM2_TZINT_ISR                                             
    0     003014ca  _EPWM2_INT_ISR                                               
    0     003014d4  _EPWM1_TZINT_ISR                                             
    0     003014de  _EPWM1_INT_ISR                                               
    0     003014e8  _EMUINT_ISR                                                  
    0     003014f5  _ECAP6_INT_ISR                                               
    0     003014ff  _ECAP5_INT_ISR                                               
    0     00301509  _ECAP4_INT_ISR                                               
    0     00301513  _ECAP3_INT_ISR                                               
    0     0030151d  _ECAP2_INT_ISR                                               
    0     00301527  _ECAP1_INT_ISR                                               
    0     00301531  _ECAN1INTB_ISR                                               
    0     0030153b  _ECAN1INTA_ISR                                               
    0     00301545  _ECAN0INTB_ISR                                               
    0     0030154f  _ECAN0INTA_ISR                                               
    0     00301559  _DINTCH6_ISR                                                 
    0     00301563  _DINTCH5_ISR                                                 
    0     0030156d  _DINTCH4_ISR                                                 
    0     00301577  _DINTCH3_ISR                                                 
    0     00301581  _DINTCH2_ISR                                                 
    0     0030158b  _DINTCH1_ISR                                                 
    0     00301595  _DATALOG_ISR                                                 
    0     003015a2  _XINT3_isr                                                   
    0     003015b7  _IsrSpidSend                                                 
    0     00301648  _IsrSpidReceive                                              
    0     003016e8  _IsrSpiaSend                                                 
    0     003017ab  _IsrSpiaReceive                                              
    0     00301818  _InitXintf16Gpio                                             
    0     003018e6  _InitXintf32Gpio                                             
    0     00301983  _InitXintf                                                   
    0     003019ea  _log                                                         
    0     003019ea  _logf                                                        
    0     00301b15  _ServiceDog                                                  
    0     00301b1f  _DisableDog                                                  
    0     00301b27  _InitPll                                                     
    0     00301b8a  _InitPeripheralClocks                                        
    0     00301bf7  _InitSysCtrl                                                 
    0     00301c00  _CsmUnlock                                                   
    0     00301c1a  _atan2                                                       
    0     00301c1a  _atan2f                                                      
    0     00301cee  _fmod                                                        
    0     00301cee  _fmodf                                                       
    0     00301dbc  _atan                                                        
    0     00301dbc  _atanf                                                       
    0     00301e87  FS$$DIV                                                      
    0     00301f0f  _init_board                                                  
    0     00301f7f  _rt_OneStep                                                  
    0     00301fb6  _main                                                        
    0     00301fe5  _cos                                                         
    0     00301fe5  _cosf                                                        
    0     00302046  _rt_InitInfAndNaN                                            
    0     0030206b  _rtIsNaNF                                                    
    0     00302074  _rtIsNaN                                                     
    0     0030207d  _rtIsInfF                                                    
    0     00302090  _rtIsInf                                                     
    0     003020a3  _sin                                                         
    0     003020a3  _sinf                                                        
    0     003020fb  _floor                                                       
    0     003020fb  _floorf                                                      
    0     00302152  _InitCpuTimers                                               
    0     00302185  _ConfigCpuTimer                                              
    0     003021a8  _c_int00                                                     
    0     003021fe  _rt_ZCFcn                                                    
    0     00302246  _TINT0_isr                                                   
    0     0030228a  _enableTimer0Interrupt                                       
    0     00302292  _disableTimer0Interrupt                                      
    0     003022a0  _configureTimer0                                             
    0     003022cc  _init_I2C_GPIO                                               
    0     003022e3  _init_I2C_A                                                  
    0     003022f9  C$$EXIT                                                      
    0     003022f9  _abort                                                       
    0     003022fb  _exit                                                        
    0     00302322  _InitPieCtrl                                                 
    0     00302341  _EnableInterrupts                                            
    0     0030234a  _copy_in                                                     
    0     0030236e  _memcpy                                                      
    0     0030238c  __args_main                                                  
    0     003023a5  _rtGetMinusInfF                                              
    0     003023ae  _rtGetMinusInf                                               
    0     003023b1  _rtGetInfF                                                   
    0     003023ba  _rtGetInf                                                    
    0     003023bd  _config_ePWM_GPIO                                            
    0     003023cf  _InitPieVectTable                                            
    0     003023e0  _rtGetNaNF                                                   
    0     003023ea  _rtGetNaN                                                    
    0     003023ed  __register_unlock                                            
    0     003023f1  __register_lock                                              
    0     003023f5  __nop                                                        
    0     003023fe  _globalInterruptEnable                                       
    0     00302402  _globalInterruptDisable                                      
    0     00302405  _u16bitByteswap_Outputs_wrapper                              
    0     0030240c  _ADC_AD7606_CURRENT_Outputs_wrapper                          
    0     0030240f  _SPI_CURRENT1_TO_SUPER_TRANSMIT_Outputs_wrapper              
    0     00302412  _SPI_GUI_VALUES_Outputs_wrapper                              
    0     00302415  __system_pre_init                                            
    0     00302417  __system_post_cinit                                          
    0     00302418  ___cinit__                                                   
    0     00302418  ___etext__                                                   
    0     00302418  cinit                                                        
    0     00302418  etext                                                        
    0     003026ce  _DSP28x_usDelay                                              
    1     00000880  _DevEmuRegs                                                  
    1     00000ae0  _CsmRegs                                                     
    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     00006600  _EPwm9Regs                                                   
    1     00006800  _EPwm1Regs                                                   
    1     00006840  _EPwm2Regs                                                   
    1     00006880  _EPwm3Regs                                                   
    1     000068c0  _EPwm4Regs                                                   
    1     00006900  _EPwm5Regs                                                   
    1     00006940  _EPwm6Regs                                                   
    1     00006980  _EPwm7Regs                                                   
    1     000069c0  _EPwm8Regs                                                   
    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     00006b80  _EQep3Regs                                                   
    1     00006f80  _GpioCtrlRegs                                                
    1     00006fc0  _GpioDataRegs                                                
    1     00006fe0  _GpioIntRegs                                                 
    1     00007010  _SysCtrlRegs                                                 
    1     00007040  _SpiaRegs                                                    
    1     00007050  _SciaRegs                                                    
    1     00007070  _XIntruptRegs                                                
    1     00007750  _ScibRegs                                                    
    1     00007770  _ScicRegs                                                    
    1     00007780  _SpidRegs                                                    
    1     00007900  _I2caRegs                                                    
    1     0033fff8  _CsmPwl                                                      
    abs   00000200  __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                                                        
    
    [305 symbols]
  • Matt

    It looks like your entry point is _c_int00 address instead of code_start. You may be getting a watchdog reset if not going through code_start where watchdog is typically disabled as part of codestartbranch.asm

    Also want to connect debugger and see where the PC is. Also check that your code is loaded properly.

    Best regards
    Chris
  • Hi Chris,

    _c_int00 is the correct entry point for me - my program takes care of the watchdog.

    I connected the debugger, and it was very informative. I indeed had a few errors transferring my data into the eeprom - so I fixed those manually for the moment, before I fix the eeprom loader. Now the boot loader is definitely working - I checked the program memory after the bootloader against after the debugger uploading the .out file. So thank you for the advice - that's a big step!

    Unfortunately it's still not working fully. If I start without the debugger, the code gets trapped in a section of memory where no code is defined. If I start with the debugger, the same thing happens - unless I step through the initialization code. If I manually step through the assembly until I get to the main loop of the program, I can let it go and it will all work. Any suggestions here?

    Thanks again! Really appreciate the help!

    Matt

  • Matt

    Great to hear!
    What's part of the initialization code? This is before main? In my experience, if it only works when you step through, then it could be watchdog timing out.
    Where is it getting trapped? Are you seeing any NMI?

    Best regards
    Chris
  • Hi Chris,

    The initialization is in main before the while(1) loop - the first thing it does is disable the watchdog. I try changing between using _c_int00 and codestart for my entry point, and the effect is the same either way.

    It's getting trapped in the space from 0x100000 to 0x300000 - reserved space. My program starts at 0x300000. The only thing I can think is that an interrupt is getting called with a bad isr pointer. I also noticed that, for a reason I don't understand either, the IER register is garbage when the program gets stuck. It's suppose to be 0x0821 - but when the program gets stuck and I look at the IER register, it's something seemingly random - last time it was 0x9214. That's part of what's making me think it's a bad interrupt call.

    Matt

  • Hi Chris,

    Something else I've noticed - if I place a hardware breakpoint somewhere in my while(1) loop, it runs as it should, even without single-stepping through.

    I've been looking through the documentation, but I don't see where running the debugger in this mode changes the system's behavior in a way that would alleviate whatever problem I have.

  • Sorry to post so much, I've been pretty busy with this..

    But good news - got it to work!

    Turns out it was a PLL issue. Something similar to what this man experienced: e2e.ti.com/.../412822

    I kept setting breakpoints in different parts of the initialization. If I set a HW BP before the pll init function, it didn't work, but if I set it after, it did.

    The file is in C:\ti\controlSUITE\device_support\c2834x\v112\DSP2834x_common\source\DSP2834x_SysCtrl.c. Turns out these lines are, as the comments suggest, sensitive to the amount of delay:

    // If switching to 1/2
        // * First go to 1/4 and let the power settle
        //   The time required will depend on the system, this is only an example
    	// * Then switch to 1/2
    	if(divsel == 2)
    	{
    		EALLOW;
    	    SysCtrlRegs.PLLSTS.bit.DIVSEL = 1;
    	    DELAY_US(50L);
    	    SysCtrlRegs.PLLSTS.bit.DIVSEL = 2;
    	    EDIS;
    	}

    So after every change to DIVSEL, I added a 500us delay.

    Chris, thanks again for all the help! You got me going in the right direction. Really appreciate it!

    Best wishes,

    Matt

  • Matt

    I was just brainstorming on this, but I am glad you figured out your issue! I wasn't aware of such a sensitivity, but good to know for the future!
    Happy to assist where I could.

    Happy coding!
    Best regards
    Chris