Jump to content
43oh

ntfreak

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    ntfreak got a reaction from scompo in Anyone building CMSIS under Linux?   
    Save yourself lots of grief and use gcc to link. Too many tutorials use ld and it generally will end in tears.
     
    Spen
  2. Like
    ntfreak got a reaction from igor in ICDI support in OpenOCD   
    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
  3. Like
    ntfreak got a reaction from pimmel in OpenOCD and cygwin causing stackdump   
    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-x86_64-gcc-core etc for 64bit build
     
    and also libusbx - http://sourceforge.net/projects/libusbx/files/releases/1.0.14/Windows/libusbx-1.0.14-win.7z/download
    You will need to put the add the header and lib files to the compilers
    create /usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0/ and place libusb.h into it (note call it libusb-1.0 not libusbx-1.0
    /usr/x86_64-w64-mingw32/sys-root/mingw/include/libusb-1.0/ for 64bit compiler.
     
    next add the correct lib (from above archive) to either below. i use the static one.
    /usr/i686-w64-mingw32/sys-root/mingw/lib/
    /usr/x86_64-w64-mingw32/sys-root/mingw/lib/
     
    As a note I use enable-stlink as it builds for the ti-icdi as well, they use the same driver backend so are built together.
     
    Cheers
    Spen
  4. Like
    ntfreak got a reaction from bluehash in OpenOCD and cygwin causing stackdump   
    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-x86_64-gcc-core etc for 64bit build
     
    and also libusbx - http://sourceforge.net/projects/libusbx/files/releases/1.0.14/Windows/libusbx-1.0.14-win.7z/download
    You will need to put the add the header and lib files to the compilers
    create /usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0/ and place libusb.h into it (note call it libusb-1.0 not libusbx-1.0
    /usr/x86_64-w64-mingw32/sys-root/mingw/include/libusb-1.0/ for 64bit compiler.
     
    next add the correct lib (from above archive) to either below. i use the static one.
    /usr/i686-w64-mingw32/sys-root/mingw/lib/
    /usr/x86_64-w64-mingw32/sys-root/mingw/lib/
     
    As a note I use enable-stlink as it builds for the ti-icdi as well, they use the same driver backend so are built together.
     
    Cheers
    Spen
  5. Like
    ntfreak got a reaction from pimmel in OpenOCD and cygwin causing stackdump   
    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
  6. Like
    ntfreak got a reaction from bluehash in OpenOCD and cygwin causing stackdump   
    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
  7. Like
    ntfreak got a reaction from xpg in ICDI support in OpenOCD   
    For info ICDI support has now been merged into OpenOCD master branch, so no more patches are required.
     
    Cheers
    Spen
  8. Like
    ntfreak got a reaction from bluehash in ICDI support in OpenOCD   
    For info ICDI support has now been merged into OpenOCD master branch, so no more patches are required.
     
    Cheers
    Spen
  9. Like
    ntfreak got a reaction from Rickta59 in ICDI support in OpenOCD   
    For info ICDI support has now been merged into OpenOCD master branch, so no more patches are required.
     
    Cheers
    Spen
  10. Like
    ntfreak got a reaction from XTL in ICDI support in OpenOCD   
    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
  11. Like
    ntfreak got a reaction from XTL in ICDI support in OpenOCD   
    we are hoping to have ICDI support within OpenOCD as soon as possible - we are in talks with TI about them releasing the ICDI spec.
     
    Not ideal but it would be possible now to use OpenOCD, by connecting to a supported jtag adapter using the breakout connector
     
    Cheers
    Spen
  12. Like
    ntfreak got a reaction from bluehash in ICDI support in OpenOCD   
    I have just updated the windoze binaries, fixing a very obscure timeout issue - no functional changes.
    Same url as before:
    https://docs.google.com/uc?export=download&id=0Bzv7UpKpOQhnQTcwWU9PcFNEU00
     
    Spen
  13. Like
    ntfreak got a reaction from bluehash in ICDI support in OpenOCD   
    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
  14. Like
    ntfreak got a reaction from jsolarski in ICDI support in OpenOCD   
    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
  15. Like
    ntfreak got a reaction from Rickta59 in ICDI support in OpenOCD   
    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
  16. Like
    ntfreak got a reaction from xpg in ICDI support in OpenOCD   
    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
  17. Like
    ntfreak got a reaction from jsolarski in ICDI support in OpenOCD   
    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
  18. Like
    ntfreak got a reaction from sonar in ICDI support in OpenOCD   
    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
  19. Like
    ntfreak got a reaction from squalyl in ICDI support in OpenOCD   
    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
  20. Like
    ntfreak got a reaction from Rickta59 in ICDI support in OpenOCD   
    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
  21. Like
    ntfreak got a reaction from bluehash in ICDI support in OpenOCD   
    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
  22. Like
    ntfreak got a reaction from xpg in ICDI support in OpenOCD   
    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
  23. Like
    ntfreak got a reaction from Rickta59 in Useful tools for getting going with STM32 boards and linux   
    OpenOCD also supports the stlink - http://openocd.sourceforge.net/
     
    Cheers
    Spen
  24. Like
    ntfreak got a reaction from bone in Useful tools for getting going with STM32 boards and linux   
    OpenOCD also supports the stlink - http://openocd.sourceforge.net/
     
    Cheers
    Spen
  25. Like
    ntfreak got a reaction from bluehash in Useful tools for getting going with STM32 boards and linux   
    OpenOCD also supports the stlink - http://openocd.sourceforge.net/
     
    Cheers
    Spen
×
×
  • Create New...