TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F28384S: 烧录仿真器连接失败

hyh阅读(1127)

Part Number:TMS320F28384S

Debug的时候报这种错
直接验证连接的时候却显示连接正确

hyh:

换了块板子,换了个仿真器,换了个工作空间,Debug都报同样的问题

,

hyh:

烧其他工程也报同样的错

,

Eirwen:

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

hyh:

报错原文如下:Error connecting to the target:(Error -1135 @ 0x0)The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation.(Emulation package 20.0.0.3178)

,

hyh:

 现在验证连接也出问题了

,

hyh:

 换了个USB插口,连接验证恢复了,但是调试依旧报同样的错

,

hyh:

再换了一块新板后就跑通了,应该是DCSM工的问题,开放OTP烧写的话是不是只能烧一次,之后板子就连不上了是吧

,

Taylor:

是的,就是您分析的原因。

LAUNCHXL-F28379D:BOOT引导错误

Johnson Edwin阅读(891)

Part Number:LAUNCHXL-F28379D

在調試TI28379D的BOOT下載引導時,發現帶仿真器復位能透過BOOT程式指定位址運行到APP上,但是不連著模擬器,就會在BOOT跳轉位址時死掉。

TRANSLATE with x
English

Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian
TRANSLATE with

COPY THE URL BELOW

Back
EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal
Back
此页面的语言为中文(简体)
翻译为
  • 中文(简体)
  • 中文(繁体)
  • 丹麦语
  • 乌克兰语
  • 乌尔都语
  • 亚美尼亚语
  • 俄语
  • 保加利亚语
  • 克罗地亚语
  • 冰岛语
  • 加泰罗尼亚语
  • 匈牙利语
  • 卡纳达语
  • 印地语
  • 印尼语
  • 古吉拉特语
  • 哈萨克语
  • 土耳其语
  • 威尔士语
  • 孟加拉语
  • 尼泊尔语
  • 布尔语(南非荷兰语)
  • 希伯来语
  • 希腊语
  • 库尔德语
  • 德语
  • 意大利语
  • 拉脱维亚语
  • 挪威语
  • 捷克语
  • 斯洛伐克语
  • 斯洛文尼亚语
  • 旁遮普语
  • 日语
  • 普什图语
  • 毛利语
  • 法语
  • 波兰语
  • 波斯语
  • 泰卢固语
  • 泰米尔语
  • 泰语
  • 海地克里奥尔语
  • 爱沙尼亚语
  • 瑞典语
  • 立陶宛语
  • 缅甸语
  • 罗马尼亚语
  • 老挝语
  • 芬兰语
  • 英语
  • 荷兰语
  • 萨摩亚语
  • 葡萄牙语
  • 西班牙语
  • 越南语
  • 阿塞拜疆语
  • 阿姆哈拉语
  • 阿尔巴尼亚语
  • 阿拉伯语
  • 韩语
  • 马尔加什语
  • 马拉地语
  • 马拉雅拉姆语
  • 马来语
  • 马耳他语
  • 高棉语
随时将中文(简体)翻译为 一律不翻译中文(简体)一律不翻译e2echina.ti.com
Lydia:

您好,已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Johnson Edwin:

问题解决了,是APP里面初始化flash函数里使能了ECC导致的,BOOT里面是关闭了ECC,谢谢

,

Taylor:

好的,谢谢分享问题以及解决方法

TMS320F28P659DK-Q1: CLA call fmodf function

Levin Zhang阅读(1134)

Part Number:TMS320F28P659DK-Q1

How to call fmodf funciton with Cla, I try to use clamath, but there is an error.  

Vivian Gao:

感谢您对TI产品的关注! 关于你的咨询,我们正在确认你的问题,稍后回复您。

TMS320F28034: 在初始化的时候,调用delay_us函数进入非法中断

zy pan阅读(820)

Part Number:TMS320F28034Other Parts Discussed in Thread:C2000WARE

按照网上的说法,调用了memcpy((uint16_t *)&RamfuncsRunStart,(uint16_t *)&RamfuncsLoadStart, (unsigned long)&RamfuncsLoadSize);
InitFlash();,但是还是进入非法中断

Eirwen:

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Eirwen:

可以参考C2000WARE中的代码进行调试:

www.ti.com/…/C2000WARE

,

zy pan:

我这边肯定是按照C2000的例程来操作,然后不行才来咨询

,

zy pan:

例程是有问题的,

//###########################################################################//// FILE: Example_2803xAdcSoc.c//// TITLE: ADC Start of Conversion example////! \addtogroup f2803x_example_list//! <h1> ADC Start of Conversion (adc_soc)</h1>//!//! This ADC example uses ePWM1 to generate a periodic ADC SOC – ADCINT1.//! Two channels are converted, ADCINA4 and ADCINA2.//!//! \b Watch \b Variables \n//! – Voltage1[10] – Last 10 ADCRESULT0 values//! – Voltage2[10] – Last 10 ADCRESULT1 values//! – ConversionCount – Current result number 0-9//! – LoopCount – Idle loop counter//////###########################################################################// $TI Release: $// $Release Date: $// $Copyright:// Copyright (C) 2009-2025 Texas Instruments Incorporated – http://www.ti.com///// Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met:// // Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer.// // Redistributions in binary form must reproduce the above copyright// notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the // distribution.// // Neither the name of Texas Instruments Incorporated nor the names of// its contributors may be used to endorse or promote products derived// from this software without specific prior written permission.// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.// $//###########################################################################

//// Included Files//#include "DSP28x_Project.h" // Device Headerfile and Examples Include File

//// Function Prototypes//__interrupt void adc_isr(void);void Adc_Config(void);

//// Global variables//Uint16 LoopCount;Uint16 ConversionCount;Uint16 Voltage1[10];Uint16 Voltage2[10];

//// Main//void main(void){ // // Step 1. Initialize System Control: // PLL, WatchDog, enable Peripheral Clocks // This example function is found in the DSP2803x_SysCtrl.c file. // InitSysCtrl();

// // Step 2. Initialize GPIO: // This example function is found in the DSP2803x_Gpio.c file and // illustrates how to set the GPIO to it's default state. // // InitGpio(); // Skipped for this example

// // Step 3. Clear all interrupts and initialize PIE vector table: // Disable CPU interrupts // DINT;

// // Initialize the PIE control registers to their default state. // The default state is all PIE interrupts disabled and flags // are cleared. // This function is found in the DSP2803x_PieCtrl.c file. // InitPieCtrl();

// // Disable CPU interrupts and clear all CPU interrupt flags // IER = 0x0000; IFR = 0x0000;

// // Initialize the PIE vector table with pointers to the shell Interrupt // Service Routines (ISR). // This will populate the entire table, even if the interrupt // is not used in this example. This is useful for debug purposes. // The shell ISR routines are found in DSP2803x_DefaultIsr.c. // This function is found in DSP2803x_PieVect.c. // InitPieVectTable();

// // Interrupts that are used in this example are re-mapped to // ISR functions found within this file. // EALLOW; // This is needed to write to EALLOW protected register PieVectTable.ADCINT1 = &adc_isr; EDIS; // This is needed to disable write to EALLOW protected registers

// // Step 4. Initialize all the Device Peripherals: // InitAdc(); // For this example, init the ADC AdcOffsetSelfCal();

// // Step 5. User specific code, enable interrupts: //

// // Enable ADCINT1 in PIE // PieCtrlRegs.PIEIER1.bit.INTx1 = 1; // Enable INT 1.1 in the PIE IER |= M_INT1; // Enable CPU Interrupt 1 EINT; // Enable Global interrupt INTM ERTM; // Enable Global realtime interrupt DBGM LoopCount = 0; ConversionCount = 0;

// // Configure ADC // Note: Channel ADCINA4 will be double sampled to workaround the // ADC 1st sample issue for rev0 silicon errata // EALLOW; AdcRegs.ADCCTL1.bit.INTPULSEPOS = 1; //ADCINT1 trips after AdcResults latch AdcRegs.INTSEL1N2.bit.INT1E = 1; // Enabled ADCINT1 AdcRegs.INTSEL1N2.bit.INT1CONT = 0; // Disable ADCINT1 Continuous mode AdcRegs.INTSEL1N2.bit.INT1SEL = 2; // setup EOC2 to trigger // ADCINT1 to fire // // set SOC0 channel select to ADCINA4 // (dummy sample for rev0 errata workaround) // AdcRegs.ADCSOC0CTL.bit.CHSEL = 4; AdcRegs.ADCSOC1CTL.bit.CHSEL = 4; //set SOC1 channel select to ADCINA4 AdcRegs.ADCSOC2CTL.bit.CHSEL = 2; //set SOC2 channel select to ADCINA2 // // set SOC0 start trigger on EPWM1A, due to round-robin SOC0 converts // first then SOC1, then SOC2 // AdcRegs.ADCSOC0CTL.bit.TRIGSEL = 5; // // set SOC1 start trigger on EPWM1A, due to round-robin SOC0 converts // first then SOC1, then SOC2 // AdcRegs.ADCSOC1CTL.bit.TRIGSEL = 5; // // set SOC2 start trigger on EPWM1A, due to round-robin SOC0 converts // first then SOC1, then SOC2 // AdcRegs.ADCSOC2CTL.bit.TRIGSEL = 5; // // set SOC0 S/H Window to 7 ADC Clock Cycles, (6 ACQPS plus 1) // AdcRegs.ADCSOC0CTL.bit.ACQPS = 6; // // set SOC1 S/H Window to 7 ADC Clock Cycles, (6 ACQPS plus 1) // AdcRegs.ADCSOC1CTL.bit.ACQPS = 6; // // set SOC2 S/H Window to 7 ADC Clock Cycles, (6 ACQPS plus 1) // AdcRegs.ADCSOC2CTL.bit.ACQPS = 6; EDIS;

// // Assumes ePWM1 clock is already enabled in InitSysCtrl(); // EPwm1Regs.ETSEL.bit.SOCAEN = 1; // Enable SOC on A group EPwm1Regs.ETSEL.bit.SOCASEL = 4; // Select SOC from from CPMA on upcount EPwm1Regs.ETPS.bit.SOCAPRD = 1; // Generate pulse on 1st event EPwm1Regs.CMPA.half.CMPA = 0x0080; // Set compare A value EPwm1Regs.TBPRD = 0xFFFF; // Set period for ePWM1 EPwm1Regs.TBCTL.bit.CTRMODE = 0; // count up and start

// // Wait for ADC interrupt // for(;;) { LoopCount++; }}

//// adc_isr -//__interrupt voidadc_isr(void){ // // discard ADCRESULT0 as part of the workaround to the // 1st sample errata for rev0 // Voltage1[ConversionCount] = AdcResult.ADCRESULT1; Voltage2[ConversionCount] = AdcResult.ADCRESULT2;

// // If 20 conversions have been logged, start over // if(ConversionCount == 9) { ConversionCount = 0; } else { ConversionCount++; }

// // Clear ADCINT1 flag reinitialize for next SOC // AdcRegs.ADCINTFLGCLR.bit.ADCINT1 = 1; PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Acknowledge interrupt to PIE

return;}

//// End of File//

你们也可以跑一下看看,在初始化ADC就会触发非法中断

TMS320F280049C: 数据在debug模式下和release模式下读取不一致

teng li阅读(822)

Part Number:TMS320F280049C

在debug模式下读取存储在LSRAM中的数据是正确的,但是在Release模式下读取数据是错误的,这是什么原因呢?看了手册说RAM有访问保护,是保护的问题吗?

 这是正常的数据。

 这是异常的数据。

  这是内存分配。

Daniel:

您好

已经收到了您的案例,调查需要些时间,感谢您的耐心等待

TMS320F28377D: ePWM 使用上升下降模式 进行调制时出现异常驱动

JAME ORACAL阅读(997)

Part Number:TMS320F28377D

ePWM 使用上升下降模式 进行调制时出现异常驱动;

在PWM封波后发出一个周期长脉冲

控制代码:

if( mInvtCtl.Pwmap < mInvtCtl.MinPwm) { L1H.CMPA.bit.CMPA = 0; L1H.AQCSFRC.all = 0b0101;}
else if(mInvtCtl.Pwmap > mInvtCtl.MaxPwm){ L1H.CMPA.bit.CMPA = EPwm1Regs.TBPRD; L1H.AQCSFRC.all = 0b1010;}
else { L1H.CMPA.bit.CMPA = mInvtCtl.Pwmap; L1H.AQCSFRC.all = 0; }

if( mInvtCtl.Pwman < mInvtCtl.MinPwm) { L1L.CMPA.bit.CMPA = 0; L1L.AQCSFRC.all = 0b0101;}
else if(mInvtCtl.Pwman > mInvtCtl.MaxPwm){ L1L.CMPA.bit.CMPA = EPwm1Regs.TBPRD; L1L.AQCSFRC.all = 0b1010;}
else { L1L.CMPA.bit.CMPA = mInvtCtl.Pwman; L1L.AQCSFRC.all = 0; }

EPWM配置

p->TBPRD = 2000; // Set timer period
p->TBPHS.bit.TBPHS = 0x0000; // Phase is 0
p->TBCTR = 0x0000; // Clear counter

//
// Setup TBCLK
//
p->TBCTL.bit.CTRMODE = TB_COUNT_UPDOWN; // Count up
p->TBCTL.bit.PHSEN = TB_ENABLE; // Disable phase loadingTB_ENABLE;//
p->TBCTL.bit.HSPCLKDIV = TB_DIV1; // Clock ratio to SYSCLKOUT
p->TBCTL.bit.CLKDIV = TB_DIV1;

p->CMPCTL.bit.SHDWAMODE = CC_SHADOW; // Load registers every ZERO
p->CMPCTL.bit.SHDWBMODE = CC_SHADOW;
p->CMPCTL.bit.LOADAMODE = CC_CTR_ZERO_PRD;
p->CMPCTL.bit.LOADBMODE = CC_CTR_ZERO_PRD;

p->TBCTL.bit.SYNCOSEL = TB_SYNC_IN; //
//
// Setup compare
//
p->CMPA.bit.CMPA = 1000;

//
// Set actions
//
p->AQCTLA.all = 0;
p->AQCTLA.bit.CAU = AQ_CLEAR; // Set PWM1A on Zero
p->AQCTLA.bit.PRD = AQ_NO_ACTION;
p->AQCTLA.bit.CAD = AQ_SET;
p->AQCTLA.bit.ZRO = AQ_NO_ACTION;
p->AQCTLB.all = 0;
p->AQCTLB.bit.CAU = AQ_CLEAR; // Set PWM1A on Zero
p->AQCTLB.bit.PRD = AQ_NO_ACTION;
p->AQCTLB.bit.CAD = AQ_SET;
p->AQCTLB.bit.ZRO = AQ_NO_ACTION;
//
// Active Low PWMs – Setup Deadband
//
p->DBCTL.bit.OUT_MODE = DB_FULL_ENABLE;
p->DBCTL.bit.POLSEL = DB_ACTV_HIC;
p->DBCTL.bit.IN_MODE = DBA_RED_DBB_FED;
p->DBRED.bit.DBRED = EPWM1_MIN_DB;
p->DBFED.bit.DBFED = EPWM1_MIN_DB;
//EPwm1_DB_Direction = DB_UP;
p->AQCSFRC.all = 0x9;

Vivian Gao:

感谢您对TI产品的关注! 关于你的咨询,我们正在确认你的问题,稍后回复您。

TMS320F28P550SJ: TMS320F28P550SJ使用SysConfig1.23可以同时配置RFFT功能和USB功能吗?能否给出例程。

hongwei liu阅读(977)

Part Number:TMS320F28P550SJOther Parts Discussed in Thread: SYSCONFIG, C2000WARE

您好!

请问:TMS320F28P550SJ使用SysConfig1.23可以同时配置RFFT功能和USB功能吗?能否给出例程。

Vivian Gao:

感谢您对TI产品的关注! 关于你的咨询,我们正在确认你的问题,稍后回复您。

,

Alice:

您好,

       很遗憾,没有相关例程。

       SysConfig用于MCU接口配置,而RFFT功能由DSP library支持。

,

hongwei liu:

请问:TMS320F28P550SJ可以同时使用RFFT功能和USB功能吗?

,

hongwei liu:

我使用usb_ex1_dev_serial例程,往里面加入F28P55x_rfft_fpu32例程中的RFFT计算功能,会出现编译不过。反过来使用F28P55x_rfft_fpu32例程,往里面迁移usb_ex1_dev_serial的功能,也会出现编译不过。如下所示:

[75]Building target: "usb_ex1_dev_serial.out"[76]Invoking: C2000 Linker[77]"D:/ti/ccs2010/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu1 –vcu_support=vcrc -Ooff –define=RAM –define=ccs_c2k –define=DEBUG –diag_suppress=10063 –diag_warning=225 –diag_wrap=off –display_error_number –gen_func_subsections=on –abi=eabi -z -m"usb_ex1_dev_serial.map" –heap_size=0x200 –stack_size=0x3F8 –warn_sections -i"D:/ti/ccs2010/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib" -i"D:/ti/c2000/C2000Ware_5_04_00_00" -i"C:/Users/lenovo/workspace_ccstheia/usb_ex1_dev_serial/CPU1_RAM/syscfg" -i"D:/ti/ccs2010/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="usb_ex1_dev_serial_linkInfo.xml" –entry_point=code_start –rom_model -o "usb_ex1_dev_serial.out" "./AP_RFFT.obj" "./usb_ex1_dev_serial.obj" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./syscfg/usb_structs.obj" "./usb_hal.obj" "./ustdlib.obj" "./device/device.obj" "./device/f28p55x_codestartbranch.obj" "../28p55x_RAM_combined_lnk.cmd" "D:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f28p55x/driverlib/ccs/Debug/driverlib.lib" "D:/ti/c2000/C2000Ware_5_04_00_00/libraries/communications/usb/f28p55x/lib/usblib.lib" -lc2000ware_libraries.cmd.genlibs -llibc.a [78]&lt;Linking&gt;[79]warning #10204-D: could not resolve index library "c28x_fpu_dsp_library.lib" to a compatible library [80] undefined first referenced [81] symbol in file [82] ——— —————- [83] RFFT_f32_sincostable ./syscfg/c2000ware_libraries.obj [84]error #10234-D: unresolved symbols remain[85]error #10010: errors encountered during linking; "usb_ex1_dev_serial.out" not built [86]&gt;> Compilation failure[87]makefile:148: recipe for target 'usb_ex1_dev_serial.out' failed[88]gmake[1]: *** [usb_ex1_dev_serial.out] Error 1[89]makefile:144: recipe for target 'all' failed[90]gmake: *** [all] Error 2[91]**** Build Finished

所以,TMS320F28P550SJ可以同时使用RFFT功能和USB功能吗?

TMS320F28377D: 28377D

大鹏阅读(1383)

Part Number:TMS320F28377D

尊敬的TI技术支持您好,我使用的CCS12.8.1

工程编译后提示:

C28xx_CPU1: GEL Output:Memory Map Initialization Complete
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
IcePick_C_0: Trouble Reading Memory Block at 0x0 on Page 0 of Length 0xc8

不知道怎么解决,希望得到您的帮助!

还有就是我最近在开发设备中,CCS处于debug模式,但如果此时周围器件突然接入电压,会导致CCS断开,这个问题又该如何解决呢?

Lydia:

您好,已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Alice:

您好,

大鹏 说:IcePick_C_0: Trouble Reading Memory Block at 0x0 on Page 0 of Length 0xc8

    请选择与芯片型号匹配的Target Configuration file (.ccxml) 

    建议直接参考F28377D 示例工程。

大鹏 说:但如果此时周围器件突然接入电压,会导致CCS断开

     请检查是否由于芯片复位的原因

CCS编译报错,程序没问题

whong zhao阅读(664)

专家

您好!

 编译器编译正常的程序报错,CCSVersion: 20.2.0.12__1.8.0

之前安装后出现过问题,后来重新装这个软件,解决了,没过一周,再次使用软件又报错了 错误都是一样的

[0]**** Build of configuration Debug for project Zx'x'x'x'x_V0.2.2 ****
[1]D:\ti\ccs\utils\bin\gmake -k -j 12 all -O[2]Error: "D:\\ti\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

哪个软件,哪个地方需要设置吗,之前版本没有这个问题,新版本出现好几次了

Alice:

您好,

       这是完整的报错信息吗?

       原先的工程是基于哪个版本建立的? 

       如果是从CCS12(eclipse) 到CCS20(Theia) ,请参考

      Migrating from Code Composer Studio Eclipse to Code Composer Studio Theia

© 2025 TI中文支持网   网站地图 鲁ICP备2022002796号-1