Env setup

1
2
3
4
5
6
7
8
[ 4654.924737] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 4654.924743] usb 3-2: Product: USB Serial
[ 4654.928975] ch341 3-2:1.0: ch341-uart converter detected
[ 4654.936927] usb 3-2: ch341-uart converter now attached to ttyUSB0
[ 4656.099970] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input31
[ 4656.104756] usb 3-2: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 4656.107927] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 4656.107957] ch341 3-2:1.0: device disconnected
1
sudo apt-get purge brltty
1
2
3
4
5
6
7
8
[ 6349.784537] usb 3-2: USB disconnect, device number 5
[ 6351.160384] usb 3-2: new full-speed USB device number 6 using xhci_hcd
[ 6351.324875] usb 3-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 6351.324890] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 6351.324896] usb 3-2: Product: USB Serial
[ 6351.329127] ch341 3-2:1.0: ch341-uart converter detected
[ 6351.337060] usb 3-2: ch341-uart converter now attached to ttyUSB0
[ 6368.789951] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:68:fe:da:57:c8:9e:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
1
2
sdcc 2-led.c 
stcgal -P stc89 2-led.ihx