ASA - is Firewall - what is the full model to guide you correct version - if this old 5505 that was end of life
Switches / Routers - that is different IOS code, again you need to provide the full model and what IOS code running on it now.
some are can be directly upgrade to target version, some required step approach, some need ROMMON upgrade, this all mentioned clearly each release notes and how to upgade.