Hello I’m trying to use YAGARTO and OpenOCD on STR730 (my board is IAR STR730-KS).
I use a parallel port and one wiggler-compatible programmer.
I download from www.yagarto.de the example named STR7Test,but this example has made for STR71X.
I’m trying to map this example for my enviroment (STR730) but I have many problems.
I have many questions to do.
For OpenOCD configuration can i use this file .cfg, named str7xx_pp.cfg?
If not, what should I change in this file for my hardware?
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface parport
parport_port 0x378
parport_cable wiggler
jtag_speed 0
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target arm7tdmi little run_and_halt 0 arm7tdmi
run_and_halt_time 0 30
working_area 0 0x2000C000 0x4000 nobackup
#flash bank <chip_width> <bus_width>
flash bank str7x 0x40000000 0x00040000 0 0 STR71x 0
Moreover I should change these files: hitex_str7_ram.gdb, hitex_str7_ram.ld, ctr.s (assembly file), because i use STR730 and the hitex of those files uses STR71x.
Can anyone help me?