Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The above images show the screens you get from your Release 0.95 factory core MEGAFLASH. Note that the “MEGAFLASH/Core hash” and the “Slot 0 Version” show the same hash (93d55f0, first 7 characters). This may be different if you have some other factory core.

3. Flash the release

...

core file into slot 1

The next step is to flash the core we copied in step 1 into our core slot 1 using the old MEGAFLASH. You initiate this by pressing CTRL-1. In the file selector you choose the one core we put on the SD card (if you have more then one core, you need to pick the right one – if not sure, try to rename the core on the SD card to something 8.3 UPPERCASE).

...

After this we should be greeted by the new MEGAFLASH! You can see that it is the new one because the left space is smaller (2 instead of 4 – see old pictures above) and you can again check HELP. You can find the hash of the core file you are using in the filename of the core and the release archive.

...

6. Start flashing slot 0

Now we can flash slot 0. But we can’t press Ctrl-0 to do that, we need to press MEGA-COMMA instead.

...

As you can see from the menu, the next key we need to press is F8 to flash the core we just selected. The core file is first loaded into attic ram, and then the CRC32 checksum is calculated. If this succeeds, the progress turns green and flashing starts. Then all sectors are erased that would hinder the start of slot 1 for recovery (if flashing is interrupted).

Tipwarning

Extra testing: if you have a JTAG, we want you to power off the machine while flashing, or do other weird stuff like plug/unplug devices, wiggle joysticks, etc. to try breaking the process. So we can make it saver for people without a JTAG.
DO NOT DO THIS IF YOU DON’T OWN A JTAG INTERFACE!!!

Note: you can interrupt the loading and the checksum calculation by pressing STOP, but as soon as flashing begins, there is no way back! Don’t interrupt the actual flashing in any way!

...

Info

Extra background: Recovery to slot one works be removing all the sync words from the flash, so the FPGA will continue searching for one until it hits slot 1. The core in slot 0 has integrated a list of such sectors, which is used to erase those first. For release 0.95 core there is a build in list in MEGAFLASH, release 0.9 does not need one.

Note

Warning: if you interrupt slot 0 flashing before those first (few) sectors are erased, then slot 1 recovery will fail. So make sure to not interrupt power nor touch the device while flashing!We also recommend to remove all peripherals.

...