Ramparts connect the smaller pre-Roman Castillo Menor (Small Castle) with the Roman and post-Roman Castillo Mayor (Main Castle), once notorious for its dungeon.
There is no connection at all between the Small and Main castles. 