The ABS system throws a code just like the ECU. Jumper the diagnostic plug and check the code.
Your physical brake system is working but your ABS is probably out of commission.
A very common cause on our cars is crap buildup on the ABS sensors. Take off the wheels, remove the 2 10mm, clean off the sensor, reinstall.