As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
FLIGHT 5512, CRP TO IAH. WHILE ON APPROACH TO LAND, THE FLAPS WERE SELECTED TO 45 DEGREES, AND THE CREW RECEIVED A FLAP FAIL MESSAGE WITH THE FLAPS AT 40 DEGREES. THE CREW ABORTED THE APPROACH AND PERFORMED THE CHECKLISTS IN THE QRH AND LANDED WITHOUT INCIDENT. MAINTENANCE PULLED CODES FROM THE FECU POINTING TO THE RT BRAKE POSITION SENSOR UNIT. THE BPSU WAS REPLACED AND RIGGED AND THE FLAPS OPERATED NORMALLY. (S)