|
刚买了一块 TQ2440的开发板 + JLINK仿真器 ,仿真环境是KeilARM。
1. 请问下S3C2410的的SDRAM初始化脚本能用到S3C2440上么?
2. Options里该如何设置?
调试的代码:
#include "S3C2440.h"
int main(void)
{
GPBDAT = 0xFFAF ;
while(1);
return 0;
}
进行了一些简单的设置后,Debug,在KeilARM环境出现错误提示: Error:Flash Download failed! - ARM920T
Rebuild target 'Target 1'
assembling S3C2440.s...
compiling main.c...
main.c(7): warning: #111-D: statement is unreachable
linking...
Program Size: Code=480 RO-data=16 RW-data=0 ZI-data=1256
FromELF: creating hex file...
"test.axf" - 0 Error(s), 1 Warning(s).
Load "D:\\Program\\TestForARM\\test.AXF"
VTarget = 3.300V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: CP15.0.0: 0x41129200: ARM, Architecure 4T
Info: CP15.0.1: 0x0D172172: ICache: 16kB (64*8*32), DCache: 16kB (64*8*32)
Info: Cache type: Separate, Write-back, Format A
Info: RTCK is not connected
Info: Auto JTAG speed: 8000 kHz
Info: J-Link: ARM9 CP15 Settings changed: 0xC000717F from 0x00000078, MMU On, ICache On, DCache On
Info: TotalIRLen = 4, IRPrint = 0x01
Info: CP15.0.0: 0x41129200: ARM, Architecure 4T
Info: CP15.0.1: 0x0D172172: ICache: 16kB (64*8*32), DCache: 16kB (64*8*32)
Info: Cache type: Separate, Write-back, Format A
DLL version V4.36l, compiled Dec 2 2011 18:52:36
Firmware: J-Link ARM V8 compiled Sep 22 2011 16:23:23
Hardware: V8.00
Hardware-Breakpoints: 2
Software-Breakpoints: 8192
Watchpoints: 0
Found 1 JTAG device, Total IRLen = 4:
Id of device #0: 0x0032409D
ARM9 identified.
JTAG speed: 4 kHz
Info: TotalIRLen = 4, IRPrint = 0x01
Info: CP15.0.0: 0x41129200: ARM, Architecure 4T
Info: CP15.0.1: 0x0D172172: ICache: 16kB (64*8*32), DCache: 16kB (64*8*32)
Info: Cache type: Separate, Write-back, Format A
JTAG speed: 12000 kHz
No Algorithm found for: 00000000H - 000001EFH
Erase skipped! |
阿莫论坛20周年了!感谢大家的支持与爱护!!
曾经有一段真挚的爱情摆在我的面前,我没有珍惜,现在想起来,还好我没有珍惜……
|