ER-301/Update Firmware

From O|D Wiki
Jump to: navigation, search
Pitfall.png
Warning! There is a possibility that quicksaves and presets made with newer firmware versions are not backwards compatible. So to be safe you should make a copy of your ER-301/sc directory before switching firmware.

Easy Method

Unless there is a problem, you will always update the ER-301's firmware via the SD card on the front. This means that there is no reason to remove the module from your case. Furthermore, it is not necessary to power down during this firmware update procedure.

Follow these 8 steps to change your ER-301's firmware:

Pitfall.png
It is important that power to the ER-301 is not interrupted during the installation step or you will be left with corrupted files on your rear SD card. If this happens see the advanced method (below) for how to restore your rear SD card to a bootable state.


Advanced Method

You can also accomplish a firmware update by directly copying the system files to the rear SD card using your computer. Use this method when you are unable to boot into the ER-301's operating system or you are unable to get the ER-301 to recognize (i.e. mount) your front SD card.

  1. Power down your case and remove the ER-301 so that you can get at the rear SD card.
  2. Remove the rear SD card and take it over to your computer.
  3. Unzip the downloaded firmware archive file to find three files: MLO, SBL, and kernel.bin.
  4. Copy these 3 files to the root directory of the rear SD card. It is OK to overwrite any existing files of the same name.
  5. Make sure to follow the proper procedure for ejecting an SD card for your computer's OS. There is a chance you will corrupt your SD card if you simply pull out the SD card from the card reader without first unmounting it.
  6. Place the SD card back into the card slot on the rear of your ER-301.
  7. Install your ER-301 back into your case and power up.

Making your rear SD card bootable

If for some reason you are unable to use the rear SD card that came with your unit, in addition to the steps outlined in the advanced method, you will need to make the new SD card 'bootable'. In technical terms, you will be marking the first partition on your card as active.

On a Windows PC:

  1. Insert the SD card into your computer's card reader.
  2. Type 'diskpart' at the command prompt.
  3. Type 'list disks' at the new prompt, and note the index of the SD card.
  4. Type 'select disk <index>' where <index> should be replaced by the index number determined in the previous step.
  5. Next type 'select partition 1' to select the first partition.
  6. Finally type 'active' to mark the first partition as active.
  7. You may now unmount the SD card and remove it from the card reader.

On a Mac computer the process of making an SD card bootable is difficult, so instead try flashing a bootable disk image to the SD card as described in the next section.

Restoring your rear SD card from a disk image

Here are bootable disk images for 8GB and 4GB SD cards:

er-301-v0.2.18-image-8GB.zip
er-301-v0.2.18-image-4GB.zip

Download this file and unzip to your computer. Write the contained img file to your SD card. You can find an excellent detailed tutorial on how to do this over on SparkFun:

SparkFun: SD Cards and Writing Images

Or if you prefer to jump to the chase, here are some tools that will get the job done: