Other Parts Discussed in Thread: ENERGIA, TM4C123GH6PM, , SEGGER
Tool/software: Linux
So, I am very much a beginner to all this - so I suspect this is just a silly error.
I cannot connect to the above mentioned board from my laptop. Thinkpad X220, Ubuntu 17.10, Linux 4.13.0-39-generic
When I plug the board into USB, the leds on the board flash as per the demo program, but nothing on the laptop happens. (I also have an STM32 board. When I plug this in the laptop registers a storage device has been plugged in and Dolphin opens so I can browse to the device. Building stuff on this board works just fine.)
libusb-1.0-0 is installed.
I have copied the udev rules to /etc/udev/rules.d/ and rebooted the laptop.
If I run energia, and try to install a demo program to the board I get the following error :
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: CORTEX_M4_0
Executing Startup Scripts: CORTEX_M4_0
GEL: CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
Connecting...
error: CORTEX_M4_0: Error connecting to the target: Frequency is out of range.
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
does not exist or your board is not connected
---
I try with all the available serial ports.
In Code Composer Studio, when I create a new project, the TM4C123GXL is not available in the target list, but the 'Tiva TM4C123GH6PM' is. I noted that in the overview that came with the board it says the TM4C123GH6PMI chip is used for programming and debugging. This is the closest I can get, so I choose that.
I'm not 100% sure what connection to choose. I have tried several. I have tried the "Stellaris In-Circuit Debug Interface" and apt-installed the lm4flash package. Regardless, when I try to debug the project I get the error :
Error connecting to the target:
Unable to communicate with the device. Please check your connection.
---
Finally Visual Studio Code with PlatformIO installed :
[Fri Apr 27 21:41:29 2018] Processing lptm4c1230c3pm (platform: titiva; board: lptm4c1230c3pm; framework: energia)
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: TI TIVA > TI LaunchPad (Tiva C) w/ tm4c123 (80MHz)
SYSTEM: LPTM4C1230C3PM 80MHz 32KB RAM (256KB Flash)
DEBUG: CURRENT(ti-icdi) ON-BOARD(ti-icdi)
Library Dependency Finder -> bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(light)
Collected 22 compatible libraries
Scanning dependencies...
No dependencies
Configuring upload protocol...
Uploading .pioenvs/lptm4c1230c3pm/firmware.bin
Unable to find any ICDI devices
I am out of ideas. I suspect I just haven't installed or configured a driver for the board correctly... It seems with Windows there are explicit drivers to install, but not so for Linux.. Any ideas?