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

F28069调试单步运行可以,全速运行跑飞

while(1)
	{
		count_n++;
//	DELAY_US(10000);

		BSP_LED_Toggle(LED1);

	}

主程序的大循环只有闪灯的代码,单步运行灯可以闪,全速运行程序跑飞,调用delay会进入illegal_isr。

自己设计的板子,请问一下这是什么情况?

Xunli Feng:

对f28069_xds100v2.ccxml文件执行test connection,发现有错误:

[Start: Texas Instruments XDS100v2 USB Emulator_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]

—–[Print the board config pathname(s)]————————————

C:\Users\silly\AppData\Local\TEXASI~1\CCS\ ti\0\0\BrdDat\testBoard.dat

—–[Print the reset-command software log-file]—————————–

This utility has selected a 100- or 510-class product.This utility will load the adapter 'jioserdesusb.dll'.

An error occurred while soft opening the controller.

—–[An error has occurred and this utility has aborted]——————–

This error is generated by TI's USCIF driver or utilities.

The value is '-151' (0xffffff69).The title is 'SC_ERR_FTDI_OPEN'.

The explanation is:One of the FTDI driver functions used duringthe connect returned bad status or an error.The cause may one or more of: invalid emulator serial number,blank emulator EEPROM, missing FTDI drivers, faulty USB cable.Use the xds100serial command-line utility in the 'common/uscif'folder to verify the emulator can be located.

[End: Texas Instruments XDS100v2 USB Emulator_0]

while(1)
	{
		count_n++;
//	DELAY_US(10000);

		BSP_LED_Toggle(LED1);

	}

主程序的大循环只有闪灯的代码,单步运行灯可以闪,全速运行程序跑飞,调用delay会进入illegal_isr。

自己设计的板子,请问一下这是什么情况?

Seven Han:

回复 Xunli Feng:

检查下仿真器驱动是否装好?

试试重新插拔几次。

while(1)
	{
		count_n++;
//	DELAY_US(10000);

		BSP_LED_Toggle(LED1);

	}

主程序的大循环只有闪灯的代码,单步运行灯可以闪,全速运行程序跑飞,调用delay会进入illegal_isr。

自己设计的板子,请问一下这是什么情况?

Young Hu:

可以看一下是从哪个地方跳进faultISR的。

赞(0)
未经允许不得转载:TI中文支持网 » F28069调试单步运行可以,全速运行跑飞
分享到: 更多 (0)