On 11/01/2010 12:22 PM, Øyvind Harboe wrote:
> On Mon, Nov 1, 2010 at 5:20 PM, firas achkar <fachkar.dataw...@gmail.com> 
> wrote:
>   
>> Hi,
>> I have a s5pc100 (cortex-a8) from samsung, can anyone provide a setup cfg 
>> file
>> for this cpu, the development board is is from Urbetter.
>>     
> Yes, you can.
>
> Also, you may wish to try out openocd/master branch.
>   
what I meant what to modify in the cfg file below to make the thing work:

#------------------------------------------
#daemon configuration
telnet_port 4444
gdb_port 3333

daemon_startup attach

#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
jtag_device 4 0x1 0xf 0xe

jtag_nsrst_delay 200
jtag_ntrst_delay 200

#target configuration
daemon_startup attach
#target
target arm926ejs little reset_halt 1   
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<-------------------------------
#arm7_9 etm
arm7_9 etm 0
#arm7_9 etb
arm7_9 etb 0 0

#target_script 0 reset csb337_init.script
#working_area 0 0x20000000 0x4000 nobackup

#flash configuration
#flash bank [driver_options ...]
#flash bank cfi 0x60000000 0x1000000 2 2 0
#flash bank cfi 0xe0000000 0x1000000 2 2 0
nand device lpc3180 0 13000

jtag_device 4 0x1 0xf 0xe
jtag_device 4 0x1 0xf 0xe
source [find interface/jlink.cfg]
source [find target/???????????.cfg]   
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<-------------------------------

reset_config srst_only
#-------------------------------------------------------------------------------
thanks,
firas
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to