前言:淘宝了一块jlink V8,用于调试QQ2440V3;
问题引入:QQ2440V3使用的外部AM29LV160DB(nor flash),目标文件如何烧写进Nor flash呢?
参考blog:
j-flash setting for QQ2440
http://blog.chinaunix.net/u3/94861/showart.php?id=1907621
project : J-Flash ARM V4.02 setting for QQ2440 borad.
instruction: use J-flash ARM software flash device of QQ2440.
(1) create project named "S3C2440.jflash" for QQ2440 device.
(2) menu: [Options]-->[option settings]
|-- Gneral page: Connectioin to J-link --> USB
|-- Target Interface page: default
|-- CPU page: Core --> ARM9, Little endian, Use target RAM(faster)-->Addr:40000000 4KB
-----| Use following init sequence start |-----
##-------Action--------Value0------Value1
00----Write 32bit---0x53000000---0x00000000
01----Write 32bit---0x4A000008---0xFFFFFFFF
02----Write 32bit---0x4A00001C---0x000007FF
03----Write 32bit---0x53000000---0x00000000
04----Write 32bit---0x56000050---0x000055AA
05----Write 32bit---0x4C000014---0x00000007
06----Write 32bit---0x4C000000---0x00FFFFFF
07----Write 32bit---0x4C000004---0x00061012
08----Write 32bit---0x4C000008---0x00040042
09----Write 32bit---0x48000000---0x22111120
10----Write 32bit---0x48000004---0x00002F50
11----Write 32bit---0x48000008---0x00000700
12----Write 32bit---0x4800000C---0x00000700
13----Write 32bit---0x48000010---0x00000700
14----Write 32bit---0x48000014---0x00000700
15----Write 32bit---0x48000018---0x0007FFFC
16----Write 32bit---0x4800001C---0x00018005
17----Write 32bit---0x48000020---0x00018005
18----Write 32bit---0x48000024---0x008E0459
19----Write 32bit---0x48000028---0x00000032
20----Write 32bit---0x4800002C---0x00000030
21----Write 32bit---0x48000030---0x00000030
-----| Use following init sequence end |-----
|-- Flash page: Base Addr: 0000000, Organization: 16 Bits x 1 Chip(s), Select flash device: Am29LV160DB, disable"Check manufacturer flash ID and Check product flash ID
|-- Production page: Erase, Program and Verify enable.
(NOTE: when you can not flash device, maybe should reset target board will be better.)
配置文件for jflash:https://static.assets-stash.eet-china.com/album/old-resources/2009/12/22/b46b81c3-d5f7-4155-a67d-c23e1bbdd640.rar
文章评论(0条评论)
登录后参与讨论