User`s guide
www.uTasker.com 
µ
Tasker – AT91SAM7X Tutorial 
V1.4
uTaskerV1.4_SAM7X.doc/0.03  14/36  31.07.2009
4.1. Compiling with GCC 
The project is delivered with a bat file and make file so that the project can be simply 
compiled with the GNU compiler. It is recommended to use the Codesourcery g++ build, 
which is available as a free Lite edition at http://www.codesourcery.com/ 
Compiling with GCC is also greatly simplified when working from VisualStudio by adding the 
step as a post build step to the normal simulator compile process. When the target Win32 
uTasker SAM7X plus GNU build is selected as active configuration the process will be 
executed as follows: 
-  The GCC directory GNU_SAM7X contains the bat file Build_SAM7X.bat. This 
directory will be selected as working directory 
-  The bat file will be executed and starts the GCC make file 
make_uTaskerV1.4_GNU_SAM7X. The bat file also contains a path to the GCC 
binaries on the local PC – if no path variables have been configured when the GCC 
compiler was installed this path can be set manually to enable the make utility, 
compiler and linker to be found. 
The following target files are generated during the GCC build step: 
-  uTaskerV1.4.s19: this is a stand-alone target in SREC format 
-  uTaskerV1.4.bin: this is a stand-alone target as binary file 
-  uTaskerV1.4_BM.s19: this is a boot loader compatible application in SREC format 
-  uTaskerV1.4_BM.bin: this is a boot loader compatible application as binary file 
-  uTaskerBM.bin: this is a target containing boot loader and boot loader compatible 
application in binary format. 
-  H_Upload.bin: this is an application which can be uploaded via web browser. See the 
µTasker ‘Bare-Minimum’ boot loader documentation for more details. 
The stand-alone target can be used for first tests since it doesn’t require a boot loader to be 
compiled and installed. 
Pre-built release images can be found in the GCC directory as follows: 
Applications\uTaskerV1.4\IAR_SAM7X\Release\Exe\uTaskerV1.4_AT91
SAM7X-EK.bin 
Applications\uTaskerV1.4\IAR_SAM7X\Release\Exe\uTaskerV1.4_SAM7
X-EX256.bin 
The GCC build is displayed in the log windows of VisualStudio and warnings or errors 
are counted by the VisualStudio compiler during the process. 










