Board logo

标题: [求助] Flash Programmer Usage Problem [打印本页]

作者: altonchan    时间: 2006-12-4 14:23     标题: [求助] Flash Programmer Usage Problem

During running flash programmer:

#! /bin/sh
#
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#

cd C:/altera/kits/nios2_60/bin/eclipse/workspace/Project/DE2_Board_new/DE2_Board
/system/software/count_binary_0/Debug

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x0040D800 --end=0x40d807 --reset=0x40c000
--input=count_binary_0.elf --output=asmi.flash --boot=$SOPC_KIT_NIOS2/components
/altera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x0040D838 --id=2273877087 --t
imestamp=1165198630 --base=0x0040D800 asmi.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x0040D838: No CFI table found at address 0x0040D80
0
verified
Leaving target processor paused

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x40c000
--input=count_binary_0.elf --output=cfi_flash_0.flash --boot=$SOPC_KIT_NIOS2/com
ponents/altera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x0040D838 --id=2273877087 --t
imestamp=1165198630 --base=0x00000000 cfi_flash_0.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x0040D838: verified
Leaving target processor paused


What's wrong of my system ? (Some words output in console is in red)
It seems the program terminated abnormally ...

Please help

作者: kzw    时间: 2006-12-4 18:33

it seams that you could not connect to the target.

can you download codes in console mode.


作者: altonchan    时间: 2006-12-5 09:22

It is the same in console mode .... fail

作者: kzw    时间: 2006-12-5 21:29

you use DE2??
作者: altonchan    时间: 2006-12-6 08:36

Yes, I am using DE2

作者: kzw    时间: 2006-12-6 22:43

you use the example of DE2, can success??

if failed, there is something wrong with your board.






欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0