Arms of Portugal under the late Aviz kings (John II after 1485, Manuel I, John III and Sebastian I). Seals show that the number of castles is not yet fixed. Sources : 
File:Seals of the royal house of Portugal 11.jpg (items LXVI, LXX, LXXV and LXXVI, reign of John II)
File:Seals of the royal house of Portugal 12.jpg (reigns of Manuel I and John III)
File:Seals of the royal house of Portugal 13.jpg (reign of Sebastian I. Items XCV and further are early Braganza)