Which second generation?
I have a UAP-AC PRO that I bought used, it's the round one,
with 2 ethernet port. If your's is the same,
You should be able to use that generic firmware.
I do however, build from source also creating a generic firmware.
Also while your AP is still open, I suggest placing a heatsink on the QCA chips,
those chips heats up (I read somewhere it's one of major cause of fault for it), it doesn't hurt
if you put one there, the copper heatsink they sell for Raspberry Pi's are perfect for it.
Edit2:
It's interesting that this is also gen2:
but different jumper layout.
If I'm not mistaken I use J1 for the serial, but I can't confirm it I gave the hardware
to my nephew and it's halfway arround the world now I only have occassional access to it
by teamviewer.
Oh and make sure you use a 3.3v for your serial connection ( I'm assuming you're using USB to serial converter ). Learnt it the hardway.