Building and OpenOCD Issues on Tiva C TM4C123G
Posted: Sun Sep 30, 2018 9:34 pm
Hello,
I've been trying to run the TM4C123G demo on the 18.2.1 release of ChibiOS, and I've been having trouble with the following lines on the Makefile:
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC
include $(RULESPATH)/rules.mk
With the error and warning:
- Description Resource Path Location Type
make: *** No rule to make target '../../../../ChibiOS-RT/os/common/startup/ARMCMx/compilers/GCC/rules.mk'. Stop. RT-TM4C123G-LAUNCHPAD C/C++ Problem
- Description Resource Path Location Type
make: ../../../../ChibiOS-RT/os/common/startup/ARMCMx/compilers/GCC/rules.mk: No such file or directory Makefile /RT-TM4C123G-LAUNCHPAD line 215 C/C++ Problem
I haven't tinkered with the file, and the rules.mk is in that directory so I don't understand how it won't run.
Also, I'm getting this error when I try to run the file to check and see if the program sees my microcontroller with OpenOCD with ICDI:
embedded:startup.tcl:60: Error: Can't find interface/ti-icdi.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
Again, I checked to see if the ti-icdi.cfg file is in the /interface/ directory and it's there. I also made sure that I had the correct drivers installed for the TM4C123G. As a last note, I followed the guide on utilizing the Tiva C in ChibiOS. Even though the guide is somewhat dated, the information should still be relevant.
The OS that I'm using is Windows 10, and I'm currently running on ChibiOS182. Any help would be appreciated.
I've been trying to run the TM4C123G demo on the 18.2.1 release of ChibiOS, and I've been having trouble with the following lines on the Makefile:
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC
include $(RULESPATH)/rules.mk
With the error and warning:
- Description Resource Path Location Type
make: *** No rule to make target '../../../../ChibiOS-RT/os/common/startup/ARMCMx/compilers/GCC/rules.mk'. Stop. RT-TM4C123G-LAUNCHPAD C/C++ Problem
- Description Resource Path Location Type
make: ../../../../ChibiOS-RT/os/common/startup/ARMCMx/compilers/GCC/rules.mk: No such file or directory Makefile /RT-TM4C123G-LAUNCHPAD line 215 C/C++ Problem
I haven't tinkered with the file, and the rules.mk is in that directory so I don't understand how it won't run.
Also, I'm getting this error when I try to run the file to check and see if the program sees my microcontroller with OpenOCD with ICDI:
embedded:startup.tcl:60: Error: Can't find interface/ti-icdi.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
Again, I checked to see if the ti-icdi.cfg file is in the /interface/ directory and it's there. I also made sure that I had the correct drivers installed for the TM4C123G. As a last note, I followed the guide on utilizing the Tiva C in ChibiOS. Even though the guide is somewhat dated, the information should still be relevant.
The OS that I'm using is Windows 10, and I'm currently running on ChibiOS182. Any help would be appreciated.