I’m having no end of issues programming my cell modules. The USBASP isn’t communicating. I’ve done everything I can to update drivers and firmware, which seems to be successful. But I can’t program any modules, even ones I know to be good and working.
I’ve checked my programmer’s cables for continuity and that all seems good. I’ve got 2 modules that are dead, 1 that seems ok but won’t communicate with the controller. I’ve got a bunch of new modules, but I bought ATTiny814, not 841! So I’ve got an order for the correct chips on their way.
My new lithium cells have just arrived, so I really need to get this system up and running.
OK, so I seem to have solved the problem of writing to the module. I added the -B16 flag in the Platformio.ini and it worked. I’m still having issues though with the module not communicating with the controller.
I’ve double checked it all so far by plugging in my known good module and that works, but I plug in the module that I just flashed all I get is the double blue flash every 8 seconds. Any help on trouble shooting the board? Are there any voltages to check on the ATtiny?
I’ve followed these instructions (the Platformio only had the V400 option), so I just used avrdude. The flags reported correctly (I think), but still no communication with the controller.
OK, well I do have a working controller with one working module, the second module still doesn’t communicate with the controller though. I have just unplugged the working module and plugged in the second module, so I know everything else is fine.
Now that I have received my new ATTiny841’s, I’ve been able to build, program and test3 more modules and they all work along with 1 of my original 4 modules (3 are now dead).
One thing I’ve done to avoid destroying any more chips is to solder the leads directly to the RX port and a socket to the TX port to reduce the chance of me plugging RX to RX or TX to TX!!