Wiki Home » vmx25 » jtag_oocd

jtag_oocd

Last modified by Administrator on 2018/10/21 17:19

OpenOCD 0.9.0

Download cfg files

wget https://www.voipac.com/downloads/imx/jtag/vmx25-oocd-0.9.0.cfg
wget https://www.voipac.com/downloads/imx/25/bin/barebox/barebox-vmx25-1.0.img

Install OpenOCD

sudo apt-get install openocd

Run OpenOCD

/opt/openocd/bin/openocd -f vmx25-oocd-0.9.0.cfg

Run telnet

telnet localhost 4444

Load bootloader

Telnet session

reset halt
vmx25_init
boot barebox-vmx25-1.0.img

Telnet log

[email protected]:~telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> reset halt
JTAG tap: imx25.etb tap/device found: 0x1b900f0f (mfg: 0x787, part: 0xb900, ver: 0x1)
JTAG tap: imx25.cpu tap/device found: 0x07926041 (mfg: 0x020, part: 0x7926, ver: 0x0)
TAP imx25.whatchacallit does not have IDCODE
JTAG tap: imx25.sdma tap/device found: 0x0882301d (mfg: 0x00e, part: 0x8823, ver: 0x0)
target state: halted
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0x000000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
> vmx25_init
Configuring VMX25...
JTAG tap: imx25.etb tap/device found: 0x1b900f0f (mfg: 0x787, part: 0xb900, ver: 0x1)
JTAG tap: imx25.cpu tap/device found: 0x07926041 (mfg: 0x020, part: 0x7926, ver: 0x0)
TAP imx25.whatchacallit does not have IDCODE
JTAG tap: imx25.sdma tap/device found: 0x0882301d (mfg: 0x00e, part: 0x8823, ver: 0x0)
target state: halted
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0x000000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Initialisation completed...
> boot barebox-vmx25-1.0.img
core state: ARM
400396 bytes written at address 0x80000000
downloaded 400396 bytes in 3.547603s (110.219 KiB/s)
target state: halted
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0x400000d3 pc: 0x80000050
MMU: disabled, D-Cache: disabled, I-Cache: disabled

OpenOCD 0.6.0

Download cfg files

wget https://www.voipac.com/downloads/imx/jtag/vmx25-oocd-0.6.0.cfg
wget https://www.voipac.com/downloads/imx/25/bin/barebox/barebox-vmx25-1.0.img

Install OpenOCD

sudo apt-get install openocd

Run OpenOCD

/opt/openocd/bin/openocd -f vmx25-oocd-0.6.0.cfg

Run telnet

telnet localhost 4444

Load bootloader

Telnet session

reset halt
vmx25_init
boot barebox-vmx25-1.0.img

Telnet log

Tags:
Created by Administrator on 2014/08/24 16:07

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.1 - Documentation