On Tue, Feb 14, 2012 at 9:33 PM, <[email protected]> wrote: > Hi Drasko, > Thank you for your reply.
Hi Jana, please send your mails to the OpenOCD mailing list, so that other can benefit from the potential problem resolutions. > I downloaded the OpenOCD from Freddie's website and also bought his Jtag( > design based > on Amontec). > But still I have a problem, when I tried > C:\openocd-0.6.0-dev-111231122355\bin>openocd.exe -f interface/jtagkey.cfg -f > ta > rget/smp8634.cfg > Open On-Chip Debugger 0.6.0-dev-00308-g7e22576 (2011-12-31-13:49) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Info : only one transport option; autoselect 'jtag' > adapter_nsrst_delay: 100 > jtag_ntrst_delay: 100 > trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain > Warn : smp8634.cpu: nonstandard IR mask > Runtime Error: embedded:startup.tcl:20: -chain-position required when > creating t > arget > in procedure 'script' > at file "embedded:startup.tcl", line 58 > in procedure 'target' called at file > "C:\openocd-0.6.0-dev-111231122355\bin\../t > arget/smp8634.cfg", line 31 > in procedure 'ocd_bouncer' > at file "embedded:startup.tcl", line 20 > > Do you have any idea, where is the problem? When I said use smp8634.cfg as an example, I meant as something to inspire you at writing your own .cfg file. You are getting closer, but you'll have to read the documentation on configuration files. As for error like this, Google is your friend. > > How much difficult is to use OpenOCD to write and read from SDRAM in a linux > based > embeded device with MIPS cpu? It is not. Read the documentation, write configuration file, attach to target, put it in the halt more and read and write your memory. Piece of cake. BR, Drasko ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
