
ntfreak
Members-
Content Count
32 -
Joined
-
Last visited
-
Days Won
1
ntfreak last won the day on June 26 2012
ntfreak had the most liked content!
About ntfreak
-
Rank
Advanced Member
Profile Information
-
Gender
Male
-
Location
UK
-
http://forum.stellarisiti.com/index.php?/topic/309-ICDI-support-in-OpenOCD#entry3483
-
manish, You should have really created separate thread as this one relates to the TI ICDI support within OpenOCD. Sorry but i see nothing wrong in the above log, you have flashed the target, set a breakpoint (@ main) and then told it to continue. The note about breakpoints is nothing to worry about, it just means gdb has detected that hardware breakpoints are supported and is using them. OpenOCD passes gdb info about the memory map, from which the above decision is made. Cheers Spen
-
There is a link in this very thread - http://forum.stellarisiti.com/topic/309-icdi-support-in-openocd/page-2#entry1186 Not the latest version, but should work ok to get you started. Spen
-
Save yourself lots of grief and use gcc to link. Too many tutorials use ld and it generally will end in tears. Spen
-
Following on to build native mingw in cygwin i use the following configure line: # bootstrap only needed on first checkout./bootstrap# build line for native 32bit windows./configure --enable-maintainer-mode --build=i686-pc-cygwin --host=i686-w64-mingw32 --disable-shared --disable-werror --enable-stlink# to build for 64bit we would use./configure --enable-maintainer-mode --build=i686-pc-cygwin --host=x86_64-w64-mingw32 --disable-shared --disable-werror --enable-stlink You will need to have the windows native cross compiler installed mingw64-i686-gcc-core etc for 32bit or mingw64-x
-
one note is your are using the old OpenOCD git url, either use git clone git://git.code.sf.net/p/openocd/code openocd git clone http://git.code.sf.net/p/openocd/code openocd Cheers Spen
-
Firstly i would try using OpenOCD master as support for the ICDI has been merged for a while. I have built ICDI support using cygwin, however i use it to cross compile for native windows (mingw). Infact i have just fixed a bug with this adapter that was causing random issues: https://forum.sparkfun.com/viewtopic.php?f=18&t=34636 Cheers Spen
-
For info ICDI support has now been merged into OpenOCD master branch, so no more patches are required. Cheers Spen
-
It is not a known problem, but i would like to find out why. Like i say i have only tested linux and windows and they do not have this issue - for me anyway. First i would say check you have the latest ICDI firmware loaded - the version you have will be printed when OpenOCD connects - ICDI Firmware version: 9454 Mine is using 9454, at the moment the only way to update is on windows, you have to install the LMI Flash Programmer - http://www.ti.com/tool/lmflashprogrammer The error returned is a read timeout, so the ICDI is receiving a cmd but not replying, if updating the firmware does
-
martytoof, Make sure you are using the latest patchset, quite a few tutorials link to older ones - latest is #14 so you would do the following git fetch http://openocd.zylin.com/openocd refs/changes/22/922/14 && git checkout FETCH_HEAD I do not use mac so have not tested under that OS, what version libusb are you using? Cheers Spen
-
Thanks, that's better:-)
-
Not sure when it broke but the plugin is not displaying multi page posts correctly. It repeats the first page for every page. Was working fine and is working for other forums i use. For info using android 2.4.5 of tapatalk. Cheers Spen
-
It is a known issue, depending on where your gdb came from, see http://www.mail-archive.com/openocd-development@lists.berlios.de/msg18182.html for a workaround. When I get some spare time I am meaning to update OpenOCD to better handle this issue. Cheers Spen
-
This is something i need to look into more, as you have seen the std cortex implementation does have a maskisr function that does what you want. The higher level adapters (stlink/icdi) do not have access to this implementation, but with a few changes i sure we can get it working on the icdi aswell. One solution if you are using an ide is to use the "run to", as this sets a breakpoint and works around the issue. Cheers Spen