iar+jlink+9b96提示如下:已经设置了0x00001000
Wed Jun 22 10:06:02 2011: Loaded macro file: C:Program FilesIAR SystemsEmbedded Workbench 5.4 Evaluation_0armconfigflashloaderTexasInstrumentsFlashLM3Sxxx.mac
Wed Jun 22 10:06:04 2011: JLINK command: ProjectFile = D:kkkkkLM3SLib_Interrupt_GPIO-OKsettingsDemo_Debug.jlink, return = 0
Wed Jun 22 10:06:04 2011: JLINK command: device = LM3SxBxx, return = 0
Wed Jun 22 10:06:04 2011: DLL version: V4.14e, compiled Jun 30 2010 14:36:44
Wed Jun 22 10:06:04 2011: Firmware: J-Link ARM V7 compiled Jun 30 2009 11:05:27
Wed Jun 22 10:06:04 2011: JTAG speed is initially set to: 32 kHz
Wed Jun 22 10:06:04 2011: TotalIRLen = 4, IRPrint = 0x01
Wed Jun 22 10:06:04 2011: Found Cortex-M3 r2p0, Little endian.
Wed Jun 22 10:06:04 2011: TPIU fitted.
Wed Jun 22 10:06:04 2011: FPUnit: 6 code (BP) slots and 2 literal slots
Wed Jun 22 10:06:05 2011: Hardware reset with strategy 0 was performed
Wed Jun 22 10:06:05 2011: Initial reset was performed
Wed Jun 22 10:06:05 2011: Found 1 JTAG device, Total IRLen = 4:
Wed Jun 22 10:06:05 2011: #0 Id: 0x4BA00477, IRLen: 4, IRPrint: 0x1 CoreSight JTAG-DP
Wed Jun 22 10:06:05 2011: Turning off watchdog
Wed Jun 22 10:06:05 2011: 392 bytes downloaded and verified (0.74 Kbytes/sec)
Wed Jun 22 10:06:05 2011: Warning:
Verify error at address 0x200000B6, target byte: 0xFA, byte in file: 0xF2
Wed Jun 22 10:06:12 2011: Fatal error: There were warnings during download of FLASH loader, see Log Window Session aborted!
Wed Jun 22 10:06:12 2011: Failed to load flash loader: C:Program FilesIAR SystemsEmbedded Workbench 5.4 Evaluation_0armconfigflashloaderTexasInstrumentsFlashLM3SxxxRAM32K.out
Wed Jun 22 10:06:12 2011: Failed to load flash loader: C:Program FilesIAR SystemsEmbedded Workbench 5.4 Evaluation_0armconfigflashloaderTexasInstrumentsFlashLM3Sx8xx.flash
有时候能到调试界面,但是还是不能调试。警告如下:
Wed Jun 22 10:09:17 2011: Warning: Too many verify errors, only the first 200 are displayed
Wed Jun 22 10:09:21 2011: Warning: There were warnings during download, see Log Window
Wed Jun 22 10:09:21 2011: Loaded debugee: D:kkkkkLM3SLib_Interrupt_GPIO-OKDebugExeDemo.out
Wed Jun 22 10:09:21 2011: TotalIRLen = 4, IRPrint = 0x01
Wed Jun 22 10:09:21 2011: Found Cortex-M3 r2p0, Little endian.
Wed Jun 22 10:09:21 2011: TPIU fitted.
Wed Jun 22 10:09:21 2011: FPUnit: 6 code (BP) slots and 2 literal slots
Wed Jun 22 10:09:21 2011: Hardware reset with strategy 0 was performed
Wed Jun 22 10:09:22 2011: Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xF7BF4A57
Wed Jun 22 10:09:22 2011: Target reset
[
本帖最后由 shzps 于 2011-6-22 13:55 编辑 ]
此帖出自
小平头技术问答
[ 本帖最后由 shzps 于 2011-6-27 10:10 编辑 ]
提示:there were warning during download see log window
程序下载结束后,指针跳到0x11c处,为什么?
[ 本帖最后由 shzps 于 2011-6-27 12:39 编辑 ]1.LZ既然能在IAR+jlink+lm flash prog将程序下到8962当中,那么排除软件安装问题和JLINK问题,那么我们就再考虑芯片配置问题;
2.我们知道LM3S9B96与8962的配置差不多,但是还是有区别的,同时LZ不仅要实现下载程序还在进行仿真调试,所以两种芯片的在配置的时候有区别的,一是目标芯片的选择,二是DEBUG配置,还有就是simulate的配置;
3.如果以上都没有问题,同时LZ可以试试其它的板子,如果都OK,说明LZ的这块芯片有问题咯;
4.LZ可以用KEIL RMDK测试一下您手上的板子是否有问题,如果OK的话,那么问题就难找了;
还有LZ在9楼和10楼说的问题,您说它提示下载出现警告,您应该把这个提示信息帖上来,要不不明白是什么样的问题。一般下程序出现验证错误,LZ可以先擦除芯片再进行程序下载,有时可能是因为一些软件的问题造成的,LZ只要多试几次就行了。。
一周热门 更多>