Check the ground for the ABS unit. The unit is under the truck on the frame rail. Two known issues are when the frame rail the ground is connected to rusts it can create an issue with the unit.
The other issue is related to bad solder joints within the unit which requires removal from the truck, disassembly, repair and then reassembly. You are better off going to the junk yard and getting a new unit unless you are totally comfortable with a soldering iron. If your not used to soldering on circuit boards it is easy to destroy the circuit board requiring a new unit regardless.
There are threads on here and you can also search for "bad ECBM Chevy Pickup 2005" or other years from 2003-2005 and you should find threads and/or videos showing how to address this issue but realistically, if you are not practiced and familiar with using a soldering iron you are better off buying a different unit.
Rodney