Pixhawk error

Hello I have pixhawk 2.4.8 and I connected it to the esc and for one second it was doing some smoke and burned the one pin but the rest of the pixhawk looks fine but from that moment it is showing error when I connected it “config error:Failed to update IO firmware “ and the main led is not turning on
Uploading: image.jpg…

You most likely fried it.
Don’t think you can fix that.