Just picked up a cheap fix for one of these if it's acting up, check the brake pressure switch at the end of the master cylinder. If the wiringharness is wet inside, replace. Costs about 30$ and 5 min of time. fixed mine when no one else could diagnose it. No codes were present either.