Making, Uploading ,Running

Top  Previous  Next

An Executable Binary File is a file (.tpc type) which contains your project in compiled form, along with any resource files. It is uploaded onto the target, where it is executed by the Virtual Machine of TiOS.

 

Debug and release modes

tide_button_buildmode

Your application can be compiled for debug or release. This is defined by the debug/release drop-down on the toolbar. You can also change the mode by checking or unchecking the Debug version checkbox in the Project Settings dialog.

 

In the debug mode, your application can be cross-debugged from TIDE. When the application is compiled for debug and uploaded onto the device, it will not run until TIDE sends a "run" command. Applications compiled for release are executed automatically as soon as the device boots up (no command from TIDE needed).

 

F5 to compile, upload, and run

tide_button_run

Select Debug > Run or press F5 or click the Run button on the Debug toolbar to have your project compiled, uploaded onto the target device, and executed.

 

Naturally, the upload won't start if compilation yields error(s). The execution won't start if upload fails.

After the successful build and upload, the execution will start both in the debug and release modes, but this will happen for different reasons. In the debug mode, TIDE will send a "run" command that will instruct the target to start the execution. In the release mode, the execution will start automatically, without any command from TIDE.

 

Just build and upload

tide_button_upload

Select Build > Build and Upload or click the Build and Upload button on the Debug toolbar (it is in the Build button group) to have your project compiled and uploaded onto the target device.

 

The upload won't start if compilation results in error.

After the successful build and upload, the execution will not start if the target is in the debug mode. This is because TIDE will not issue the "run" command. The execution will start if the device is in the release mode.

 

Just build

tide_button_build

Select Build > Build or press F7 or click the Build button on the Debug toolbar (it is in the Build button group) to have your project compiled.

 

Full rebuild

"Normal" compilation only processes files that were modified since the last compile. Select Build > Rebuild All to recompile all the files in your project.

 

Incremental uploads

TIDE supports incremental uploads. It caches the previous build on the computer; when you make a modification, it (1) makes sure the previous build is indeed what's currently running on your device, and then (2) compares the current build with the previous build. It then attempts to upload only what's changed. This really speeds up the upload process.

Doing the full rebuild resets the cache. Next upload is always the full upload.