I believe tcctool support for the j3 was added a long time ago, so you should be able to very easily run code on the device and recover if something breaks. It's also pretty similar to the chip used in the d2, so the firmware/target/arm/tcc780x is probably a good place to start.