Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Configure for the Bus Blaster probe
- interface ftdi
- ftdi_device_desc "Dual RS232-HS"
- ftdi_vid_pid 0x0403 0x6010
- ftdi_layout_init 0x0c08 0x0f1b
- ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
- ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
- ## Declare TAPs
- jtag newtap S3C2416 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x07926f0f
- ## Create the target
- target create S3C2416_arm_cpu arm926ejs -endian little -chain-position 0
- ## Setup work area (internal SRAM, 64KB)
- S3C2416_arm_cpu configure -work-area-phys 0x40002000 -work-area-size 0x8000
- ## Setup nand controller (2412 uses similar controller)
- nand device S3C2416_samsung_nand s3c2412 S3C2416_arm_cpu
- ## Srst and trst are connected
- reset_config trst_and_srst combined
- ## Wait a bit before performing jtag operations after a reset
- adapter_nsrst_delay 10
- ## Low frequency required for picking up the CPU when it's at slow speeds,
- ## speed this up to ~5000 when it goes back to normal for faster nand transfers/etc
- adapter_khz 500
- ## Start!
- init
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement