ntfreak 0 Posted October 19, 2012 Author Share Posted October 19, 2012 TI have released some info on the ICDI interface - i have uploaded here for all to access: https://docs.google.com/uc?export=download&id=0Bzv7UpKpOQhnWDFfSENySkJfdW8 Also checlout the following project that supports the ICDI: https://github.com/utzig/lm4tools I am still working on OpenOCD support, the above projects are standalone. Cheers Spen squalyl, sonar, Rickta59 and 4 others 7 Quote Link to post Share on other sites
xpg 127 Posted October 19, 2012 Share Posted October 19, 2012 TI have released some info on the ICDI interface - i have uploaded here for all to access: https://docs.google....WDFfSENySkJfdW8 Also checlout the following project that supports the ICDI: https://github.com/utzig/lm4tools I am still working on OpenOCD support, the above projects are standalone. That's really great. Thank you for working on this. I'm really looking forward to OpenOCD support. scompo 1 Quote Link to post Share on other sites
bluehash 1,581 Posted October 19, 2012 Share Posted October 19, 2012 TI have released some info on the ICDI interface - i have uploaded here for all to access: https://docs.google....WDFfSENySkJfdW8 Also checlout the following project that supports the ICDI: https://github.com/utzig/lm4tools I am still working on OpenOCD support, the above projects are standalone. Cheers Spen Awesome stuff Spen! Thanks. Quote Link to post Share on other sites
squalyl 0 Posted October 21, 2012 Share Posted October 21, 2012 That's great news, thanks for working on that. Quote Link to post Share on other sites
sonar 0 Posted October 21, 2012 Share Posted October 21, 2012 Thanks spen! Quote Link to post Share on other sites
scompo 0 Posted October 21, 2012 Share Posted October 21, 2012 Very nice stuff! The Makefile of the first program didn't work on my system as it was, I just had to replace the "//" comments with "#" and got it building fine! The second had a problem with the makefile too but this issue tells how to solve it! Great work btw! It's really nice to program the stellaris launchpad on linux! Quote Link to post Share on other sites
jsolarski 94 Posted October 22, 2012 Share Posted October 22, 2012 now I can test the stellaris launchpad.....maybe even program it in a day or so Quote Link to post Share on other sites
jsolarski 94 Posted October 23, 2012 Share Posted October 23, 2012 I can confirm that l4flash will program the stellaris launchpad and that lmicdi will connect to it as well, and will connect to gdb, I have not tried to debug yet, but it looks promising. bluehash 1 Quote Link to post Share on other sites
ntfreak 0 Posted October 23, 2012 Author Share Posted October 23, 2012 ok i have uploaded support for the ICDI to the OpenOCD review system (gerrit) - http://openocd.zylin.com/922 This is really only for devs, as it requires you to build OpenoCD from src. But if you are happy building then feel free to test. Once we iron out any issues it will be commited to OpenOCD master ready for a release. Also for those who wish to discuss join us on ##stellaris over on freenode. Cheers Spen Rickta59, jsolarski, bluehash and 1 other 4 Quote Link to post Share on other sites
xpg 127 Posted October 23, 2012 Share Posted October 23, 2012 That looks really good, ntfreak. Thanks. I will give it a spin soon. Quote Link to post Share on other sites
Rickta59 589 Posted October 24, 2012 Share Posted October 24, 2012 Thanks, we all really appreciate your efforts! I used this as my cfg file: # # TI Stellaris Launchpad ek-lm4f120xl Evaluation Kits # # http://www.ti.com/tool/ek-lm4f120xl # # # NOTE: using the bundled ICDI interface is optional! # This interface is not ftdi based as previous board were # source [find interface/ti-icdi.cfg] set WORKAREASIZE 0x4000 set CHIPNAME lm4f120h5qr source [find target/stellaris_icdi.cfg] Flashing code, setting breakpoints, triggering breakpoints, 'step', 'finish', and 'next' all seemed to work great. I wasn't able to get watchpoints working. Should watchpoints work OK? -rick jsolarski 1 Quote Link to post Share on other sites
bluehash 1,581 Posted October 24, 2012 Share Posted October 24, 2012 "Can I debug the stellaris launchpad via gcc/gdb?" has been split to "ICDI support in OpenOCD(this topic)" Quote Link to post Share on other sites
ntfreak 0 Posted October 24, 2012 Author Share Posted October 24, 2012 Flashing code, setting breakpoints, triggering breakpoints, 'step', 'finish', and 'next' all seemed to work great. I wasn't able to get watchpoints working. Should watchpoints work OK? watchpoints should work, but to be honest it is a while since i have used them. If i recall one thing that may be worth mentioning is gdb will halt/check/resume when checking memory read/write access, not sure if this is still the same. As a test try setting the watchpoint manually, using telnet or gdb monitor cmd. Spen Quote Link to post Share on other sites
Rickta59 589 Posted October 25, 2012 Share Posted October 25, 2012 Thanks ntfreak! The lastest patch you made fixed my watchpoint problem. -rick Quote Link to post Share on other sites
ntfreak 0 Posted October 25, 2012 Author Share Posted October 25, 2012 That's good news, has anyone else tested as it would be good to get more feedback. If it helps windoze users I can create a binary. ok i have created some test windoze binaries - both 32 and 64bit - https://docs.google.com/uc?export=download&id=0Bzv7UpKpOQhnQTcwWU9PcFNEU00 Spen Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.