Hi everyone.
I am trying to load a bin file to onboard flash on the imx21adse board. I am
having some difficulties with the device it self and the Flash. Can someone
tell me if anyone has an imx21adse bard configuration file to use? Here is
what I managed to do so far on mine:
#daemon configuration
telnet_port 4444
gdb_port 3333
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0003
jtag_khz 1000
jtag_nsrst_delay 200
jtag_ntrst_delay 200
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME imx21
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}
# Note above there is 1 tap
# The CPU tap
if { [info exists CPUTAPID ] } {
set _CPUTAPID $CPUTAPID
} else {
set _CPUTAPID 0x0792611f
}
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id
$_CPUTAPID
# Create the GDB Target.
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position
$_TARGETNAME -variant arm926ejs
$_TARGETNAME configure -work-area-phys 0xC0800000 -work-area-size 0x8000
-work-area-backup 0
set _FLASHNAME $_CHIPNAME.flash
#flash bank $_FLASHNAME cfi 0xC8000000 0x20000000 2 4 $_TARGETNAME
Any help or suggestions would be very much appreciated.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development