QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2342|回复: 2

linux下使用Jflash的问题

[复制链接]
发表于 2006-4-27 18:40:33 | 显示全部楼层 |阅读模式
我用的板子为远峰的arm9,s3c2410,k9f1208,在windows下能通过YFSJ下载,但在linux下我用
Jflash-3c2410出现以下问题
+------------------------------------+
|     SEC JTAG FLASH(SJF) v 0.11     +
|     modified by MIZI 2002.7.13     +
+------------------------------------+
> flashType=5
ERROR: No CPU is detected(ID=0xffffffff).
ERROR: K9S1208 is not detected. Detected ID=0xffff.

请问如何解决?
谢谢!
发表于 2006-4-29 13:29:50 | 显示全部楼层
我记得有2个问题需要解决:
1.tdi.tms.tdo脚的位置与并口数据线的位置。
2.在windows下的源代码,io操作函数与linux下的函数原型有点不同,需要修改。
回复

使用道具 举报

 楼主| 发表于 2006-5-1 10:44:10 | 显示全部楼层
非常感谢你的及时回答,修改程序后能够识别cpu和nand flash,但在烧录的时候出现如下问题:
|     SEC JTAG FLASH(SJF) v 0.11     +
|     modified by MIZI 2002.7.13     +
+------------------------------------+
> flashType=5
> S3C2410X(ID=0x0032409d) is detected.
> K9S1208 is detected. ID=0xec76

K9S1208 NAND Flash JTAG Programmer Ver 0.0
0:K9S1208 Program      1:K9S1208 Pr BlkPage   2: Exit

Select the function to test :0

[SMC(K9S120 NAND Flash Writing Program]

Source size: 0x73

Available target block number: 0~4095
Input target block number:0
target start block number     =0
target size        (0x4000*n) =0x4000
STATUS:Ep[PROGRAM_ERROR:block#=0]
[Program error is occurred but ignored]
[block #0 is marked as a bad block]

[ERASE_ERROR:block#=1]
[Program error is occurred but ignored]
[block #1 is marked as a bad block]
[ERASE_ERROR:block#=2]
[Program error is occurred but ignored]
[block #2 is marked as a bad block]
[ERASE_ERROR:block#=3]
[Program error is occurred but ignored]
[block #3 is marked as a bad block]
[ERASE_ERROR:block#=4]
[Program error is occurred but ignored]
[block #4 is marked as a bad block]
[ERASE_ERROR:block#=5]
[Program error is occurred but ignored]
[block #5 is marked as a bad block]
[ERASE_ERROR:block#=6]
[Program error is occurred but ignored]
[block #6 is marked as a bad block]

但烧录有的程序能使用,比如比较小的程序,但烧录大一点的程序就不能运行,请问是这又是什么问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 08:30 , Processed in 0.100722 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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