This guide will take you through the steps required to upgrade the compact flash in a Cisco ASA 5505. This can be useful in a couple of scenarios. Firstly, you may like to take advantage of “bufferwrap” and store months of ASA logs in flash. Alternatively, you may be replacing damaged flash memory in the device.

There are a few interesting facts about the guts of the 5505. Firstly, the CF is accessible, contrary to what Cisco’s official documentation tells us. The other nice thing is that it takes standard Compact Flash Memory Cards, just like the ones you have for your PDA or Camera.
The really daft bit is that Cisco charge nearly £400 for a 256Mb compact flash card, when in reality, any will work. You can currently buy a 4 gig card for around £17, thats a hell of a saving.

To start with, you need to open your ASA up. This is done entirely at your own risk, but is a simple operation. Anybody who has experience of building PCs will be familiar with the components of the 5505. It basically has a Motherboard, CPU, Memory and compact flash. It isnt a million miles away from being a PC.

Start by removing the 3 screws pictured below:

ASA5505-Bottomscrew.jpg

Once the screws are removed, the case should lift up first at the back, and then tilt forward and off entirely. Be careful here, you dont want to kill anything.

Now you can see the components, the Compact flash is easy to spot and is pictured below:

ASA5505Internal.jpg

All that remains is for you to gently push the compact flash card out of its socket with a small flat-head screwdriver. I find it easiest to push the left side a little, then the right and repeat until it pops out.

At this point you are going to need a compact flash card reader to make things easier.

Put the Cisco Compact Flash Card in the reader and attach to your PC. Go to control panel and folder options. In here you need to be in the “View” tab and select the “show hidden files and folders” radio button. You also need to deselect “Hide protected operating system files”.
The reason why this is necessary is that the ASA activation key is stored in a hidden folder on the flash card.

Now browse to your compact flash card, selected all and copy the contents somewhere safe, as well as onto your new compact flash card.

Now all you have to do is insert your new Compact Flash card, reassemble the ASA and power on the device. You may need to reapply your config at this point.

When the device is started, do a “show ver”. You should get an output similar to this: “Internal ATA Compact Flash, 512MB”

Note: If you do not have a compact flash card reader you can still perform the upgrade. You will need to write down the activation key of your ASA (show ver displays this). You will then need to use a TFTP server to transfer the ASA image and other files!

52 Responses to “Upgrade Cisco ASA5505 Flash memory”

  1. Simon says:

    Excellent article. I done mine a while back without the help of this site, but only found this site recently! thanks for the info!

  2. Rich says:

    Thanks for stopping by Simon, glad you liked the article :)

    Cheers,

  3. Simon says:

    I just put 512 on mine. now I wonder if we can get the RAM upgraded:)

  4. Simon says:

    BTW I left a comment on my friends site if you care to look:

    http://www.breezy.ca/?q=node/258

    Breezy is run by a friend - Canadas Finest: Eric Stewart.

  5. Simon says:

    OK now I have done it.

    I took the DIMM out to inspect it. it is a 256Mb 184 DIMM made by SMART Modular Technologies

    I had 2 KingstonKVR400X64CA3/512 DIMMs from an old PC i had stripped out. and took the plunge……

    Hardware: ASA5505, 512 MB RAM, CPU Geode 500 MHz
    Internal ATA Compact Flash, 512MB

    Oops. Thanks Cisco for the Upgrade:)

  6. Rich says:

    Hi Simon,

    Very nice!

    Already tried it but couldnt get it working with the memory I had spare, although it did look funny when in place, probably due to the gold heat spreaders on it :) Pictures to follow ;)
    I was going to try and buy some compatible memory, but Smart didnt appear to have a retail arm, and it was a bit hit and miss as to the type. A lot of search engine results gave me one answer, but Smarts official product list didnt match at the time!

    Thanks for posting, very interesting :)

  7. Rich says:

    As promised :)

    http://cisconews.co.uk/wp-content/gallery/cisco-asa-5505/pimpmyasa2.jpg
    http://cisconews.co.uk/wp-content/gallery/cisco-asa-5505/pimpmyasa.jpg

  8. Rich says:

    Checked the breezy article, thanks for the link back!

    One other thing about the 5505 that I never got time to check into, is that the connector inside the SSC slot looks very similar to the new VWICs….
    Could potentially mean more interfaces/functionality.

  9. Simon says:

    your ram maybe too fast. mine is PC3200 though tbh the original RAM looks to be PC2100/PC2700 I have emailed Smart to see if they can supply the correct spec of the RAM. what size of ram did you put in it? it may only take 512 max I dont really know, all I know is mine works so far.

    The link I gave has more info on RAM and similar products that smart have (last 4 digits are different) I suspect the type of ram smart use is either “hidden” for cisco use only or has been superceeded by newer ram chips they make.

    the model on my original RAM is: SG5643285D8N6F0IC0

    is this the same as yours?

  10. Simon says:

    quick update the ram chips on the DIM have a serial number of: HYB250256800BT-5

    search for this seems to show the chip is most likely from Infineon though it has “Q lmonds” as a name on the ram chip.

    Googling HYB250256800BT-5 seems to show it is is 400Mhz which is PC3200

  11. Rich says:

    Hi Simon,

    Yes it is pc3200/DDR 400. Here are my notes from when I did some digging:

    Part Number = SG5643285D8N6FOIC0
    Description: 184P-DDR-256MB-PC3200
    Appears to be low profile. Above confirms that memory is standard pc3200.
    Closest match to above ID on smarts website = SG5643285D8N6UU 256MB 1.25″ (heigh/profile) 32Mx64 32Mx8 TSOP
    184 PIN - DDR SDRAM Unbuffered Non-ECC DIMM.
    It is worth noting that although the standard memory is half height, full size Dimms will fit without fouling the metal shielding on the underside of the ASA’s lid. My OCZ certainly did anyway :)
    I tried a stick of crucial with the same results. Status light flashing orange and no boot.

  12. Simon says:

    I received an update from Smart today.

    SG5643285D8N6FOIC0 is a module we only make for Cisco. We do not sell to anyone except Cisco. But here are the specs: 256MB PC3200 UB NON-ECC CL3 DIMM. Hope that helps.

    I have tried 4 PC3200 sticks. 2 were 512 the other two were 1Gb. all booted fine, but the ASA5505 only recognises 512Mb of the 1Gb Stick. ALL memory was Kingston Value Ram. what voltage is your ram?

    btw you have msn? mcmntl at ntlworld.com

  13. Rich says:

    Hi Simon,

    The OCZ was a 1Gig stick, pc3200. Think the voltage was probably more than the 1.8 that the standard memory no doubt uses. I’m sure I will have a machine to cannibalise somewhere ;)

  14. Simon says:

    you need a 2.5v or 2.6v compatable stick. newer ram sticks are approx 2.45v-2.85v and can handle different voltage levels.

  15. Simon says:

    Rich, BTW what ASA version of software you running?

  16. Rich says:

    Hi Simon,

    Running 8.0(3) at the moment. Seems very stable although I havent had a chance to properly check it out to be fair.

  17. Simon says:

    Hey Rich

    yeah WebVPN and Secure Desktop are a really nice feature. btw when are the forums due to start up?

  18. Rich says:

    Soon hopefully. One or two things to sort out before we can kick them off :)

  19. Simon says:

    Well have been running the ASA with 512 for some time now. I sent a friend a spare 512Mb stick and he also confirms the ASA5505 works :)

  20. Rich says:

    Excellent :) Wonder if this has an effect on the throughput and max connections figures?

  21. Andreas says:

    Yes, the number of max connections would be the most interesting thing to see. I guess that it is limited by software though because you can simply buy a more expensive license to increase the limit. But please test this :)

  22. Simon says:

    yep my colleague at http://www.breezy.ca has a Security Plus license, this is the only way to increase max connections afaik.

    he also confirms the 512Mb upgrade. http://www.breezy.ca/?q=node/262

    as for testing, care to tell me how I confirm 25000 connections on my wan?

  23. Rich says:

    You are going to need some sort of load testing software/device I guess. Best alternative would be file sharing software that is reliant on multiple sources like bit torrent or Edonkey/Emule. With enough files downloading at once you could get into the 10’s of thousands very quickly. Then its just a matter of doing a “sh conn” and seeing what happens :)

    Managed to upgrade the ram in mine with some Hynix DDR too :)

  24. Simon says:

    Excellent news!

  25. Paul says:

    Memory:
    Installed Corsair PC3200 512MB (30 euro), the shop sold me VS512MB400 which was not what I wanted (VS512MB400C3 which is CL3). However it works just fine, CL3 or not.

    Flash:
    Cheapest and slowest Kingston CF/1GB (9 euro) works just fine - has anyone tried larger sized CF, like 2GB, 4GB, or even 8GB or 16 in the ASA5505?

  26. Rich says:

    Not tried anything larger than 512Mb. Probably going beyond the limits of usefulness at that point. I think 512 gives you enough to store a large amount of logs to flash. It also allows you to keep a few versions of ASA software on there for labbing/testing or for roll-back in the event of issues.
    ASA software is basically Linux (confirmed by Cisco) so I cant see any issues with it addressing that amount of flash. The only thing that would hold it back is hardware I guess.
    When the modules come out for the 5505 I can see the larger CF cards and more memory becoming much more useful :)

  27. Paul says:

    @Rich (about larger CF cards)

    True, you can’t do much expect logging with larger cards at this moment - but there is one more reason to know whether this is possible:

    I couldn’t find any CF cards smaller then 1GB in the shops today - and someone - probably me ;-) - will google this article in a few years time to see whether they can fit ASA image 13.1(4) in the old 5505 they have lying around, and wants to know whether it will work with the 16GB flash card they can buy for 5 dollars…

  28. Simon says:

    I haven’t tried anything else apart from a 512MB CF card. the only reason for this was its price. £3.99 some difference since CIsco in UK are looking over £400 for the same size of CF Card.

  29. Simon says:

    Paul, since the format of the CF card is FAT 16GB is not supported. at max the size supported would be 2GB for FAT unless the ASA supports FAT with 64k cluster sizes, which is a maximum of 4GB but most systems do not support this cluster size. to be safe512MB is tried and tested. 1GB or 2GB would be my maximum I would go for. I know the DIMM socket seems to only support 512MB. a 1GB stick was only seen as 512MB on my ASA5505

  30. Dag says:

    It struck me that since the activation code is on the cf-card, maybe it is possible to copy a cf-card from an ASA with a security plus-license and get the full package?

    Or maybe the activation key has to match the serial number which is elsewhere?

    Is it then possible to change the license number since this is somewhere in software/firmware?

  31. Dag says:

    oops meant serial, not license

  32. Rich says:

    Hi Dag,

    The activation keys are actually device specific and can not be unlocked without a valid service contract and the purchase of a License. Copying the license over will just fail and knock you back down to the base feature set again.

    Cheers,

  33. SpongeBob says:

    Thanks for the info, I was able to upgrade to 1gb;

    Hardware: ASA5505, 256 MB RAM, CPU Geode 500 MHz
    Internal ATA Compact Flash, 1024MB

    Only issue I had was the copying of the hidden files didnt work for the activation key, I had to reapply it.
    Other than that, worked great.

  34. Rich says:

    1gig, Nice :D

  35. Toni says:

    Maybe this is out of topic, but in case someone from ASA 5510 (or higher) runs into this page who is looking for memory upgrade, the ASA 5510 is capable to recognize up to 1GB (1024 MB) on version 8.0(2) using any 184-pin DIMM stick.

  36. Euphrates says:

    Well I purchased a stick of 1GB Kingston KVR400X64C3A/1G and put in in my ASA and it showed up fine, booted up, and showed 1024MB of ram. I had also copied the contents of the flash onto a 1GB flash (Kingston CF/1GB). I then upgraded my license key to the one supporting AES and copied the files to the old compact flash and tried booting off of it to verify that it would show the new license key and the ASA wouldn’t boot. I received the same error as user Rich…no boot and a blinking orange status light. I’m curious if it’s the RAM itself, the amount of RAM (1GB), or something with the files on flash.

  37. Rich says:

    Hi Euphrates,

    I would bet the farm that its the ram. Try this: When the orange light flashes, power off the device and leave it turned off for 10 minutes. Then power it back on and see if it boots. I have seen similar with a 512 stick. Clearly this is no use for a production environment though!

  38. Euphrates says:

    Thanks for the tip. I tested it out however it doesn’t work. Looks like the ASA doesn’t jive either with this memory or the size. I don’t think it’s the size cause it originally booted up with that memory without any problems. I’m going to try something and see if it works.

  39. Euphrates says:

    Well, figured that I’d try a factory reset and then I tried putting the factory files on the CF so that the hardware would come up like it was factory fresh. No luck. It seems I’ll have to purchase some memory. First, I’ll see if I can try some 512MB ram and then 1024MB.

  40. patrick says:

    I swapped the P4 Celeron proc for a real P4 with same specs on a production 5510. Stable and increased performance.

  41. Euphrates says:

    Not even sure who is here but I figured I’d update. I finally got around to putting in 512MB of ram and it worked like a charm. Makes me think the 1GB just won’t cut. It could be the modules or the size itself is not supported. One question I had was regarding the speed of the FSB of the mainboard. The memory I currently have is DDR333 instead of the standard DDR400. I don’t want the higher capacity DDR333 actually bringing down the ASA’s data bandwidth in exchange for more memory.

  42. KaKa says:

    Hi

    Is there any method to upgrade license on 5505? I have base license and I want to do some ASA exam, which require DMZ and IPS/IDS feature on ASA. How muc will they charge me?

  43. eric pretorious says:

    Thanks for the guide, Rich!

    Do you know if there are any limitations on the size/capacity of the CompactFlash card when used in a 2800 Series router?

    Eric P.
    Sunnyvale, CA

  44. Flirp says:

    Euphrates, it’s too bad you didn’t get to actually try DDR400 CL3 2.5V memory. You tried non-standard memory in the device and then wondered if it was the capacity or the memory.. You should have tried the proper memory spec, matching the spec of the currently installed ram :/

    Has anyone else been able to try a 1GB DDR400 PC3200 CL3 2.5V stick in the ASA-5505 and have it successfully boot/recognize it? Please comment if so! Very curious…

  45. BlueMonkey says:

    i upgraded my ASA5510 w/Sec Plus License from a 1.6 celeron, 256MB to a 3.4GHz P4, 1GB. has anyone tested the throughput to see if this increases with these types of upgrades? i noticed that it booted faster, but cisco could have a hard limit set in these units.

    Regards,

  46. Albert M says:

    I sucessfully used the following in an ASA5505

    Flash: SanDisk Ultra II Compact Flash 4GB (formatted to 4GB, but the ASA only sees 1GB free)
    RAM: Kingston KVR400/1GR 2.5V - ASA5505 sees all 1GB

  47. phil says:

    I sucessfully used the following in an ASA5505

    Flash: Sandisk Ultra II CF 2GB, formatted to 2GB and the ASA running 8.2(1) sees all of the disk.
    2047541248 bytes total (1931608064 bytes free)
    RAM: Kingston KVR400X64C3A/1G, 1GB PC3200 CL3 184 Pin DIMM, ASA5505 sees all 1GB
    Free memory: 817162832 bytes (76%)
    Used memory: 256578992 bytes (24%)
    ————- —————-
    Total memory: 1073741824 bytes (100%)

    Hardware: ASA5505, 1024 MB RAM, CPU Geode 500 MHz
    Internal ATA Compact Flash, 2048MB

  48. Dave says:

    Guys,

    I tried the following memory and it did not work for me:

    Kingston KVR400X64C3A/512

    This is puzzling as it appears others are seeing good results with larger versions of this stick.

    Am I missing something here?

    thanks,
    Dave

  49. Dave V. says:

    Albert,

    Can you give the complete part number for the Kingston RAM ?

    thanks

  50. tomswebpages says:

    I successfully used the following in an ASA5505

    Flash: SanDisk Ultra II Compact Flash 1GB (ASA sees 1GB )

    I used an Compact Flash 4GB but is does not work, the ASA show 0 MB flash but can read the boot image. Wr mem is not possible. The Flash can be formatted, used the command form the ASA. The format is successfully but the flash is not accessible.

    Regards,

  51. GreyWolf says:

    I have recently upgraded the CPU unit in my ASA5510 (PLUS license, A/S cluster, gigabit interfaces in a full-duplex) from original Celeron 1.6GHz (P/N: RK80532RC025128, sSpec N: SL7EZ) to Celeron 2.4GHz and tried some iperf based tests with an outgoing traffic (from inside to outside in transparent mode). Speed results are the same: 120MBit (TCP, Single flow), 550MBit (TCP, 10 simultaneous flows), 550MBit (UDP, single flow). Top CPU load was on a 550MBit UDP flow: about 80% for 1.6GHz CPU and about 67% for 2.4GHz one. I think, that 550MBit is a practical limit for this platform, so CPU upgrade is not necessary, unless you have a complex configuration with many rules (not mine situation).
    It would be nice, if anyone can share similar IPerf-based benchmark results for comparison with 5520,5530,5540 or even 5550 ASA-platform. It seems to me, that all models from 5510 up to 5550 differs only in CPU speed and memory, so network performance results would be similar, but who knows…

  52. tomswebpages says:

    Hi,

    I upgraded my ASA 5505 with an SanDisk Ultra II, 1 GB. Before I tryed an 4GB CF, no vendor named, but its fails. The ASA was anable to see the CF but shows O GB flash during start-up.
    Its was not possible to write to the flash even not after an format. ( CLI command form the ASA).

    What is the benefit to increase the CF anyway? To store the logfile eg.?
    I can imagen the benefit to Increase the Ram, but to increase the CF is just an should have ?

    Regards.

Leave a Reply

Add to Technorati Favorites Add to Google
  • headache eye pain
  • how sleeping helps
  • lower back pain relief
  • cialis advertising
  • signs symptoms of high blood pressure
  • symptoms of congestive heart failure
  • flu help
  • cheap online prescription drugs
  • health care for dogs
  • acne prescription treatments
  • hoodia information
  • buy tadalafil online
  • acne treatment products
  • natural cure for erectile dysfunction
  • neck pain
  • how do you prevent bone loss
  • top performance pet care products
  • levitra online us
  • discount prescription drug
  • heart rate treatments
  • buy medicine to treat chlamydia
  • treatment parkinsons disease
  • cheap diet pills that work
  • order pain meds by phone
  • prednisone allergy
  • buy drugs online
  • fluconazole 150mg
  • viagra with xanax
  • menopause treatment
  • fast ways to lower blood pressure
  • ciprofloxacin 500mg
  • buy medication on line
  • blood pressure diet
  • a reliever of arthritic pain
  • buy celebrex online
  • canadian drug pharmacy
  • water pill
  • living with heart failure
  • calcium bone loss
  • order caffeine
  • preventing bone loss
  • cheapest drugs online
  • generic 5mg proscar cheap
  • buy dietary supplement
  • stop vomiting remedies
  • weight loss suppliments
  • hypothyroidism medication
  • discount erectile dysfunction medication
  • increasing blood flow
  • how can you prevent diabetes
  • dog ear health
  • order flagyl
  • ambien 20mg
  • clindamycin drug
  • pneumonia vs bronchitis
  • flonase otc
  • allegra effects side
  • does viagra really work
  • arthritis therapy
  • gabapentin dosage
  • dramamine dosage
  • how do you treat lung cancer
  • ways to lower cholesterol
  • how body burns fat
  • cialis 30
  • ranitidine interaction
  • phentermine with no prescription
  • hypertension medicines
  • medicines for blood clot
  • what does viagra do to females
  • buy vardenafil online
  • purchase medication
  • stop smoking today
  • buy medicine for type 2 diabetes
  • dog health tips
  • doxycycline dose
  • buy augmentin
  • medications ativan
  • upper back pain
  • order prozac
  • cheap retin a
  • treatment of heart attacks
  • prescription zocor
  • erectile dysfunction medications
  • lexapro prozac vs
  • male sexual power
  • sleep aid
  • online allegra
  • viagra gel
  • ramipril generic
  • medicine without prescriptions
  • addictive ambien
  • buy diazepam without prescription
  • online pharmacy carisoprodol
  • treatments for lung cancer
  • back pain medicine
  • klonopin pill
  • congestive heart failure treatment
  • drug dogs
  • new drug treatment for cancer
  • repels insects
  • rheumatoid arthritis medications
  • about levitra
  • buy prescription medicine online
  • erectile dysfunction treatments
  • osteoarthritis medication
  • diabetes drugs
  • tips for lowering blood pressure
  • how do i lower blood pressure
  • persistent diarrhea
  • lexapro info
  • canadian pharmacy
  • new weight loss pill
  • cheapest levitra
  • generic for levitra
  • enhance sexual performance
  • relieve neck pain
  • generic kamagra
  • dramamine dosage
  • chronic arthritis
  • drugs weight loss
  • disease of the skin
  • high blood sugar
  • arm muscle pain
  • medical products for pets
  • stroke treatment
  • alternative antibiotics
  • buying prescription drugs online
  • flonase otc
  • help with stop smoking
  • canadian online pharmacies
  • claritin dosages
  • chest pain home treatment
  • on-line pharmacies
  • flomax generic
  • discount pharmacy
  • problem skin
  • online ed drugs
  • zoloft buy
  • online prescription drug
  • pet health problems
  • topamax online
  • heart attack women
  • antibiotics bronchitis
  • order vitamins online
  • stop premature ejaculation
  • exercise for weight loss
  • us levitra
  • drug norvasc
  • usa dog products
  • xenical mexico prescriptions
  • increase male volume
  • prices levitra
  • dietary supplements
  • alzheimers treatment
  • reduce swelling methods
  • diet product
  • clomid dosage
  • nerve pain remedy
  • nolvadex generic
  • order calcium carbonate
  • ramipril medication
  • naturally lower cholesterol
  • pain meds without prescriptions
  • buy now viagra
  • discount vitamins supplements
  • treatment of bph
  • anti anxiety meds
  • men's health supplements
  • very high blood pressure
  • trazodone withdrawal
  • bladder control medicine
  • alternative blood pressure treatment
  • type 2 diabetes medications
  • naproxen 500mg
  • buy erectile dysfunction online
  • diuretic pills
  • coupon claritin
  • eye problems in cats
  • health drugs
  • diuretic medication
  • prednisone alternative
  • dosage digoxin
  • shoulder pain
  • arthritis relief natural
  • treatment for severe edema
  • robaxin dosage
  • build muscle
  • treatment hypertension
  • attention deficit
  • cheap baclofen
  • online sildenafil
  • fat loss
  • stop smoking cigerette
  • old dog products
  • uk pharmacy
  • lowering blood pressure naturally
  • levitra overnight
  • smoking cure
  • anxiety help