Jump to content
43oh

ICDI support in OpenOCD


Recommended Posts

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

Link to post
Share on other sites
  • Replies 59
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

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 followi

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

Got it working. Really nice to use, great job and really useful!   I've made a tutorial on how to build openocd and debug a simple code in gdb, if anyone it's interested it's here.

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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

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!

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...