好贴,在楼主推荐的软件下终于把4个LED灯都给点亮了,我使用的是Linux系统,我还想问个问题,就是我在
使用Jflash-s3c2440软件燒写程序的时候出现了如下的问题:
[root@localhost for_linux]# ./Jflash-s3c2440 /work/hardware/led_on/led_on.bin /t=5
+------------------------------------+
| SEC JTAG FLASH for 2440+
| modified by Quasar 2003.9.22+
+------------------------------------+
> flashType=5
> S3C2440X(ID=0x0032409d) is detected.
[K9S1208 NAND Flash JTAG Programmer]
ERROR: K9S1208 is not detected. Detected ID=0xecf1.
不知道错在哪里,还望楼主帮忙给分析下。
下面是我使用楼主推荐燒写成功的过程:
[root@localhost oflash]# ./oflash 1 2 0 0 0 led_on.bin
+---------------------------------------------------------+
| Flash Programmer v1.3 for OpenJTAG of
www.100ask.net |
| OpenJTAG is a USB to JTAG & RS232 tool based FT2232 |
| This programmer supports both of S3C2410X & S3C2440 |
| Author: Email/MSN(
thisway.diy@163.com), QQ(17653039) |
+---------------------------------------------------------+
Usage:
1. oflash, run with cfg.txt or prompt
2. oflash [file], write [file] to flash with prompt
3. oflash [-f config_file]
4. oflash [jtag_type] [cpu_type] [flash_type] [read_or_write] [offset] [file]
Select the JTAG type:
0. OpenJTAG
1. Dongle JTAG(parallel port)
Enter the number: 1
Select the CPU:
1. S3C2410X
2. S3C2440X
Enter the number: 2
S3C24X0 detected, cpuID = 0x0032409d
[Main Menu]
0:Nand Flash prog 1:Nor Flash prog 2:Memory Rd/Wr 3:Exit
Select the function to test:0
[NAND Flash JTAG Programmer]
Scan nand flash:
Device 0: NAND 128MiB 3,3V 8-bit, sector size 128 KiB
Total size: 128 MiB
0:Nand Flash Program 1:Nand Flash Print BlkPage 2:Exit
Select the function to test :0
[NAND Flash Writing Program]
Source size: 0x20
Available target block number: 0~1023
Input target block number:0
target start block number =0
target size (0x20000*1) =0x20000
STATUS:
Ep
谢谢~