Other Parts Discussed in Thread: UNIFLASH, CC3235SF
Hello,
Greetings!
I am very new to using TI controller and I wanted to clarify my queries reagrding the flashing tool chain integration. I am using cc3235sf launchpad and gcc compiler toolchain for FreeRTOS kernel. I have installed the CCS, GCC toolchain and UniFlash tools for macOSX.
I want to integrate the build tool chains and flash tool chains with my already existing git repository project to enable building and flashing via the command line.
As per the quick start guide, I have taken the "empty" project for FreeRTOS kernel, and the Simplelink SDK and copied it in my repository manually. I then modified the makefile and imports.mak to discard main_freertos.c and point to the main.c of my git project. After building the project by running make command, it is generating the .bin file and .out file. I have tried flashing the .bin file using Uniflash GUI tool and it reflects the changes. However, I want to make it a complete command line interface process and not use the GUI for flashing.
Therefore, I copied dslite.sh script and deskdb and simplelink folders from uniflash installation directory and pasted it in project repository. I then tried flashing the already created project, using uniflash GUI tool, through CLI using the command "./dslite.sh --mode cc32xx project program --name <project_name>" .It flashed successfully. However I am facing some issues as follows:
- As per my understanding, the project can be created only by using uniflash gui. I did not find commands to create it using command line. Are there ways to flash .bin using command line interface without creating a project in uniflash? Also, if not, can I create a new uniflash project using CLI?
2. Every time I make changes to the code and generate a .bin file, it does not get automatically updated in the uniflash project.So I have used the following command,
>>./dslite.sh --mode cc32xx project add_file --name <project_name> --file empty.bin --mcu --overwrite (empty.bin is in the same folder as ./dslite.sh script). I have also tried adding the .bin file with complete path.
However, it gives me " IOError: [Errno 2] No such file or directory:" error.
How should I proceed for the same?
I would be of great help if you could suggest some measures for the queries. Also, any other suggestions regarding integrating flashing toolchain with my repository, for command line interface are most welcome.
Thank you.