Running Basic Programs  (C-DAC Vega Thejas 64)

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. 

No alt text provided for this image






2)In 1st terminal (Let's call it serial window)

No alt text provided for this image


minicom thejas64



3)In the 2nd terminal(Let's call it compile window) Setup environment

No alt text provided for this image

cd ~/vega/vega-tools

./setup-env.sh


4)Setting up VEGA SDK Environment

No alt text provided for this image


cd ~/vega/vega-sdk/

./setup-thejas64.sh


5)Compile the code

No alt text provided for this image

cd ~/vega/vega-sdk/examples/gpio/led_toggle_pgm

make




6) Check the created .bin file

No alt text provided for this image

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

No alt text provided for this image
No alt text provided for this image






8)Open the third terminal and execute the following command. cam

No alt text provided for this image

We can run any program using the same steps.

Few Output Videos

Thank You for Reading



要查看或添加评论,请登录

Suyash Dahake的更多文章

社区洞察

其他会员也浏览了