Can't "see" older ATmega328P board

I’ve a HMBGC V2.2 (a gimbal controller). I had burnt the bootloader onto it ages ago (about 7 years ago) using destructions at https://docs.arduino.cc/retired/hacking/software/Bootloader/ .

To test the boot loader I had bombed the board with blink and then it went into a drawer.

I have just now pulled it out to put it to use and plugged it in and it’s still blinking a treat.

But platformio does not recognise it.

The board was set up as an “Arduino Pro or Pro Mini”.

So this time around my ini file is setup:

[env:pro16MHzatmega328]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino
lib_extra_dirs = ~/Documents/Arduino/libraries

Listing platformio “Devices” shows naught in the device list.

Is this a boot loader out of date problem?

I’m not having problems with my ESP32 setups.

I’m running on Ubuntu 22.04.5.

So no USB device even shows up? When you do the following:

  1. Unplug the device / USB cables
  2. Open a new terminal and type sudo dmesg -w
  3. Press Enter once to create a separation
  4. Plug the USB cable back in

What new output is created?

It turned out I somehow (probably via an update) had brltty (for Braille hardware) clobbering my ttyUSBx. Found the following:

usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
ch341-uart converter now disconnected from ttyUSB0

I uninstalled brltty and finally had ttyUSB0 in the list. I got distracted with FTDI drivers (dmsg | grep FTDI came up naught) but realised the ancient CH340 on the board was not FTDI so all good now. I still had to fiddle with upload speed in the end but now I seem to be able to bomb the board.