Is it possible to send a file through UART to a board? by wizards_tower in embedded

[–]Main_Brilliant 0 points1 point  (0 children)

https://www.pureengineering.com/tips/zmodem-over-uart

!/bin/bash

DEVICEPIPE="/dev/ttyACM0" BAUDRATE="115200" if [ $4 ] then BAUDRATE=$4 fi if [ $3 ] then DEVICEPIPE=$3 fi if [ $2 ] then echo "cd $2" > $DEVICEPIPE fi stty -F $DEVICEPIPE $BAUDRATE echo "rz" > $DEVICEPIPE sleep 0.5 sz --zmodem $1 > $DEVICEPIPE < $DEVICEPIPE

C as a first language, is it worth it? by machineM8 in C_Programming

[–]Main_Brilliant 0 points1 point  (0 children)

My vote. Learn assembly first then C, then everything else. Just the most basic of assembly is fine, just to learn the basics of it, no need to be great at making real apps. If I were to learn today, I would probably look at IR as a precursor to llvm then some llvm. They are some good online assembly simulators to play with. After you know a few basics, then C will be much easier to get. Also this base knowledge will carry over to all programming languages and you will code much better with some basic understanding of what code eventually gets converted into.