Running Basic Programs (C-DAC Vega Thejas 64)
During Remote Lab assess Sessions provided by NIELIT Calicut. I learnt many things from basics to running advanced codes. Sharing 3 of my successfully executed codes.
1.led_toogle_program
2.led_breathing_program
3.relay_program
Step Wise with Output led_toogle_pgm
?1)Open 3 separate terminal windows one for observing the output, another one for compilation, and last one for camera.
2)In 1st terminal (Let's call it serial window)
minicom thejas64
3)In the 2nd terminal(Let's call it compile window) Setup environment
cd ~/vega/vega-tools
./setup-env.sh
4)Setting up VEGA SDK Environment
cd ~/vega/vega-sdk/
./setup-thejas64.sh
5)Compile the code
cd ~/vega/vega-sdk/examples/gpio/led_toggle_pgm
make
6) Check the created .bin file
ls ~/vega/vega-sdk/bin
7) Resetting the board
Open compile window and execute the following command. reset_board.sh On serial window press any key on the keyboard within 3 Seconds after resetting the board to go into Serial programming mode.
Note: before the programming board make sure the output window continuous “C” is getting printed on the serial window. If not reset the board again
8)Open the third terminal and execute the following command. cam
We can run any program using the same steps.
Few Output Videos
Thank You for Reading