Latest Post
ARM926EJ-S S3C2450 Mango24R2 Openocd JTAG Connect and U-boot 실행

ARM926EJ-S S3C2450

 

Mango24R2 Openocd JTAG

 

Connect and U-boot 실행



1.    Openocd JTAG Connect and U-boot 실행    








전체 연결도 참조


FT2232 USB JTAG 보드와 연결하면 드라이버를 설치하라고 팝업창이 뜹니다.



Driver Download : http://www.ftdichip.com/Drivers/CDM/CDM20814_WHQL_Certified.zip


http://infocenter.arm.com/help/topic/com.arm.doc.ddi0198e/DDI0198E_arm926ejs_r0p5_trm.pdf

에서
A.6 Miscellaneous signals
 

TAPID[31:0] Input This is the ARM926EJ-S device identification (ID) code test data register,
accessible from the scan chains. It must be tied to 
0x07926F0F for an
ARM926EJ-S processor when the device is instantiated.



부팅 모드를 SD BOOT 모드로 해서 동작을 합니다.

BOOT MODE : 3 ON , 나머지 OFF

http://cafe.naver.com/embeddedcrazyboys/19417



Download

DOS Command 창 실행

$ openocd –f m24r2_s3c2450.cfg



실행 결과

d:\CRZ_망고보드\Mango2450\Source\m24r2_jtag\m24r2-OpenOCD_S3C2450>openocd.exe -f

m24r2.cfg

Open On-Chip Debugger 1.0 (2009-04-30-01:48) svn:1547



BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS



$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $

jtag_speed: 100

6000 kHz

Info : JTAG tap: s3c2450.cpu tap/device found: 0x07926f0f (Manufacturer: 0x787,

Part: 0x7926, Version: 0x0)

Info : JTAG Tap/device matched

Warn : no telnet port specified, using default port 4444

Warn : no gdb port specified, using default port 3333

Warn : no tcl port specified, using default port 6666




다른 DOS 창을 띄웁니다.

$ telnet localhost 4444




스크립트 실행

> script m24r2_s3c2450.tcl



실행 결과

> script m24r2_s3c2450.tcl

JTAG tap: s3c2450.cpu tap/device found: 0x07926f0f (Manufacturer: 0x787, Part: 0

x7926, Version: 0x0)

JTAG Tap/device matched

BUG: debug re-entry from system speed access shouldn't be handled here

target state: halted

target halted in ARM state due to debug-request, current mode: Supervisor

cpsr: 0x400000d3 pc: 0x00001348

MMU: disabled, D-Cache: disabled, I-Cache: enabled

cpsr (/32): 0x000000D3

cpsr (/32): 0x000000D3

0x53000000: 00000000

0x4c000024: 0000001d

0x4c000010: 8042c061

0x48000000: 0004920d

0x48000004: 44000040

0x48000010: 000000ff

r0 (/32): 0x400000D3

r0 (/32): 0x00000000

0x48000004: 00000042

0x48000010: 00000313

0x48000010: 00000313

0x48000004: 00000043

0x48000004: 00000040

0x30000000: 00001234

0x30000000: 12345678

206592 byte written at address 0x33e00000

downloaded 206592 byte in 7.439000s

BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not

sent! (7609)




디버깅 창에서 u-boot 실행 결과


U-Boot 1.3.4 (Jun 13 2012 - 18:13:12) for MANGO2450



CPU:   S3C2416@534MHz

      Fclk = 534MHz, Hclk = 133MHz, Pclk = 66MHz

Board: MANGO2450 Mobile DDR

DRAM:    64 MB

Flash:   1 MB

NAND:    256 MB

*** Warning - bad CRC or NAND, using default environment


In:      serial

Out:     serial

Err:     serial

ETH test 1

ETH test 2

Hit any key to stop autoboot:  0



 

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
일방통행  |  ★★★★★
ISE 14.7 virtualbox를 설치했는데, ,iMPACT가 인식을 못하는데, 어케해야하나요?
min  |  ★★★★☆
These are the only Drives available to write images to: # major minor size name 1: 8 0 512805384 sda 2: 8 16 15558144 sdb Enter Device Number or n to exit: 2 Invalid selection! 왜 이런 오류가 나는 걸까요?
dino  |  ★★☆☆☆
NAND Scrub실행 후 에러가 나타납니다/ 조치방법을 알려주세요 에러내용 crz nand_erase_opts erase.addr=0x0, opt->offset=0x0, erase_ieng minfo_erases=0x20000 .....진행후 s3c-nand:ecc uncorrectable error detected---4개발생합니다 빠른 회신부탁드립니다 연락처:010-3752-6251 강희진
bluewind  |  ★★★★★
안녕하세요..구입했는데..회로도 부탁드립니다. percephy@naver.com 입니다.
조형철  |  ★★★★★
상기 Backlight 관련 회로를 구할 수 있을까요?
hwang  |  ★★★★★
구입한지 조금 됬는데 회로도 부탁합니다. rubens7777@paran.com 입니다.