
ThinkLABS
© TRI Technosolutions Pvt Ltd
Programming the Board
NOTE:
Refer to the above section
Getting Started on Linux
For programming the Board you must first have the hex file to be loaded into the flash section of the
microcontroller. For generating the h
compiler will generate hex file. Then
the Atmega128 microcontroller.
The following section will guide you
1.
We will write a first program to test LEDs.
As you know LEDs can be connected
5), we will use the General purpose
LED PORT.
STEP 1:
Open Gedit (refer to chapter 3)
STEP 2:
Create a Project directory
Page
48
of
129
Programming the Board
sections to check that you are having all the required
Linux
For programming the Board you must first have the hex file to be loaded into the flash section of the
microcontroller. For generating the hex file you have to write an error free code,
. Then using USBasp firmware on Atmega8 microcontroller
the Atmega128 microcontroller.
The following section will guide you on how to program using uNiBoard.
We will write a first program to test LEDs.
can be connected various test PORTs on UNiBoard using
5), we will use the General purpose
PORTC
as output and connect the FRC cable between
Open Gedit (refer to chapter 3)
Create a Project directory
http://thinklabs.in
to check that you are having all the required software tools.
For programming the Board you must first have the hex file to be loaded into the flash section of the
write an error free code, compile your code and
using USBasp firmware on Atmega8 microcontroller you can program
UNiBoard using FRC cable (refer to chapter
cable between PORTC and the
Содержание UNIBOARD V1.1
Страница 40: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 40 of 129 http thinklabs in Step 2 Select the language and press OK ...
Страница 43: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 43 of 129 http thinklabs in ...
Страница 51: ...ThinkLABS TRI Technosolutions Pvt Ltd STEP 5 Write your code Page 51 of 129 http thinklabs in ...
Страница 64: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 64 of 129 http thinklabs in STEP 3 Save the file as anyfilename c ...
Страница 66: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 66 of 129 http thinklabs in ...
Страница 71: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 71 of 129 http thinklabs in STEP 7 type make all and press enter ...
Страница 74: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 74 of 129 http thinklabs in STEP 10 press enter ...
Страница 76: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 76 of 129 http thinklabs in ...
Страница 90: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 90 of 129 http thinklabs in ...
Страница 91: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 91 of 129 http thinklabs in ...
Страница 92: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 92 of 129 http thinklabs in ...
Страница 93: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 93 of 129 http thinklabs in ...
Страница 94: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 94 of 129 http thinklabs in ...
Страница 95: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 95 of 129 http thinklabs in ...
Страница 96: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 96 of 129 http thinklabs in ...
Страница 98: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 98 of 129 http thinklabs in ...
Страница 99: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 99 of 129 http thinklabs in ...
Страница 100: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 100 of 129 http thinklabs in ...
Страница 101: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 101 of 129 http thinklabs in ...
Страница 103: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 103 of 129 http thinklabs in ...
Страница 104: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 104 of 129 http thinklabs in ...
Страница 105: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 105 of 129 http thinklabs in ...
Страница 106: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 106 of 129 http thinklabs in ...
Страница 109: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 109 of 129 http thinklabs in STEP 9 Go to prompt and type make program ...
Страница 120: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 120 of 129 http thinklabs in Buzzer section Joystick and connectors section ...
Страница 121: ...ThinkLABS TRI Technosolutions Pvt Ltd Page 121 of 129 http thinklabs in LCD section LDR section LEDs section ...