完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
· 你好 ,我已经将RAMM0 和 RAMM1整合到一起,组成一个RAMM0M1的空间。
起始地址就是RAMM0的首地址,长度为RAMM0+RAMM1的总长度。 RAMM0M1 : origin = 0x000050, length = 0x0007B0 .stack : > RAMM0M1, PAGE = 1 .ebss : > RAMM0M1, PAGE = 1 不过由于程序中有个16*8的二维数组查表程序,RAMM0M1还是不够用,编译还是过不了,请问如何处理,谢谢! 试了 把.ebss 的地址设置为FLASHB ,但是程序不运行. FLASHB : origin = 0x3F4000, length = 0x001000 /* on-chip FLASH */ "../28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd", line 129: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section ".stack" size 0x300 page 1. Available memory ranges: RAMM0M1 size: 0x7b0 unused: 0x2ce max hole: 0x2ce .stack : > RAMM0M1, PAGE = 1 |
|
相关推荐
14个回答
|
|
|
|
|
|
之前已经优化到 -o4了还是这样的,能把.ebss 的地址设置为FLASHB或者其他大点的地址空间吗? FLASHB : origin = 0x3F4000, length = 0x001000 /* on-chip FLASH */ |
|
|
|
tcwhy305 发表于 2018-5-14 02:57 .ebss放到RAM中 Young Hu |
|
|
|
鸵鸟蝈蝈 你好 能否详细点告诉 .ebss放到哪个RAM中? 下面是我现在的 CMD. _Cla1Prog_Start = _Cla1funcsRunStart; --undef_sym=__cla_scratchpad_end --undef_sym=__cla_scratchpad_start MEMORY [ /*Program Space*/ PAGE 0: RAML0 : origin = 0x008000, length = 0x000C00 /* on-chip RAM (L0+CLARAM0), previous RAML0 : origin = 0x008000, length = 0x000800 */ RAML3 : origin = 0x009000, length = 0x001000 /* data RAM (L3) */ OTP : origin = 0x3D7800, length = 0x000400 /* on-chip OTP */ FLASHH : origin = 0x3E8000, length = 0x002000 /* on-chip FLASH */ FLASHG : origin = 0x3EA000, length = 0x002000 /* on-chip FLASH */ FLASHF : origin = 0x3EC000, length = 0x002000 /* on-chip FLASH */ FLASHE : origin = 0x3EE000, length = 0x002000 /* on-chip FLASH */ FLASHD : origin = 0x3F0000, length = 0x002000 /* on-chip FLASH */ FLASHC : origin = 0x3F2000, length = 0x002000 /* on-chip FLASH */ FLASHA : origin = 0x3F5000, length = 0x002F80 /* on-chip FLASH ,previous FLASHA : origin = 0x3F6000, length = 0x001F80 */ CSM_RSVD : origin = 0x3F7F80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */ BEGIN : origin = 0x3F7FF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */ CSM_PWL : origin = 0x3F7FF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */ IQTABLES : origin = 0x3FE000, length = 0x000B50 /* IQ Math Tables in Boot ROM */ IQTABLES2 : origin = 0x3FEB50, length = 0x00008C /* IQ Math Tables in Boot ROM */ IQTABLES3 : origin = 0x3FEBDC, length = 0x0000AA /* IQ Math Tables in Boot ROM */ BOOTROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */ RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */ VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */ /*Data Space*/ PAGE 1 : BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */ //RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */ //RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */ RAMM0M1 : origin = 0x000050, length = 0x0007B0// length = 0x0007B0 /* on-chip RAM block M0 and M1 */ /* CLARAM0 : origin = 0x008800, length = 0x000400 */ /* on-chip RAM block L1, previous origin = 0x008800, length = 0x000400origin = 0x008C00, length = 0x000200*/ CLARAM1 : origin = 0x008C00, length = 0x000400 /* on-chip RAM block L2,prevous origin = 0x008E00, length = 0x000200 */ CLA_CPU_MSGRAM : origin = 0x001480, length = 0x000080 /* CLA-R/W, CPU-R message RAM */ CPU_CLA_MSGRAM : origin = 0x001500, length = 0x000080 /* CPU-R/W, CLA-R message RAM */ FLASHB : origin = 0x3F4000, length = 0x001000 /* on-chip FLASH */ ] SECTIONS [ /* Allocate program areas: */ .cinit : > FLASHA, PAGE = 0 .pinit : > FLASHA, PAGE = 0 .text : > FLASHA, PAGE = 0 codestart : > BEGIN PAGE = 0 ramfuncs : LOAD = FLASHD, RUN = RAML0, LOAD_START(_RamfuncsLoadStart), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), PAGE = 0 Cla1Prog : LOAD = FLASHC, /* Note for running from RAM the load and RUN can be the same */ RUN = RAML3, LOAD_START(_Cla1funcsLoadStart), LOAD_END(_Cla1funcsLoadEnd), RUN_START(_Cla1funcsRunStart), PAGE = 0 csmpasswds : > CSM_PWL PAGE = 0 csm_rsvd : > CSM_RSVD PAGE = 0 /* Allocate uninitalized data sections: */ // .stack : > RAMM0, PAGE = 1 // .ebss : > RAMM1, PAGE = 1 .stack : > RAMM0M1, PAGE = 1 //Steven 2012.9.26 combine RAMM0 and RAMM1 .ebss : > RAMM0M1, PAGE = 1 // .esysmem : > RAMM1, PAGE = 1 .esysmem : > RAMM0M1, PAGE = 1 //Steven 2012.9.26 combine RAMM0 and RAMM1 /* Initalized sections go in Flash */ /* For SDFlash to program these, they must be allocated to page 0 */ .econst : > FLASHA PAGE = 0 .switch : > FLASHA PAGE = 0 /* Allocate IQ math areas: */ IQmath : > FLASHD PAGE = 0 /* Math Code */ IQmathTables : > IQTABLES PAGE = 0, TYPE = NOLOAD /* Math Tables In ROM */ Cla1ToCpuMsgRAM : > CLA_CPU_MSGRAM PAGE = 1 CpuToCla1MsgRAM : > CPU_CLA_MSGRAM PAGE = 1 /*ClaDataRam0 : > CLARAM0, PAGE = 1 */ ClaDataRam1 : > CLARAM1, PAGE = 1 CLAmathTables : > CLARAM1, PAGE = 1 CLA1mathTables : > CLARAM1, PAGE = 1 // // Must be allocated to memory the CLA has write access to // CLAscratch : [ *.obj(CLAscratch) . += CLA_SCRATCHPAD_SIZE; *.obj(CLAscratch_end) ] > CLARAM1, PAGE = 1 /*Previous CLARAM0*/ .reset : > RESET, PAGE = 0, TYPE = DSECT vectors : > VECTORS PAGE = 0, TYPE = DSECT /* Uncomment the section below if calling the IQNexp() or IQexp() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ /* IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD [ IQmath.lib ] */ /* Uncomment the section below if calling the IQNasin() or IQasin() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ /* IQmathTables3 : > IQTABLES3, PAGE = 0, TYPE = NOLOAD [ IQmath.lib ] */ ] |
|
|
|
楼主 你好! 请注意.ebss为全局变量,变量只能放在RAM区。 你有用CLA吗?如果没有用的话,可以将.ebss分配到RAML3段. 原则上只要是RAM都可以用为.ebss。 楼主可以看一下那个RAM段剩余空间多,就可以将.ebss分配给它。 或者把.MAP文件贴上来,我帮你看一下将.ebss分配给哪个段合适。 |
|
|
|
Johnson Chen, 你好,谢谢你的回复,我们的程序是PMSM控制加PFC的,所以RAML3段已经用给CLA Prog RAM. RAML3 : origin = 0x009000, length = 0x001000 /* data RAM (L3) */ 我贴上来了.MAP文件,麻烦你帮我看一下如何分配新的扩大空间给.ebss,谢谢。 我们在程序中有个16*8或者 16*16的二维常数数组查表用的,所以会导致 整合后的RAMM0M1 的空间也不够用,二维数组只能改成16*6时候才刚刚好,还是需要16*16的二维表的。 _iq array[16][16]或者 Const _iq RAMM0M1 : origin = 0x000050, length = 0x0007B0 name origin length used unused attr fill ---------------------- -------- --------- -------- -------- ---- -------- RAMM0M1 00000050 000007b0 000007a2 0000000e RWIX array[16][16] ****************************************************************************** TMS320C2000 Linker PC v6.1.0 ****************************************************************************** >> Linked Fri Sep 28 09:01:14 2012 OUTPUT FILE NAME: ENTRY POINT SYMBOL: "_c_int00" address: 003f6aea MEMORY CONFIGURATION name origin length used unused attr fill ---------------------- -------- --------- -------- -------- ---- -------- PAGE 0: RAML0 00008000 00000c00 000008e0 00000320 RWIX RAML3 00009000 00001000 00000448 00000bb8 RWIX OTP 003d7800 00000400 00000000 00000400 RWIX FLASHH 003e8000 00002000 00000000 00002000 RWIX FLASHG 003ea000 00002000 00000000 00002000 RWIX FLASHF 003ec000 00002000 00000000 00002000 RWIX FLASHE 003ee000 00002000 00000000 00002000 RWIX FLASHD 003f0000 00002000 00000a46 000015ba RWIX FLASHC 003f2000 00002000 00000448 00001bb8 RWIX FLASHA 003f5000 00002f80 000022c3 00000cbd RWIX CSM_RSVD 003f7f80 00000076 00000000 00000076 RWIX BEGIN 003f7ff6 00000002 00000002 00000000 RWIX CSM_PWL 003f7ff8 00000008 00000000 00000008 RWIX IQTABLES 003fe000 00000b50 00000b50 00000000 RWIX IQTABLES2 003feb50 0000008c 00000000 0000008c RWIX IQTABLES3 003febdc 000000aa 00000000 000000aa RWIX BOOTROM 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 RAMM0M1 00000050 000007b0 000007a2 0000000e RWIX DEV_EMU 00000880 00000105 00000004 00000101 RWIX SYS_PWR_CTL 00000985 00000003 00000003 00000000 RWIX FLASH_REGS 00000a80 00000060 00000008 00000058 RWIX CSM 00000ae0 00000010 00000010 00000000 RWIX ADC_RESULT 00000b00 00000020 00000020 00000000 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 CLA1 00001400 00000080 00000040 00000040 RWIX CLA_CPU_MSGRAM 00001480 00000080 00000006 0000007a RWIX CPU_CLA_MSGRAM 00001500 00000080 00000005 0000007b 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 COMP1 00006400 00000020 00000014 0000000c RWIX COMP2 00006420 00000020 00000014 0000000c RWIX COMP3 00006440 00000020 00000014 0000000c RWIX EPWM1 00006800 00000040 00000040 00000000 RWIX EPWM2 00006840 00000040 00000040 00000000 RWIX EPWM3 00006880 00000040 00000040 00000000 RWIX EPWM4 000068c0 00000040 00000040 00000000 RWIX EPWM5 00006900 00000040 00000040 00000000 RWIX EPWM6 00006940 00000040 00000040 00000000 RWIX EPWM7 00006980 00000040 00000040 00000000 RWIX ECAP1 00006a00 00000020 00000020 00000000 RWIX HRCAP1 00006ac0 00000020 00000000 00000020 RWIX HRCAP2 00006ae0 00000020 00000000 00000020 RWIX EQEP1 00006b00 00000040 00000040 00000000 RWIX LINA 00006c00 00000080 0000004a 00000036 RWIX GPIOCTRL 00006f80 00000040 00000040 00000000 RWIX GPIODAT 00006fc0 00000020 00000020 00000000 RWIX GPIOINT 00006fe0 00000020 0000000c 00000014 RWIX SYSTEM 00007010 00000020 00000020 00000000 RWIX SPIA 00007040 00000010 00000010 00000000 RWIX SCIA 00007050 00000010 00000010 00000000 RWIX NMIINTRUPT 00007060 00000010 00000010 00000000 RWIX XINTRUPT 00007070 00000010 00000010 00000000 RWIX ADC 00007100 00000080 00000050 00000030 RWIX SPIB 00007740 00000010 00000010 00000000 RWIX I2CA 00007900 00000040 00000022 0000001e RWIX CLARAM1 00008c00 00000400 0000014a 000002b6 RWIX PARTID 003d7e80 00000001 00000001 00000000 RWIX FLASHB 003f4000 00001000 00000000 00001000 RWIX CSM_PWL 003f7ff8 00000008 00000008 00000000 RWIX SECTION ALLOCATION MAP output attributes/ section page origin length input sections -------- ---- ---------- ---------- ---------------- .pinit 0 003f5000 00000000 UNINITIALIZED ramfuncs 0 003f0000 000008e0 RUN ADDR = 00008000 003f0000 000008bf HVPM_Sensorless_CLA-Main.obj (ramfuncs:retain) 003f08bf 0000001d HVPM_Sensorless_CLA-DevInit_F2803x.obj (ramfuncs) 003f08dc 00000004 DSP2803x_usDelay.obj (ramfuncs) IQmath 0 003f08e0 00000166 003f08e0 00000088 IQmath.lib : IQ24atan2PU.obj (IQmath) 003f0968 00000047 : IQ15div.obj (IQmath) 003f09af 00000047 : IQ24div.obj (IQmath) 003f09f6 00000029 : IQ24sinPU.obj (IQmath) 003f0a1f 00000027 : IQ24cosPU.obj (IQmath) Cla1Prog 0 003f2000 00000448 RUN ADDR = 00009000 003f2000 00000448 HVPM_Sensorless_CLA-Tasks_C.obj (Cla1Prog:retain) .text 0 003f5000 00001d08 003f5000 00000bea HVPM_Sensorless_CLA-Main.obj (.text) 003f5bea 000003fa Drv_UART.obj (.text) 003f5fe4 0000023d HVPM_Sensorless_CLA-DevInit_F2803x.obj (.text) 003f6221 00000203 FieldWeakening.obj (.text) 003f6424 000001bd ADC_SOC_Cnf.obj (.text) 003f65e1 00000192 Drv_UART.obj (.text:retain) 003f6773 000000ad HVPM_Sensorless_CLA-Main.obj (.text:retain) 003f6820 0000009e rts2800_ml.lib : exp.obj (.text) 003f68be 00000083 : fd_mpy.obj (.text) 003f6941 00000083 : fs_div.obj (.text) 003f69c4 00000078 : fs_add.obj (.text) 003f6a3c 0000005a : fs_mpy.obj (.text) 003f6a96 00000054 PWM_1ch_Cnf.obj (.text) 003f6aea 00000044 rts2800_ml.lib : boot.obj (.text) 003f6b2e 00000041 : ldexp.obj (.text) 003f6b6f 0000003a DSP2803x_CpuTimers.obj (.text) 003f6ba9 00000029 rts2800_ml.lib : fs_tol.obj (.text) 003f6bd2 00000025 : fs_toi.obj (.text) 003f6bf7 0000001f : fd_tol.obj (.text) 003f6c16 0000001d : fs_tou.obj (.text) 003f6c33 0000001c : fs_tofd.obj (.text) 003f6c4f 0000001a : i_tofs.obj (.text) 003f6c69 00000019 : args_main.obj (.text) 003f6c82 00000019 : exit.obj (.text) 003f6c9b 00000019 : prolog.obj (.text) 003f6cb4 00000017 : fs_cmp.obj (.text) 003f6ccb 00000013 : ul_tofs.obj (.text) 003f6cde 00000010 : u_tofs.obj (.text) 003f6cee 0000000c : epilog.obj (.text) 003f6cfa 00000008 DSP2803x_CodeStartBranch.obj (.text) 003f6d02 00000005 HVPM_Sensorless_CLA-DevInit_F2803x.obj (.text:retain) 003f6d07 00000001 rts2800_ml.lib : _lock.obj (.text) .cinit 0 003f6d08 0000037f 003f6d08 0000035d HVPM_Sensorless_CLA-Main.obj (.cinit) 003f7065 00000016 003f707b 0000000a rts2800_ml.lib : exit.obj (.cinit) 003f7085 00000002 --HOLE-- [fill = 0] .econst 0 003f7088 0000020c 003f7088 00000100 Drv_UART.obj (.econst:_auchCRCHi) 003f7188 00000100 Drv_UART.obj (.econst:_auchCRCLo) 003f7288 0000000c HVPM_Sensorless_CLA-Main.obj (.econst) .switch 0 003f7294 00000030 003f7294 00000030 Drv_UART.obj (.switch:_GetRegisterVal) codestart * 0 003f7ff6 00000002 003f7ff6 00000002 DSP2803x_CodeStartBranch.obj (codestart) IQmathTables * 0 003fe000 00000b50 NOLOAD SECTION 003fe000 00000b50 IQmath.lib : IQmathTables.obj (IQmathTables) .reset 0 003fffc0 00000002 DSECT 003fffc0 00000002 rts2800_ml.lib : boot.obj (.reset) vectors 0 003fffc2 00000000 DSECT .ebss 1 00000050 000004a2 UNINITIALIZED 00000050 00000008 DSP2803x_CpuTimers.obj (.ebss) 00000058 00000004 rts2800_ml.lib : _lock.obj (.ebss) 0000005c 00000004 : exit.obj (.ebss) 00000060 00000001 : errno.obj (.ebss) 00000061 0000001f --HOLE-- 00000080 000002a2 HVPM_Sensorless_CLA-Main.obj (.ebss) 00000322 0000001e --HOLE-- 00000340 00000132 FieldWeakening.obj (.ebss) 00000472 0000000e --HOLE-- 00000480 00000072 Drv_UART.obj (.ebss) .stack 1 000004f2 00000300 UNINITIALIZED 000004f2 00000300 --HOLE-- DevEmuRegsFile * 1 00000880 00000004 UNINITIALIZED 00000880 00000004 DSP2803x_GlobalVariableDefs.obj (DevEmuRegsFile) SysPwrCtrlRegsFile * 1 00000985 00000003 UNINITIALIZED 00000985 00000003 DSP2803x_GlobalVariableDefs.obj (SysPwrCtrlRegsFile) FlashRegsFile * 1 00000a80 00000008 UNINITIALIZED 00000a80 00000008 DSP2803x_GlobalVariableDefs.obj (FlashRegsFile) CsmRegsFile * 1 00000ae0 00000010 UNINITIALIZED 00000ae0 00000010 DSP2803x_GlobalVariableDefs.obj (CsmRegsFile) AdcResultFile * 1 00000b00 00000020 UNINITIALIZED 00000b00 00000020 DSP2803x_GlobalVariableDefs.obj (AdcResultFile) CpuTimer0RegsFile * 1 00000c00 00000008 UNINITIALIZED 00000c00 00000008 DSP2803x_GlobalVariableDefs.obj (CpuTimer0RegsFile) CpuTimer1RegsFile * 1 00000c08 00000008 UNINITIALIZED 00000c08 00000008 DSP2803x_GlobalVariableDefs.obj (CpuTimer1RegsFile) CpuTimer2RegsFile * 1 00000c10 00000008 UNINITIALIZED 00000c10 00000008 DSP2803x_GlobalVariableDefs.obj (CpuTimer2RegsFile) PieCtrlRegsFile * 1 00000ce0 0000001a UNINITIALIZED 00000ce0 0000001a DSP2803x_GlobalVariableDefs.obj (PieCtrlRegsFile) PieVectTableFile * 1 00000d00 00000100 UNINITIALIZED 00000d00 00000100 DSP2803x_GlobalVariableDefs.obj (PieVectTableFile) EmuKeyVar * 1 00000d00 00000001 UNINITIALIZED 00000d00 00000001 DSP2803x_GlobalVariableDefs.obj (EmuKeyVar) EmuBModeVar * 1 00000d01 00000001 UNINITIALIZED 00000d01 00000001 DSP2803x_GlobalVariableDefs.obj (EmuBModeVar) FlashCallbackVar * 1 00000d02 00000002 UNINITIALIZED 00000d02 00000002 DSP2803x_GlobalVariableDefs.obj (FlashCallbackVar) FlashScalingVar * 1 00000d04 00000002 UNINITIALIZED 00000d04 00000002 DSP2803x_GlobalVariableDefs.obj (FlashScalingVar) Cla1RegsFile * 1 00001400 00000040 UNINITIALIZED 00001400 00000040 DSP2803x_GlobalVariableDefs.obj (Cla1RegsFile) Cla1ToCpuMsgRAM * 1 00001480 00000006 UNINITIALIZED 00001480 00000006 HVPM_Sensorless_CLA-Tasks_C.obj (Cla1ToCpuMsgRAM) CpuToCla1MsgRAM * 1 00001500 00000005 UNINITIALIZED 00001500 00000005 HVPM_Sensorless_CLA-Tasks_C.obj (CpuToCla1MsgRAM) ECanaRegsFile * 1 00006000 00000034 UNINITIALIZED 00006000 00000034 DSP2803x_GlobalVariableDefs.obj (ECanaRegsFile) ECanaLAMRegsFile * 1 00006040 00000040 UNINITIALIZED 00006040 00000040 DSP2803x_GlobalVariableDefs.obj (ECanaLAMRegsFile) ECanaMOTSRegsFile * 1 00006080 00000040 UNINITIALIZED 00006080 00000040 DSP2803x_GlobalVariableDefs.obj (ECanaMOTSRegsFile) ECanaMOTORegsFile * 1 000060c0 00000040 UNINITIALIZED 000060c0 00000040 DSP2803x_GlobalVariableDefs.obj (ECanaMOTORegsFile) ECanaMboxesFile * 1 00006100 00000100 UNINITIALIZED 00006100 00000100 DSP2803x_GlobalVariableDefs.obj (ECanaMboxesFile) Comp1RegsFile * 1 00006400 00000014 UNINITIALIZED 00006400 00000014 DSP2803x_GlobalVariableDefs.obj (Comp1RegsFile) Comp2RegsFile * 1 00006420 00000014 UNINITIALIZED 00006420 00000014 DSP2803x_GlobalVariableDefs.obj (Comp2RegsFile) Comp3RegsFile * 1 00006440 00000014 UNINITIALIZED 00006440 00000014 DSP2803x_GlobalVariableDefs.obj (Comp3RegsFile) EPwm1RegsFile * 1 00006800 00000040 UNINITIALIZED 00006800 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm1RegsFile) EPwm2RegsFile * 1 00006840 00000040 UNINITIALIZED 00006840 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm2RegsFile) EPwm3RegsFile * 1 00006880 00000040 UNINITIALIZED 00006880 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm3RegsFile) EPwm4RegsFile * 1 000068c0 00000040 UNINITIALIZED 000068c0 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm4RegsFile) EPwm5RegsFile * 1 00006900 00000040 UNINITIALIZED 00006900 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm5RegsFile) EPwm6RegsFile * 1 00006940 00000040 UNINITIALIZED 00006940 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm6RegsFile) EPwm7RegsFile * 1 00006980 00000040 UNINITIALIZED 00006980 00000040 DSP2803x_GlobalVariableDefs.obj (EPwm7RegsFile) ECap1RegsFile * 1 00006a00 00000020 UNINITIALIZED 00006a00 00000020 DSP2803x_GlobalVariableDefs.obj (ECap1RegsFile) EQep1RegsFile * 1 00006b00 00000040 UNINITIALIZED 00006b00 00000040 DSP2803x_GlobalVariableDefs.obj (EQep1RegsFile) LinaRegsFile * 1 00006c00 0000004a UNINITIALIZED 00006c00 0000004a DSP2803x_GlobalVariableDefs.obj (LinaRegsFile) GpioCtrlRegsFile * 1 00006f80 00000040 UNINITIALIZED 00006f80 00000040 DSP2803x_GlobalVariableDefs.obj (GpioCtrlRegsFile) GpioDataRegsFile * 1 00006fc0 00000020 UNINITIALIZED 00006fc0 00000020 DSP2803x_GlobalVariableDefs.obj (GpioDataRegsFile) GpioIntRegsFile * 1 00006fe0 0000000c UNINITIALIZED 00006fe0 0000000c DSP2803x_GlobalVariableDefs.obj (GpioIntRegsFile) SysCtrlRegsFile * 1 00007010 00000020 UNINITIALIZED 00007010 00000020 DSP2803x_GlobalVariableDefs.obj (SysCtrlRegsFile) SpiaRegsFile * 1 00007040 00000010 UNINITIALIZED 00007040 00000010 DSP2803x_GlobalVariableDefs.obj (SpiaRegsFile) SciaRegsFile * 1 00007050 00000010 UNINITIALIZED 00007050 00000010 DSP2803x_GlobalVariableDefs.obj (SciaRegsFile) NmiIntruptRegsFile * 1 00007060 00000010 UNINITIALIZED 00007060 00000010 DSP2803x_GlobalVariableDefs.obj (NmiIntruptRegsFile) XIntruptRegsFile * 1 00007070 00000010 UNINITIALIZED 00007070 00000010 DSP2803x_GlobalVariableDefs.obj (XIntruptRegsFile) AdcRegsFile * 1 00007100 00000050 UNINITIALIZED 00007100 00000050 DSP2803x_GlobalVariableDefs.obj (AdcRegsFile) SpibRegsFile * 1 00007740 00000010 UNINITIALIZED 00007740 00000010 DSP2803x_GlobalVariableDefs.obj (SpibRegsFile) I2caRegsFile * 1 00007900 00000022 UNINITIALIZED 00007900 00000022 DSP2803x_GlobalVariableDefs.obj (I2caRegsFile) CLAscratch * 1 00008c00 00000100 UNINITIALIZED 00008c00 00000100 --HOLE-- ClaDataRam1 * 1 00008d00 0000004a UNINITIALIZED 00008d00 0000004a HVPM_Sensorless_CLA-Tasks_C.obj (ClaDataRam1) PartIdRegsFile * 1 003d7e80 00000001 UNINITIALIZED 003d7e80 00000001 DSP2803x_GlobalVariableDefs.obj (PartIdRegsFile) CsmPwlFile * 1 003f7ff8 00000008 UNINITIALIZED 003f7ff8 00000008 DSP2803x_GlobalVariableDefs.obj (CsmPwlFile) GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name address name -------- ---- 003f5000 .text 003f6c82 C$$EXIT 003f68be FD$$MPY 003f6bf7 FD$$TOL 003f69c9 FS$$ADD 003f6cb4 FS$$CMP 003f6941 FS$$DIV 003f6a3c FS$$MPY 003f69c4 FS$$SUB 003f6c33 FS$$TOFD 003f6bd2 FS$$TOI 003f6ba9 FS$$TOL 003f6c16 FS$$TOU 003f6c4f I$$TOFS 003f6cde U$$TOFS 003f6ccb UL$$TOFS 000001ea _ACQPS 003f6424 _ADC_SOC_CNF 00007100 _AdcRegs 00000b00 _AdcResult 000000d6 _Advance_Angle 0000008e _Angle_Choice 000000d8 _Angle_Comp 000000ec _Angle_Test 000000b0 _BackTicker 003f61c7 _CLA_C_Init 00000210 _ChSel 00009000 _Cla1Prog_Start 00001400 _Cla1Regs 000090f2 _Cla1Task1 000090ea _Cla1Task2 000090e2 _Cla1Task3 000090da _Cla1Task4 000090d2 _Cla1Task5 000090ca _Cla1Task6 000090c2 _Cla1Task7 00009000 _Cla1Task8 003f2448 _Cla1funcsLoadEnd 003f2000 _Cla1funcsLoadStart 00009000 _Cla1funcsRunStart 00000152 _Comp 00006400 _Comp1Regs 00006420 _Comp2Regs 00006440 _Comp3Regs 003f6b84 _ConfigCpuTimer 00000050 _CpuTimer0 00000c00 _CpuTimer0Regs 00000c08 _CpuTimer1Regs 00000c10 _CpuTimer2Regs 003f5c9f _Crc16 003f7ff8 _CsmPwl 00000ae0 _CsmRegs 00008d32 _CurrentLoopCount 00000138 _Current_OffsetA 0000013a _Current_OffsetB 00000106 _Current_Speed 00000085 _Current_U 000000ee _DC_BUS_Temp 003f5be2 _DLOG_BuffInit 000088dc _DSP28x_usDelay 00000081 _DeltaTheta 00000880 _DevEmuRegs 003f616c _DeviceInit 000000d2 _E0 00006040 _ECanaLAMRegs 000060c0 _ECanaMOTORegs 00006080 _ECanaMOTSRegs 00006100 _ECanaMboxes 00006000 _ECanaRegs 00006a00 _ECap1Regs 00006800 _EPwm1Regs 00006840 _EPwm2Regs 00006880 _EPwm3Regs 000068c0 _EPwm4Regs 00006900 _EPwm5Regs 00006940 _EPwm6Regs 00006980 _EPwm7Regs 00006b00 _EQep1Regs 00000087 _ElecTheta 00000d01 _EmuBMode 00000d00 _EmuKey 000000a2 _EnableFlag 0000012c _Estimat_Theta 000000f2 _Estspeed_Temp 003f62a5 _FWInit 000000ca _FW_idRef 00000104 _FW_idRef_permillage 00000341 _FWi 00000340 _FWj 00000380 _FdWeakParm 00008d46 _FeedForward 00001500 _Feedforward_ratio 003f6221 _FieldWeakening 000000e6 _FilterA 00000144 _FilterATemp 000000dc _FilterB 000000e2 _FilterBTemp 000000da _FilterC 000000e0 _FilterCTemp 00000a80 _FlashRegs 00000d04 _Flash_CPUScaleFactor 00000d02 _Flash_CallbackPtr 000000c4 _For_Test_Count 003f5ed1 _GetCoilVal 003f5d36 _GetRegisterVal 00006f80 _GpioCtrlRegs 00006fc0 _GpioDataRegs 00006fe0 _GpioIntRegs 0000009d _Gui_IpfcAvg 000000ae _Gui_VacLineAvg 00000094 _Gui_VpfcOut 00000098 _Gui_VpfcSet 00001504 _Gui_Vref 003f5307 _HVDMC_Protection 000000ac _HWTripFlagPFC 00007900 _I2caRegs 003fead8 _IQ10mpyRndSatTable 003feacc _IQ11mpyRndSatTable 003feac0 _IQ12mpyRndSatTable 003feab4 _IQ13mpyRndSatTable 003feaa8 _IQ14mpyRndSatTable 003fea9c _IQ15mpyRndSatTable 003fea90 _IQ16mpyRndSatTable 003fea84 _IQ17mpyRndSatTable 003fea78 _IQ18mpyRndSatTable 003fea6c _IQ19mpyRndSatTable 003feb44 _IQ1mpyRndSatTable 003fea60 _IQ20mpyRndSatTable 003fea54 _IQ21mpyRndSatTable 003fea48 _IQ22mpyRndSatTable 003fea3c _IQ23mpyRndSatTable 003fea30 _IQ24mpyRndSatTable 003fea24 _IQ25mpyRndSatTable 003fea18 _IQ26mpyRndSatTable 003fea0c _IQ27mpyRndSatTable 003fea00 _IQ28mpyRndSatTable 003fe9f4 _IQ29mpyRndSatTable 003feb38 _IQ2mpyRndSatTable 003fe9e8 _IQ30mpyRndSatTable 003feb2c _IQ3mpyRndSatTable 003feb20 _IQ4mpyRndSatTable 003feb14 _IQ5mpyRndSatTable 003feb08 _IQ6mpyRndSatTable 003feafc _IQ7mpyRndSatTable 003feaf0 _IQ8mpyRndSatTable 003feae4 _IQ9mpyRndSatTable 003fe824 _IQatan2HalfPITable 003fe862 _IQatan2Table 003fe9e8 _IQatan2TableEnd 003fe100 _IQcosTable 003fe502 _IQcosTableEnd 003fe502 _IQdivRoundSatTable 003fe510 _IQdivTable 003fe712 _IQdivTableEnd 003fe712 _IQisqrtRoundSatTable 003fe722 _IQisqrtTable 003fe824 _IQisqrtTableEnd 003fe9e8 _IQmpyRndSatTable 003feb50 _IQmpyRndSatTableEnd 003fe000 _IQsinTable 003fe400 _IQsinTableEnd 003fe712 _IQsqrtRoundSatTable 003fe722 _IQsqrtTable 003fe824 _IQsqrtTableEnd 00008d40 _IRef 003f6d02 _ISR_ILLEGAL 0000010c _IdRef 00000095 _Index_Test_Data 003f6b6f _InitCpuTimers 000088bf _InitFlash 003f608c _InitGpio 000000aa _Init_IFlag 003f607c _IntOsc1Sel 00008d42 _InvAvg 00008d44 _InvAvgSqr 00008d34 _Ipfc 00001484 _IpfcAvg 00008d38 _IpfcAvg_old 00008d36 _Ipfc_filter 00000112 _IqRef 00000102 _IqRef_RampMax 00000114 _IsrTicker 00000086 _LED_counter 00006c00 _LinaRegs 0000008a _Load_Start 000000a5 _LockRotorFlag 000000b9 _MPeriod 00008000 _MainISR 000000a9 _Major_Faults_Flag 0000013e _Max_Parking_Current 000000f6 _Max_Theta_error_Swith 003f606c _MemCopy 000000fa _Min_Speed 003f5cb6 _ModbusExcep 00000097 _ModbusModule_Start_receive 00000482 _ModbusModule_Status 0000009a _ModbusModule_TimeoutReg 003f5f72 _ModbusRTUSlaveRun 000000ab _Motor_ON 000000b6 _Motor_ON_Previous 003f52cc _Motor_PWM_OFF 00007060 _NmiIntruptRegs 0000008b _OpenLoop_Ok 00001503 _Output_Voltage_AD 003f5bcc _PFC_HW_Protection 003f52b7 _PFC_OFF 00001502 _PFC_ON 000000b5 _PFC_ON_Previous 000000be _PFC_Over_Voltage_time 003f5297 _PFC_Reset 003f59c1 _PFC_voltage_ramp 003f5273 _PIM_Reset 000000bc _PIM_Reset_ON 003f603a _PLLset 003f6a96 _PWM_1ch_CNF 0000011c _Park_IdRef 0000011e _Park_IqRef 00000148 _Park_VdRef 00000140 _Park_VqRef 00000130 _Parking_Delay 0000008c _Parking_Step 0000008d _Parking_Test_Count 003d7e80 _PartIdRegs 003f601b _PieCntlInit 00000ce0 _PieCtrlRegs 00000d00 _PieVectTable 003f600a _PieVectTableInit 003f5ccf _PresetMultipleRegisters 003f5d11 _PresetSingleRegister 000000b7 _PwmDacCh1 000000b2 _PwmDacCh2 000000b1 _PwmDacCh3 000000b4 _PwmDacCh4 003f08e0 _RamfuncsLoadEnd 003f0000 _RamfuncsLoadStart 00008000 _RamfuncsRunStart 0000048e _RdataA 00000483 _RdataA_Num 003f5ee3 _ReadCoil 003f5e6f _ReadHoldRegisters 0000009b _Regerne_Over_Voltage_time 003f5f3c _ResolveModbus 00000080 _RgOut 00000082 _SMOTheta 00007050 _SciaRegs 003f5c82 _SciaTx_Response 000004c0 _SdataA 00000480 _SdataA_Num 000000b8 _Sector 00000088 _Sensorless_Ok 003f6000 _ServiceDog 003f5c26 _SetRegisterVal 003f5b90 _Slide_Disshakes_Average_Filter 0000009e _SpeedLoopCount 0000009f _SpeedLoopPrescaler 00000108 _SpeedRef 000000f4 _SpeedRefRPM 0000012a _SpeedRpm 00000128 _SpeedRpm_Qep 00000089 _Speed_Choice 000000ad _Speed_Reg 003f5b78 _Speed_Regulate 00007040 _SpiaRegs 00007740 _SpibRegs 000000fc _Startup_Lock_Cnt 003f5ac1 _Switchover_CloseLoop 003f59f3 _Switchover_CloseLoop_for_New_Drive 00007010 _SysCtrlRegs 00000985 _SysPwrCtrlRegs 00000116 _T 00000126 _Temp1 000000a3 _TempCalibratedAngle 00000099 _Test_Flag 0000013c _Test_Parking_Angle 00000100 _Theta_error 0000011a _Tmp 00000118 _TmpD 00000124 _Tmp_fr 00000230 _TrigSel 00000481 _TxFifo_Time 000000a1 _V_dc 000000a0 _V_dc_time 000000a8 _V_dc_total 000000c6 _Va 00001482 _VacLineAvg 00008d3e _VacLineAvg_old 00008d3a _VacLineRect 00008d3c _VacLineRect_filter 000000c0 _Vb 000000c8 _Vc 000000d0 _VdTesting 00008d30 _VoltageLoopCount 00001480 _VpfcOut 000000ce _VqTesting 00008d48 _Vref 003f5ff8 _WDogDisable 00007070 _XIntruptRegs 003f5fe4 _XtalOscSel 003f0968 __IQ15div 003f08e0 __IQ24atan2PU 003f0a1f __IQ24cosPU 003f09af __IQ24div 003f09f6 __IQ24sinPU 000007f2 __STACK_END 00000300 __STACK_SIZE 00000001 __TI_args_main ffffffff ___binit__ ffffffff ___c_args__ 003f6d08 ___cinit__ 003f6d08 ___etext__ ffffffff ___pinit__ 003f5000 ___text__ 003f6c69 __args_main 00008d00 __cla_scratchpad_end 00008c00 __cla_scratchpad_start 0000005c __cleanup_ptr 0000005e __dtors_ptr 0000005a __lock 003f6d07 __nop 000004f2 __stack 00000058 __unlock 003f6c82 _abort 0000010a _accele_slope 003f7088 _auchCRCHi 003f7188 _auchCRCLo 003f6aea _c_int00 003f59a9 _checkzero 0000015a _clarke1 003f6773 _cpu_timer0_isr 00000110 _decele_slope 00000220 _ePWM 003f6cee _epilog_c28x_1 003f6cf2 _epilog_c28x_2 00000060 _errno 003f6c84 _exit 003f6820 _exp 00000134 _fcc 000000e4 _fcc_DC 0000010e _fcc_Estspeed 000000d4 _invE0 000001dc _ipark1 00000136 _kc1 000000de _kc1_DC 000000ea _kc1_Estspeed 00000132 _kc2 000000f0 _kc2_DC 000000e8 _kc2_Estspeed 003f6b2e _ldexp 000000af _lsw 003f5353 _main 003f503a _motor_initial 00000484 _nData4Test 000001c0 _park1 000000a4 _pfc_counter 00008d00 _pi_i 00008d18 _pi_v 000002c0 _pid1_id 00000280 _pid1_iq 000002a0 _pid1_spd 003f6c9b _prolog_c28x_1 003f6c9f _prolog_c28x_2 003f6ca7 _prolog_c28x_3 00000162 _pwm1 0000016a _pwmdac1 00000240 _qep1 000000cc _qep_Advance_Angle 000000f8 _qep_Advance_Angle_Percent_Degree 0000012e _qep_Estimat_Theta 000001ce _rc1 0000018c _rc2 0000019a _rc3 00000120 _rc_tmp 00000091 _relay_off 00000092 _relay_off_timedelay 0000009c _relay_on 00000090 _relay_on_flag 0000008f _relay_on_timedelay 003f5000 _relaycontrol 00000180 _rg1 003f6729 _sciaRxFifoIsr 003f65e1 _sciaTxFifoIsr 003f5bea _scia_fifo_init 00000300 _smo1 000001a8 _smo1_const 000000fe _spd_Out_Current_Is 00000252 _speed1 00000200 _speed3 00000174 _svgen_dq1 000000c2 _t1 00000146 _t2 00000142 _temp_sv1 00000122 _temp_sv2 000000ba _timebase_100ms 000000bb _timebase_10ms 000000bd _timebase_5ms 00000083 _transmit_end_TimeoutReg 00000084 _transmit_end_flag 00000093 _vaczero_flag 00000096 _vaczero_time 00000264 _volt1 000000a7 _voltage_ad ffffffff binit 003f6d08 cinit 003f7ff6 code_start 003f6d08 etext ffffffff pinit GLOBAL SYMBOLS: SORTED BY Symbol Address address name -------- ---- 00000001 __TI_args_main 00000050 _CpuTimer0 00000058 __unlock 0000005a __lock 0000005c __cleanup_ptr 0000005e __dtors_ptr 00000060 _errno 00000080 _RgOut 00000081 _DeltaTheta 00000082 _SMOTheta 00000083 _transmit_end_TimeoutReg 00000084 _transmit_end_flag 00000085 _Current_U 00000086 _LED_counter 00000087 _ElecTheta 00000088 _Sensorless_Ok 00000089 _Speed_Choice 0000008a _Load_Start 0000008b _OpenLoop_Ok 0000008c _Parking_Step 0000008d _Parking_Test_Count 0000008e _Angle_Choice 0000008f _relay_on_timedelay 00000090 _relay_on_flag 00000091 _relay_off 00000092 _relay_off_timedelay 00000093 _vaczero_flag 00000094 _Gui_VpfcOut 00000095 _Index_Test_Data 00000096 _vaczero_time 00000097 _ModbusModule_Start_receive 00000098 _Gui_VpfcSet 00000099 _Test_Flag 0000009a _ModbusModule_TimeoutReg 0000009b _Regerne_Over_Voltage_time 0000009c _relay_on 0000009d _Gui_IpfcAvg 0000009e _SpeedLoopCount 0000009f _SpeedLoopPrescaler 000000a0 _V_dc_time 000000a1 _V_dc 000000a2 _EnableFlag 000000a3 _TempCalibratedAngle 000000a4 _pfc_counter 000000a5 _LockRotorFlag 000000a7 _voltage_ad 000000a8 _V_dc_total 000000a9 _Major_Faults_Flag 000000aa _Init_IFlag 000000ab _Motor_ON 000000ac _HWTripFlagPFC 000000ad _Speed_Reg 000000ae _Gui_VacLineAvg 000000af _lsw 000000b0 _BackTicker 000000b1 _PwmDacCh3 000000b2 _PwmDacCh2 000000b4 _PwmDacCh4 000000b5 _PFC_ON_Previous 000000b6 _Motor_ON_Previous 000000b7 _PwmDacCh1 000000b8 _Sector 000000b9 _MPeriod 000000ba _timebase_100ms 000000bb _timebase_10ms 000000bc _PIM_Reset_ON 000000bd _timebase_5ms 000000be _PFC_Over_Voltage_time 000000c0 _Vb 000000c2 _t1 000000c4 _For_Test_Count 000000c6 _Va 000000c8 _Vc 000000ca _FW_idRef 000000cc _qep_Advance_Angle 000000ce _VqTesting 000000d0 _VdTesting 000000d2 _E0 000000d4 _invE0 000000d6 _Advance_Angle 000000d8 _Angle_Comp 000000da _FilterC 000000dc _FilterB 000000de _kc1_DC 000000e0 _FilterCTemp 000000e2 _FilterBTemp 000000e4 _fcc_DC 000000e6 _FilterA 000000e8 _kc2_Estspeed 000000ea _kc1_Estspeed 000000ec _Angle_Test 000000ee _DC_BUS_Temp 000000f0 _kc2_DC 000000f2 _Estspeed_Temp 000000f4 _SpeedRefRPM 000000f6 _Max_Theta_error_Swith 000000f8 _qep_Advance_Angle_Percent_Degree 000000fa _Min_Speed 000000fc _Startup_Lock_Cnt 000000fe _spd_Out_Current_Is 00000100 _Theta_error 00000102 _IqRef_RampMax 00000104 _FW_idRef_permillage 00000106 _Current_Speed 00000108 _SpeedRef 0000010a _accele_slope 0000010c _IdRef 0000010e _fcc_Estspeed 00000110 _decele_slope 00000112 _IqRef 00000114 _IsrTicker 00000116 _T 00000118 _TmpD 0000011a _Tmp 0000011c _Park_IdRef 0000011e _Park_IqRef 00000120 _rc_tmp 00000122 _temp_sv2 00000124 _Tmp_fr 00000126 _Temp1 00000128 _SpeedRpm_Qep 0000012a _SpeedRpm 0000012c _Estimat_Theta 0000012e _qep_Estimat_Theta 00000130 _Parking_Delay 00000132 _kc2 00000134 _fcc 00000136 _kc1 00000138 _Current_OffsetA 0000013a _Current_OffsetB 0000013c _Test_Parking_Angle 0000013e _Max_Parking_Current 00000140 _Park_VqRef 00000142 _temp_sv1 00000144 _FilterATemp 00000146 _t2 00000148 _Park_VdRef 00000152 _Comp 0000015a _clarke1 00000162 _pwm1 0000016a _pwmdac1 00000174 _svgen_dq1 00000180 _rg1 0000018c _rc2 0000019a _rc3 000001a8 _smo1_const 000001c0 _park1 000001ce _rc1 000001dc _ipark1 000001ea _ACQPS 00000200 _speed3 00000210 _ChSel 00000220 _ePWM 00000230 _TrigSel 00000240 _qep1 00000252 _speed1 00000264 _volt1 00000280 _pid1_iq 000002a0 _pid1_spd 000002c0 _pid1_id 00000300 __STACK_SIZE 00000300 _smo1 00000340 _FWj 00000341 _FWi 00000380 _FdWeakParm 00000480 _SdataA_Num 00000481 _TxFifo_Time 00000482 _ModbusModule_Status 00000483 _RdataA_Num 00000484 _nData4Test 0000048e _RdataA 000004c0 _SdataA 000004f2 __stack 000007f2 __STACK_END 00000880 _DevEmuRegs 00000985 _SysPwrCtrlRegs 00000a80 _FlashRegs 00000ae0 _CsmRegs 00000b00 _AdcResult 00000c00 _CpuTimer0Regs 00000c08 _CpuTimer1Regs 00000c10 _CpuTimer2Regs 00000ce0 _PieCtrlRegs 00000d00 _EmuKey 00000d00 _PieVectTable 00000d01 _EmuBMode 00000d02 _Flash_CallbackPtr 00000d04 _Flash_CPUScaleFactor 00001400 _Cla1Regs 00001480 _VpfcOut 00001482 _VacLineAvg 00001484 _IpfcAvg 00001500 _Feedforward_ratio 00001502 _PFC_ON 00001503 _Output_Voltage_AD 00001504 _Gui_Vref 00006000 _ECanaRegs 00006040 _ECanaLAMRegs 00006080 _ECanaMOTSRegs 000060c0 _ECanaMOTORegs 00006100 _ECanaMboxes 00006400 _Comp1Regs 00006420 _Comp2Regs 00006440 _Comp3Regs 00006800 _EPwm1Regs 00006840 _EPwm2Regs 00006880 _EPwm3Regs 000068c0 _EPwm4Regs 00006900 _EPwm5Regs 00006940 _EPwm6Regs 00006980 _EPwm7Regs 00006a00 _ECap1Regs 00006b00 _EQep1Regs 00006c00 _LinaRegs 00006f80 _GpioCtrlRegs 00006fc0 _GpioDataRegs 00006fe0 _GpioIntRegs 00007010 _SysCtrlRegs 00007040 _SpiaRegs 00007050 _SciaRegs 00007060 _NmiIntruptRegs 00007070 _XIntruptRegs 00007100 _AdcRegs 00007740 _SpibRegs 00007900 _I2caRegs 00008000 _MainISR 00008000 _RamfuncsRunStart 000088bf _InitFlash 000088dc _DSP28x_usDelay 00008c00 __cla_scratchpad_start 00008d00 __cla_scratchpad_end 00008d00 _pi_i 00008d18 _pi_v 00008d30 _VoltageLoopCount 00008d32 _CurrentLoopCount 00008d34 _Ipfc 00008d36 _Ipfc_filter 00008d38 _IpfcAvg_old 00008d3a _VacLineRect 00008d3c _VacLineRect_filter 00008d3e _VacLineAvg_old 00008d40 _IRef 00008d42 _InvAvg 00008d44 _InvAvgSqr 00008d46 _FeedForward 00008d48 _Vref 00009000 _Cla1Prog_Start 00009000 _Cla1Task8 00009000 _Cla1funcsRunStart 000090c2 _Cla1Task7 000090ca _Cla1Task6 000090d2 _Cla1Task5 000090da _Cla1Task4 000090e2 _Cla1Task3 000090ea _Cla1Task2 000090f2 _Cla1Task1 003d7e80 _PartIdRegs 003f0000 _RamfuncsLoadStart 003f08e0 _RamfuncsLoadEnd 003f08e0 __IQ24atan2PU 003f0968 __IQ15div 003f09af __IQ24div 003f09f6 __IQ24sinPU 003f0a1f __IQ24cosPU 003f2000 _Cla1funcsLoadStart 003f2448 _Cla1funcsLoadEnd 003f5000 .text 003f5000 ___text__ 003f5000 _relaycontrol 003f503a _motor_initial 003f5273 _PIM_Reset 003f5297 _PFC_Reset 003f52b7 _PFC_OFF 003f52cc _Motor_PWM_OFF 003f5307 _HVDMC_Protection 003f5353 _main 003f59a9 _checkzero 003f59c1 _PFC_voltage_ramp 003f59f3 _Switchover_CloseLoop_for_New_Drive 003f5ac1 _Switchover_CloseLoop 003f5b78 _Speed_Regulate 003f5b90 _Slide_Disshakes_Average_Filter 003f5bcc _PFC_HW_Protection 003f5be2 _DLOG_BuffInit 003f5bea _scia_fifo_init 003f5c26 _SetRegisterVal 003f5c82 _SciaTx_Response 003f5c9f _Crc16 003f5cb6 _ModbusExcep 003f5ccf _PresetMultipleRegisters 003f5d11 _PresetSingleRegister 003f5d36 _GetRegisterVal 003f5e6f _ReadHoldRegisters 003f5ed1 _GetCoilVal 003f5ee3 _ReadCoil 003f5f3c _ResolveModbus 003f5f72 _ModbusRTUSlaveRun 003f5fe4 _XtalOscSel 003f5ff8 _WDogDisable 003f6000 _ServiceDog 003f600a _PieVectTableInit 003f601b _PieCntlInit 003f603a _PLLset 003f606c _MemCopy 003f607c _IntOsc1Sel 003f608c _InitGpio 003f616c _DeviceInit 003f61c7 _CLA_C_Init 003f6221 _FieldWeakening 003f62a5 _FWInit 003f6424 _ADC_SOC_CNF 003f65e1 _sciaTxFifoIsr 003f6729 _sciaRxFifoIsr 003f6773 _cpu_timer0_isr 003f6820 _exp 003f68be FD$$MPY 003f6941 FS$$DIV 003f69c4 FS$$SUB 003f69c9 FS$$ADD 003f6a3c FS$$MPY 003f6a96 _PWM_1ch_CNF 003f6aea _c_int00 003f6b2e _ldexp 003f6b6f _InitCpuTimers 003f6b84 _ConfigCpuTimer 003f6ba9 FS$$TOL 003f6bd2 FS$$TOI 003f6bf7 FD$$TOL 003f6c16 FS$$TOU 003f6c33 FS$$TOFD 003f6c4f I$$TOFS 003f6c69 __args_main 003f6c82 C$$EXIT 003f6c82 _abort 003f6c84 _exit 003f6c9b _prolog_c28x_1 003f6c9f _prolog_c28x_2 003f6ca7 _prolog_c28x_3 003f6cb4 FS$$CMP 003f6ccb UL$$TOFS 003f6cde U$$TOFS 003f6cee _epilog_c28x_1 003f6cf2 _epilog_c28x_2 003f6d02 _ISR_ILLEGAL 003f6d07 __nop 003f6d08 ___cinit__ 003f6d08 ___etext__ 003f6d08 cinit 003f6d08 etext 003f7088 _auchCRCHi 003f7188 _auchCRCLo 003f7ff6 code_start 003f7ff8 _CsmPwl 003fe000 _IQsinTable 003fe100 _IQcosTable 003fe400 _IQsinTableEnd 003fe502 _IQcosTableEnd 003fe502 _IQdivRoundSatTable 003fe510 _IQdivTable 003fe712 _IQdivTableEnd 003fe712 _IQisqrtRoundSatTable 003fe712 _IQsqrtRoundSatTable 003fe722 _IQisqrtTable 003fe722 _IQsqrtTable 003fe824 _IQatan2HalfPITable 003fe824 _IQisqrtTableEnd 003fe824 _IQsqrtTableEnd 003fe862 _IQatan2Table 003fe9e8 _IQ30mpyRndSatTable 003fe9e8 _IQatan2TableEnd 003fe9e8 _IQmpyRndSatTable 003fe9f4 _IQ29mpyRndSatTable 003fea00 _IQ28mpyRndSatTable 003fea0c _IQ27mpyRndSatTable 003fea18 _IQ26mpyRndSatTable 003fea24 _IQ25mpyRndSatTable 003fea30 _IQ24mpyRndSatTable 003fea3c _IQ23mpyRndSatTable 003fea48 _IQ22mpyRndSatTable 003fea54 _IQ21mpyRndSatTable 003fea60 _IQ20mpyRndSatTable 003fea6c _IQ19mpyRndSatTable 003fea78 _IQ18mpyRndSatTable 003fea84 _IQ17mpyRndSatTable 003fea90 _IQ16mpyRndSatTable 003fea9c _IQ15mpyRndSatTable 003feaa8 _IQ14mpyRndSatTable 003feab4 _IQ13mpyRndSatTable 003feac0 _IQ12mpyRndSatTable 003feacc _IQ11mpyRndSatTable 003fead8 _IQ10mpyRndSatTable 003feae4 _IQ9mpyRndSatTable 003feaf0 _IQ8mpyRndSatTable 003feafc _IQ7mpyRndSatTable 003feb08 _IQ6mpyRndSatTable 003feb14 _IQ5mpyRndSatTable 003feb20 _IQ4mpyRndSatTable 003feb2c _IQ3mpyRndSatTable 003feb38 _IQ2mpyRndSatTable 003feb44 _IQ1mpyRndSatTable 003feb50 _IQmpyRndSatTableEnd ffffffff ___binit__ ffffffff ___c_args__ ffffffff ___pinit__ ffffffff binit ffffffff pinit [406 symbols] |
|
|
|
tcwhy305 发表于 2018-5-14 03:51 楼主你好! 可以将你的数组变量放到RAML0段去,方法可参考如下: #pragma DATA_SECTION(array,"mysect") _iq array[16][16]; 然后在CMD文件中的section部分添加以下段: mysect : > RAML0, PAGE = 0 |
|
|
|
使用-mo指令,可以将不使用的函数去掉 Young Hu |
|
|
|
您好,我想请教下你 CMD文件的配置, 我直接用例程的CLA.CMD文件,会报错,说 _Cla1Prog_Start = _Cla1funcsRunStart; 未定义 请问这是什么原因啊 |
|
|
|
URtea 发表于 2018-5-14 04:27 楼主你好! 如果.CMD文件中包含 _Cla1Prog_Start = _Cla1funcsRunStart,那么请确保你的.CMD文件中包含下面这个段定义,楼主可以更新controlSUITE,里面有最新的CLA的C例程,楼主可以直接使用里面的CMD文件。楼主也可以将.CMD文件贴上来看一下! Cla1Prog : LOAD = FLASHD, RUN = RAML3, LOAD_START(_Cla1funcsLoadStart), LOAD_SIZE(_Cla1funcsLoadSize) RUN_START(_Cla1funcsRunStart), LOAD_SIZE(_Cla1funcsLoadSize), PAGE = 0 |
|
|
|
Ehunt 发表于 2018-5-14 04:32 您好: 我有下面这一段的,这个问题暂时解决了。现在出现这样的问题: undefined first referenced symbol in file --------- ---------------- __cla_scratchpad_end __cla_scratchpad_start 下面是我的.CMD文件: _Cla1Prog_Start = _Cla1funcsRunStart; --undef_sym=__cla_scratchpad_end --undef_sym=__cla_scratchpad_start MEMORY [ /*Program Space*/ PAGE 0: RAML0 : origin = 0x008000, length = 0x000800 /* on-chip RAM (L0)*/ RAML3 : origin = 0x009000, length = 0x001000 /* data RAM (L3) */ OTP : origin = 0x3D7800, length = 0x000400 /* on-chip OTP */ FLASHH : origin = 0x3E8000, length = 0x002000 /* on-chip FLASH */ FLASHG : origin = 0x3EA000, length = 0x002000 /* on-chip FLASH */ FLASHF : origin = 0x3EC000, length = 0x002000 /* on-chip FLASH */ FLASHE : origin = 0x3EE000, length = 0x002000 /* on-chip FLASH */ FLASHD : origin = 0x3F0000, length = 0x002000 /* on-chip FLASH */ // FLASHC : origin = 0x3F2000, length = 0x002000 /* on-chip FLASH */ FLASHA : origin = 0x3F2000, length = 0x005F80 /* on-chip FLASH */ CSM_RSVD : origin = 0x3F7F80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */ BEGIN : origin = 0x3F7FF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */ CSM_PWL : origin = 0x3F7FF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */ IQTABLES : origin = 0x3FE000, length = 0x000B50 /* IQ Math Tables in Boot ROM */ IQTABLES2 : origin = 0x3FEB50, length = 0x00008C /* IQ Math Tables in Boot ROM */ IQTABLES3 : origin = 0x3FEBDC, length = 0x0000AA /* IQ Math Tables in Boot ROM */ BOOTROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */ RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */ VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */ /*Data Space*/ PAGE 1 : BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */ RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */ RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */ RAMEBSS : origin = 0x3F8000, length = 0x3F8800 CLARAM0 : origin = 0x008800, length = 0x000400 /* on-chip RAM block L1 */ CLARAM1 : origin = 0x008C00, length = 0x000400 /* on-chip RAM block L2 */ CLA_CPU_MSGRAM : origin = 0x001480, length = 0x000080 /* CLA-R/W, CPU-R message RAM */ CPU_CLA_MSGRAM : origin = 0x001500, length = 0x000080 /* CPU-R/W, CLA-R message RAM */ // FLASHB : origin = 0x3F4000, length = 0x002000 /* on-chip FLASH */ ] SECTIONS [ /* Allocate program areas: */ .cinit : > FLASHA, PAGE = 0 .pinit : > FLASHA, PAGE = 0 .text : > FLASHA, PAGE = 0 codestart : > BEGIN PAGE = 0 ramfuncs : LOAD = FLASHD, RUN = RAML0, LOAD_START(_RamfuncsLoadStart), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), PAGE = 0 Cla1Prog : LOAD = FLASHA, /* Note for running from RAM the load and RUN can be the same */ RUN = RAML3, LOAD_START(_Cla1funcsLoadStart), LOAD_END(_Cla1funcsLoadEnd), RUN_START(_Cla1funcsRunStart), PAGE = 0 csmpasswds : > CSM_PWL PAGE = 0 csm_rsvd : > CSM_RSVD PAGE = 0 /* Allocate uninitalized data sections: */ .stack : > RAMM0, PAGE = 1 .ebss : > RAMEBSS, PAGE = 1 .esysmem : > RAMM1, PAGE = 1 /* Initalized sections go in Flash */ /* For SDFlash to program these, they must be allocated to page 0 */ .econst : > FLASHA PAGE = 0 .switch : > FLASHA PAGE = 0 /* Allocate IQ math areas: */ IQmath : > FLASHD PAGE = 0 /* Math Code */ IQmathTables : > IQTABLES PAGE = 0, TYPE = NOLOAD /* Math Tables In ROM */ Cla1ToCpuMsgRAM : > CLA_CPU_MSGRAM PAGE = 1 CpuToCla1MsgRAM : > CPU_CLA_MSGRAM PAGE = 1 ClaDataRam0 : > CLARAM0, PAGE = 1 ClaDataRam1 : > CLARAM1, PAGE = 1 CLAmathTables : > CLARAM1, PAGE = 1 CLA1mathTables : > CLARAM1, PAGE = 1 // // Must be allocated to memory the CLA has write access to // CLAscratch : [ *.obj(CLAscratch) . += CLA_SCRATCHPAD_SIZE; *.obj(CLAscratch_end) ] > CLARAM0, PAGE = 1 .reset : > RESET, PAGE = 0, TYPE = DSECT vectors : > VECTORS PAGE = 0, TYPE = DSECT /* Uncomment the section below if calling the IQNexp() or IQexp() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ /* IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD [ IQmath.lib ] */ /* Uncomment the section below if calling the IQNasin() or IQasin() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ /* IQmathTables3 : > IQTABLES3, PAGE = 0, TYPE = NOLOAD [ IQmath.lib ] */ ] |
|
|
|
Ehunt 发表于 2018-5-14 04:32 我直接用里面的CMD也出现: undefined first referenced symbol in file --------- ---------------- __cla_scratchpad_end __cla_scratchpad_start |
|
|
|
外部RAM接口,可以扩展RAM! |
|
|
|
mysect : > RAML0, PAGE = 0 请问一下,把数组array分配到段mysect里面,mysect应该是在PAGE 1吧,不是PAGE 0,也就是DATA。 |
|
|
|
只有小组成员才能发言,加入小组>>
356 浏览 1 评论
549 浏览 2 评论
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
795 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
665 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1141 浏览 1 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
91浏览 29评论
360浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
267浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
217浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
70浏览 13评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-30 10:13 , Processed in 1.669767 second(s), Total 107, Slave 88 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号