More than a dozen people – among them former and current army officers and members of the security services – were arrested, a military spokesman said.
Sudan has faced turmoil since President Omar al-Bashir was ousted in April.
Meanwhile the military council to an attack on protesters and a paramilitary group under command of the ruling military council, firing at protesters with live ammunition.
According to reports Two men who said they were serving RSF officers said that the attack was ordered by the leadership of the RSF. Their allegations could not be independently verified.
The RSF leadership has denied responsibility, and claimed that rogue elements were behind the attack.
However General Jamal Omar, a member of the ruling Transitional Military Council (TMC), said 12 officers and four soldiers had been arrested. He said the organiser of the alleged coup had not been found.
“We saw the dangers and threats, which have been threatening the safety and security of this nation, by a group of people who refuse the demands of the people,” Gen Omar said.
If you recall earlier in July, the military agreed to share power with a civilian opposition alliance and the agreement has yet to be signed, but it would see control over a governing sovereign council rotate between civilian and military rule for three years until elections can be held.
Previous talks between the demonstrators and the military collapsed in the wake of the 3 June massacre.