Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5579247
  • 博文数量: 1160
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1160)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(183)

2011年(193)

2010年(138)

2009年(23)

分类: 嵌入式

2009-12-30 11:00:03

http://blog.21ic.com/user1/1066/archives/2006/8248.html

In order to use the JTAG programmer, you need to connect the parallel port of your computer to the JTAG port of the device you want to program. The details of this vary from device to device - see the relevant install chapter. Ensure the device is powered up. Jflash and Jflash-linux both autosense for available parallel ports so it shouldn't matter where you plug it in.

and you should see something like the following (this example is using the blob-1.08-pre2 binary on the CD on a LART). After uploading the device will reset itself before running Blob.

using printer port at 378
Seems to be a pair of 28F160F3, bottom boot. Good.

Starting erase for c8e bytes
Erasing block 0
Erasing done
Starting programming
Writing flash at hex address 1b0, 13.44% done
Writing flash at hex address 3d0, 30.37% done
Writing flash at hex address 5f0, 47.29% done
Writing flash at hex address 810, 64.22% done
Writing flash at hex address a30, 81.14% done
Writing flash at hex address c50, 98.07% done
Programming done
Starting verify
Verifying flash at hex address 643, 49.88% done
Verification successful!

error, failed to read device ID
ACT: 0000 0000000000000000 00000000000 0
EXP: X001 0001000010000100 00000110101 1

failed to read device ID for the SA-1100

error, failed to read device ID
ACT: 1111 1111111111111111 11111111111 1
EXP: X001 0001000010000100 00000110101 1

failed to read device ID for the SA-1100

error, failed to read device ID
ACT: 1001 1010000111001011 01011000111 1
EXP: X001 0001000010000100 00000110101 1

failed to read device ID for the SA-1100

There are a number of possible causes. If you get all 1's then you maybe using the wrong parallel port, or the cable or dongle is not plugged in, or the device is not powered up. If you get all zeros then you may be using the wrong version of JFlash-linux, or (on a LART) you may be suffering from the 'JTAG reset problem', see


阅读(1671) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~