I am working on a project that uses a standalone Atmega 328-PU and HC05 Bluetooth module to drive an LED light strip. I am looking for a way to program the Atmega without removing it from the circuit board, and have had success in doing so via serial communication....but...
To increase performance, I have switched the bluetooth communication to use hardware serial (was using software serial before). Based on my understanding, this eliminates the options of programming the chip via serial or using bluetooth wireless as is demonstrated in this link.
The only viable option I see is to move back to using software serial or use Arduino as ISP.
More background information:
I moved away from using SoftwareSerial because it seemed to be less performant and was dropping bytes. Being somewhat of a novice at this, I saw dramatic (0% loss) using hardware serial, and haven't gone back to test with higher timeouts or adjusted baud rate (was using 38400 for starters).
The holy grail for me would be to be able to program the Atmega using the same hardware serial (connected to bluetooth) that is used to control the LED lights, but that seems to be just out of reach for now.
Any help is appreciated.