(Under construction) This page covers the steps to reprogram the MMC in the AMC13.

Software Prerequisites

  1. AVR/Atmel Studio (newer versions of MMC may require the use of Atmel Studio 6.1 or higher)
  2. PuTTY (Only necessary for step to erase EEProm and subsequent memory reset)

Preparation (Producing MMC Release hex file)

Programming MMC into Flash

  1. Make sure you have the most recent firmware for the MMC, which can be found in the AMC13 Related Documents link on the main page (this link location susceptible to change). For the purpose of examples, for the remainder of this section, I will assume the use of AMC13_v2.1.zip and that you have access to the necessary release hex file (e.g. AMC13_v2p1_Release.hex). If you do not have the necessary hex files, please follow the instruction on how to produce one from the MMC zip file.
  2. Connect AVR device into USB port on computer and into MMC port on AMC13.
  3. Start the AVR Studio program (e.g. AVR Studio 5.1)
  4. Open the AVR Programming dialog box by going to Tools -> AVR Programming or by clicking the lightning bolt icon in the shortcut bar.
  5. In the dialog box, you will see drop down menu options for Tool, Device, and Interface. Select the correct options (most likely the default one e.g. Tool = JTAGICE3, Device = AT32UC3A1512, and Interface = JTAG. Then click Apply
  6. Some other menu and button should now become active. Under Device ID, click Read. If everything is set up and connected properly, the prompt at the bottom should read: Reading device ID ... OK.
  7. In the menus on the left, select Memories
  8. In the Memories tab, you should have options to program the flash.
  9. Select the Release hex file corresponding to the desire MMC version either through the drop down menu or by clicking the ... button to find the file on the machine.
  10. Once the correct Release hex file is selected, click the Program button. Typically this is done w/ the Erase Flash before programming and Verify Flash after programming options on.
  11. Once the Program Successful message appear, you are done with this portion. Typically, after programming the MMC, you will want to erase the EEP and perform a memory reset.

Erasing the EEProm and Memory Reset

  1. Connect machine to microUSB (Console) port on AMC13.
  2. Before we can connect to the AMC13, we need to the identify the board on our machine. To do this, you will need to open your computer's Device Manager (or your computer's equivalent) and read the identifying code. Look under Ports -> USB Serial Ports and read the code next to the USB Serial Port that corresponds to your board (e.g. COM10).

-- DavidZou - 29 May 2013

Edit | Attach | Watch | Print version | History: r14 | r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r6 - 18 Jun 2013 - DavidZou
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback