Home ·
  • SAM-BA extram applet
  • SAM-BA extram applet

    The extram applet initializes the external RAM. The lowlevel applet should be executed prior to executing the extram applet, as the timings used to initiliaze the external RAM assume a bus clock frequency as configured by the lowlevel applet.

    Applet initialization

    The extram applet accepts a single preset parameter, which tells the applet which SDRAM chip model is connected to the SAM MPU device.

    sam-ba -p <port> -d <device> -a extram:help
    
    $ sam-ba -p serial -d sama5d2 -a extram:help
    Syntax: extram:[<preset>]
    Parameters:
        preset  External RAM chip
    Examples:
        extram    use default board settings
        extram:1  use preset 1 for type of external RAM

    preset list

    PresetSDRAM typeModel
    0DDR2MT47H128M8
    1DDR2MT47H64M16 (x1)
    2DDR2MT47H128M16 (x2)
    3LPDDR2MT42L128M16 (x2)
    4DDR3MT41K128M16 (x2)
    5LPDDR3EDF8164A3MA
    6SDRIS42S16100E
    7SDRW981216BH
    8DDR2W971G16SB
    9DDR2W972GG6KB (x2)
    10SDRAS4C16M16SA
    11DDR3MT41K128M16 (x1)
    12DDR2W972GG6KB (x1)
    13LPDDR2AD220032D
    14LPDDR2AD210032D
    15DDR2W9712G6KB
    16DDR2W9751G6KB
    17DDR2MT47H64M16 (x2)

    SAMV71

    All chip timings are computed for a system bus clock running at 150 MHz.

    SDRAM typeModelPreset(s)
    SDRIS42S16100E6
    SDRAS4C16M16SA10

    SAM9xx5

    All chip timings are computed for a system bus clock running at 133 MHz.

    SDRAM typeModelPreset(s)
    DDR2MT17H128M80
    DDR2MT47H64M161, 17
    DDR2MT47H128M162
    DDR2W971GG6SB8
    DDR2W972GG6KB9, 12

    SAM9X60

    All chip timings are computed for a system busclock running at 200 MHz.

    SDRAM typeModelPreset(s)
    DDR2MT47H64M161, 17
    DDR2W972GG6KB9, 12

    SAMA5D3

    All chip timings are computed for a system bus clock running at 133 MHz.

    SDRAM typeModelPreset(s)
    DDR2MT17H128M80
    DDR2MT47H64M161, 17
    DDR2MT47H128M162
    DDR2W971GG6SB8
    DDR2W972GG6KB9, 12
    LPDDR2MT42L128M163

    SAMA5D4

    All chip timings are computed for a system bus clock running at 200 MHz.

    SDRAM typeModelPreset(s)
    DDR2MT17H128M80
    DDR2MT47H64M161, 17
    DDR2MT47H128M162
    DDR2W971GG6SB8
    DDR2W972GG6KB9, 12
    LPDDR2MT42L128M163

    SAMA5D2

    All chip timings are computed for a system bus clock runnint at 166 MHz.

    SDRAM typeModelPreset(s)
    DDR2MT17H128M80
    DDR2MT47H64M161, 17
    DDR2MT47H128M162
    DDR2W971GG6SB8
    DDR2W972GG6KB9, 12
    DDR2W9712G6KB15
    DDR2W9751G6KB16
    LPDDR2MT42L128M163
    LPDDR2AD220032D13
    LPDDR2AD210032D14
    DDR3MT41K128M164
    LPDDR3EDF8164A3MA5

    Supported commands

    The extram applet doesn't support any command.


    Copyright © 2018 Microchip Technology
    SAM-BA Documentation