QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1615|回复: 0

linux下jtag烧写flash没成功,一定要到win下?

[复制链接]
发表于 2006-4-23 12:37:06 | 显示全部楼层 |阅读模式
os:debian sid
computer:dell d80 256M 80G
Embedded board:arm s3c44b0x 2M flash 8M sdram
使用jtag软件:openwince-jtag
debian:~# dpkg -s openwince-jtag
Package: openwince-jtag
Status: install ok installed
Priority: optional
Section: embedded
Installed-Size: 516
Maintainer: Peter De Schrijver (p2) <[email protected]>
Architecture: i386
Version: 0.5.1-5
Depends: libc6 (>= 2.3.5-1), libreadline5
Description: allows programming jtag capable devices such as CPUs or FPGAs
The openwince-jtag package contains the jtag tool which allows
working with JTAG aware hardware devices and boards using a JTAG adaptor.
It's possible to program new firmware into flash chips or download bitstreams
to FPGAs with this tool.
命令列表:
debian:~# jtag
JTAG Tools 0.5.1
Copyright (C) 2002, 2003 ETC s.r.o.
JTAG Tools is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for JTAG Tools.

Warning: JTAG Tools may damage your hardware! Type "quit" to exit!

Type "help" for help.

jtag> help
Command list:

quit          exit and terminate this session
help          display this help
frequency     setup JTAG frequency
cable         select JTAG cable
discovery     discovery of unknown parts in the JTAG chain
detect        detect parts on the JTAG chain
signal        define new signal for a part
bit           define new BSR bit
register      define new data register for a part
initbus       initialize bus driver for active part
print         display JTAG chain list/status
part          change active part for current JTAG chain
bus           change active bus
instruction   change active instruction for a part or declare new instruction
shift         shift data/instruction registers through JTAG chain
dr            display active data register for a part
get           get external signal value
set           set external signal value
endian        set/print endianess
peek          read a single word
poke          write a single word
readmem       read content of the memory and write it to file
detectflash   detect parameters of flash chips attached to a part
flashmem      burn flash memory with data from a file
eraseflash    erase flash memory by number of blocks
script        run command sequence from external file
include       include command sequence from external repository

Type "help COMMAND" for details about a particular command.
jtag> help cable
Usage: cable parallel PORTADDR CABLE
Usage: cable ppdev DEV CABLE
Select JTAG cable connected to parallel port.

PORTADDR   parallel port address (e.g. 0x37
CABLE      cable type
DEV        ppdev device (e.g. /dev/parport0)

List of supported cables:
none          No cable connected
ARCOM         Arcom JTAG Cable
ByteBlaster   Altera ByteBlaster/ByteBlaster II/ByteBlasterMV Parallel Port Download Cable
DLC5          Xilinx DLC5 JTAG Parallel Cable III
EA253         ETC EA253 JTAG Cable
EI012         ETC EI012 JTAG Cable
KeithKoep     Keith & Koep JTAG cable
MPCBDM        Mpcbdm JTAG cable
TRITON        Ka-Ro TRITON Starterkit II (PXA255/250) JTAG Cable
WIGGLER       Macraigor Wiggler JTAG Cable
jtag> cable  parallel 0x378 WIGGLER
Initializing Macraigor Wiggler JTAG Cable on parallel port at 0x378
jtag> detect
IR length: 4
Chain length: 1
Device Id: 00011111000011110000111100001111
  Unknown manufacturer!
chain.c(110) Part 0 without active instruction
chain.c(133) Part 0 without active instruction
chain.c(110) Part 0 without active instruction
jtag> print
No. Manufacturer              Part                 Stepping Instruction   Register
---------------------------------------------------------------------------------------------
   0                                                         (none)   (none)

jtag> help readmem
Usage: readmem ADDR LEN FILENAME
Copy device memory content starting with ADDR to FILENAME file.

ADDR       start address of the copied memory area
LEN        copied memory length
FILENAME   name of the output file

ADDR and LEN could be in decimal or hexadecimal (prefixed with 0x) form.

jtag> help initbus
Usage: initbus BUSNAME
Initialize new bus driver for active part.

BUSNAME       Name of the bus

List of available buses:
bcm1250    Broadcom BCM1250 compatible bus driver via BSR
ixp425     Intel IXP425 compatible bus driver via BSR
pxa2x0     Intel PXA2x0 compatible bus driver via BSR
s3c4510x   Samsung S3C4510B compatible bus driver via BSR
sa1110     Intel SA-1110 compatible bus driver via BSR
sh7727     Hitachi SH7727 compatible bus driver via BSR
sh7750r    Hitachi SH7750R compatible bus driver via BSR
sh7751r    Hitachi SH7751R compatible bus driver via BSR
jtag> initbus s3c4510x
signal 'ADDR0' not found
signal 'XDATA0' not found
signal 'nRCS0' not found
signal 'nOE' not found
bus initialization failed!
jtag>

哪有s3c44b0x  bus driver呀?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 05:04 , Processed in 0.061447 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表