This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS6 & Linux Mint 17 & Stellaris ICDI connection error



Hi!


Finally I managed to install CCS6 on a freshly installed Linux Mint 17 and now I'm able to compile some projects okay. However, I can't download and debug my code, I'm getting an error message: "CORTEX_M4_0: Error connecting to the target: Frequency is out of range.". My device was listed in ls /dev as ttyACM0 and I created a rule in udev/rules.d/99.tiva-launchpad.rules:

KERNEL=="ttyACM*", ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", GROUP="users", MODE="0660", SYMLINK+="ICDI"


This the only line in 99.tiva-launchpad.rules. Now I can see 'ICDI' in ls /dev but my CCS6 copy won't recognize it. Is there anything I missed here? Any help would be great.

  • I have not tried Mint 17 but I was able to get Mint 16 going ok with just these instructions:

    http://processors.wiki.ti.com/index.php/Linux_Host_Support_CCSv6#Linux_Mint_16_.28Cinnamon.29_64bit

    Is this 32bit or 64bit?  The one I tried was 64bit.  I did not have to edit the driver install rules.

    John

  • I installed Mint 17 64bit Cinnamon on a machine.  I used the same instructions as for Mint 16 from the link in my previous post.

    I install as user and run the driver install script as sudo.

    I then ran CCS and created a new project using the helloworld example for my Tiva 123 LaunchPad.

    I then click the bug button and it builds, launches the debugger, connects to the board, loads the program and runs to main().

    Which board are you using?  Are you by chance connected to a USB 3.0 port?  If so maybe try a 2.0 one, I have seen a couple of cases with people having issues with USB 3 (typically on XDS100 though).  I also didn't plug in my board until after running the driver install script.  If you plugged in before maybe try unplugging it, restart the PC and then plug the board in.

    Regards,

    John

  • Hi John,

    thank you for your help. Meanwhile, I was able to download my code to my LP running running CCSv6 as root. Running it as a simple user I received the same error message which indicated that the error is related to the accessibility of the driver.

    Checking again the installation Wiki you linked, I couldn't clearly recall whether if I'd run the install_drivers script or not so I did it anyway. From that point I was able to run CCSv6 as user and could single step my downloaded code.

    However, I can't examine the register values in debug mode. If I open any of the registers I receive a red error message: CORTEX_M4_0: Trouble Reading Memory Block.....etc. Debug Port error occured instead of the values.

    Then I double checked the debug process with setting/clearing the LP board LEDs and it was working...so at least I can dl/debug now.

    Greg

    EDIT: Nevermind, I was checking disabled/unconfigured ports' registers in the debugger. Think I need a coffee now to reduce the number of dumb questions. Thank you for the help.

    Greg

  • No problem Greg.  Great to hear that things are working now.

    Regards,

    John