The first castle at Grignols was made of wood and was possibly first constructed in the 5th or 6th century. It was replaced by a new castle in the 10th century which was expanded over time. The oldest remaining parts date back to the 13th century. The castle was heavily damaged several times, particularly during France’s religious civil war in the 16th century and fell into ruin after the French Revolution. In the early 20th century locals purchased the remains and restored some of the remaining buildings.
Note the square towers. I can’t tell for sure from the pictures, but the walls look like they are think enough for a cannonball or trebuchet to knock over. In the 13th century the above were just starting to arrive in battle and so square was easier to build and good enough, but soon either thicker (read expensive!) or round walls would be needed.