Greetings!
I have the LN2410SBC board and the JTAG cable provided by littlechips.com.
http://www.littlechips.com/sbc_main.htm
http://www.littlechips.com/jtag_cable.htm
I have installed OpenOCD 89 on Ubuntu Dapper Beta with automake 1.9.
I would like to know as to which parport_cable value I should use for this cable, among the supported types with openocd.
Appreciate any feedback.
Thanks,
SK
Hey,
unfortunately, there’s no description of the pin-mapping used by the littlechips JTAG cable. Maybe you can contact their support and ask about their mapping of PC parallel port pins to JTAG signals, or the schematic they’ve based their cable on.
Regards,
Dominic
Hi Dominic,
Thanks for your reply.
The schematic is available here:
http://www.shakthimaan.com/downloads/tr … SH_SCH.pdf
How do I check as to which one of the above matches with the schematic of this JTAG?
Where do I find this information about the other JTAGS?
Thanks,
SK
With the help of the jtag/parport.c and the schematic, I was able to find that it is similar to the triton cable.
I run it using:
./openocd -d 3 -f ../doc/configs/ln2410sbc.cfg -l logfile
The process doesn’t close, but, when I type something in this terminal, I don’t see any outputs.
Minicom terminal is hung, correctly as control is now with JTAG. I have /dev/parport0. The modules loaded are
parport_pc 35780 1
parport 36296 3 ppdev,lp,parport_pc
My system is IBM T41 running Ubuntu Dapper Beta with 2.6.15 Linux kernel.
Now this is my configuration file (any corrections are welcome):
#daemon configuration
telnet_port 4444
# gdb_port 3333 - not for now
#interface
interface parport
parport_port 0
parport_cable triton
jtag_speed 0
#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
#target configuration
daemon_startup reset
#target <type> <endianess> <reset mode>
target arm920t little reset_halt 0 arm920t
working_area 0 0x37000000 0x4000 backup
run_and_halt_time 0 5000
#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
#flash bank cfi 0x10000000 0x800000 2 2 0
Few questions:
-
Working_area: I have set it to some section in SDRAM. Is that correct?
-
Flash refers to NAND flash? or external flash memory?
The logfile is here. I appreciate any feedback on this, as I have no idea on it:
http://www.shakthimaan.com/downloads/trash/logfile
Thank you,
SK
Ok. It works. I forgot to telnet :-p
telnet localhost 4444
I’ve tried a simple RAM memory read/write and it succeeded.
Thanks.