Hi All,
I am new to openOCD family and trying to use it for my small ARM board with cortex m3
I installed and connected openOCD for the first time today with cortex m3.
After the connection I am trying to execute dap commands as given in the manual.
I am using 0.4.0 version as I thought the latest may not work with ubuntu 9.1 ...?
so when I type "dap apid 0" or "dap info 0" I get an error as invalid command name
am I doing some thing wrong here ....? I am expecting a ROM table read
I am trying to dig into the code and understand the data flow but if anybody could help me out here I would be thankful to him..
Thanks in advance
Ryth
I presume you are telneting to the openocd server?
telnet localhost 4444
If it has found the target the available commands can be displayed simply by typing help
You can see my toolchain setup at http://teholabs.com/docs/toolchain:jtaglin (http://teholabs.com/docs/toolchain:jtaglin) which contains some openocd info.
Hi brian,
thanks for the help, yes i was telnetting to 4444 etc..
but I was able to make it happen now, i had not declared the target as cortex_m3 in the config file so it was not supporting target commands.
now it is...
meanwhile I am also trying to go through the open ocd source code so that it can become handy for me to use.
so could you please help me in brief about how it flows in from main.c/openocd.c to the individual target functions for example...
cortex_m3.c...?
Can I PM you for any further help if I need ....? hope I wont be bothering you too much..
Regards
Ryth
Hi Ryth,
Thanks for taking an interest in OpenOCD. the OpenOCD mailing list is very active, there are a bunch of developers there who could help you get up to speed on the code.
There also appears to be a developers guide, no idea how recent it is though:
http://openocd.berlios.de/doc/doxygen/html/index.html (http://openocd.berlios.de/doc/doxygen/html/index.html)