Jump to content
ntfreak

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

Share this post


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.

 

That's really great. Thank you for working on this. I'm really looking forward to OpenOCD support.

Share this post


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.

Share this post


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!

Share this post


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

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×