Recently, both fobs stopped working. Both batteries are good. After examining the remote receiver, it was found to have an open circuit between the power leads. It was receiving 12 volts from the ECU. I replaced the receiver with a salvaged unit. Before installing, I tested the unit and found it has reasonable resistance between the power leads. I have attempted many times to enter programming mode to register the fobs with the replacement receiver but to no avail. All door locks operate flawlessly, and all fuses are good. I initially had some low voltage codes from a recent battery failure so those have been cleared. I have discharged the system by disconnecting the battery cables and turning on the headlights. I have replaced a receiver and reprogrammed on another Toyota and it took a single attempt. Note: when using a scan tool (X-Tool D-7) I can access the menu to program fobs, but instead of working it gives a failure to communicate message. Also the other bi-directional body functions, aside from the driver's window, do not work. Any suggestions? Is there a possibility of a fault with the ECU?