This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPMC registers.

Other Parts Discussed in Thread: OMAP3530

Plz anyone list the gpmc registers to be set for nand access.

for reading and writing ....

 

Advance thank you.

  • what device is this for since OMAPL1x devices do not have GPMC.

  • I am using beagle board ............I am new to this.....Plz suggest what i need to do?

  • You should review the Technical Reference Manual for the OMAP3530 found on the Product Folder.

    There is a chapter to describe the GPMC and its registers.

  • Hi Brandon,

    I am configuring nand with cs7................

    when i tried to erase using flash v1.5

    I got error .................Below given

    Console program aborted or crashed, exit code: 62097
    ¯     -stdout
    ¯     -omap 3
    ¯     -t 60
    ¯     -p CUSTOM_AM37XX_BOARD
    ¯     -2
    ¯     chip_erase NANDINFO 0
    ¯ Leaving parameter file:temp_script.txt
    ¯ @temp_script.txt
    ¯ Looking for device (omap usb)
    ¯ Please turn on device
    ¯ Waiting for device (omap usb)
    ¯ Found device (omap usb)
    ¯ Awaiting ASIC id
    ¯ AsicId items 05
    ¯ AsicId id            01 05  01  36 30 07 07 
    ¯ AsicId secure_mode    13 02  01  00 
    ¯ AsicId public_id     12 15  01  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    ¯ AsicId root_key_hash    14 15  01  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    ¯ AsicId checksum      15 09  01  13 BF 3E EF 00 00 00 00 
    ¯ Searching 2nd for: CUSTOM_AM37XX_BOARD 363007 07 GP 
    ¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd
    ¯ Entering parameter file:omapflash2nd.txt at line: 9
    ¯     -pheriphalboot_reopen
    ¯ Reading board configuration file Targets\Configurations\configuration_custom_am37xx.txt
    ¯ Reading definition file .\targets\definitions\definitions_omap3.txt
    ¯     -board_config Targets\Configurations\configuration_custom_am37xx.txt
    ¯ Leaving parameter file:omapflash2nd.txt
    ¯ Sending size of second file (0x00006804 bytes)
    ¯ Transferring second file to target (0x6804 bytes)
    ¯ Closing boot connection
    ¯ Found device (omap usb)
    ¯ Waiting for 2nd
    ¯ Found 2nd
    ¯ Looking for a driver for 'NANDINFO'
    ¯ chip_driver NANDINFO Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 7 address 0x38000000 bberase 0 onfi 0 bpp 8192 sbpp 640 ppb 256 bpl 2048 l 1 acv 0x23 f 0x0018
    ¯ Downloading driver
    ¯ Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'
     
    ¯ Sending data (40768 bytes) ::::::::::::::::.... [32764]
    ¯ Sending data (40768 bytes) :::::::::::::::::::: [40768]
    ¯ Sending data (40768 bytes) :::::::::::::::::::: [40768]
          Interface 'OMAPFLASH DRIVER v5'
          Driver 'NAND ONFI 16/8 BIT'
          Driver configuration: gpmc = 0x6E000000
          Driver configuration: cs = 0x00000007
          Driver configuration: address = 0x38000000
          Driver configuration: bberase = 0x00000000
          Driver configuration: onfi = 0x00000000
          Driver configuration: bpp = 0x00002000
          Driver configuration: sbpp = 0x00000280
          Driver configuration: ppb = 0x00000100
          Driver configuration: bpl = 0x00000800
          Driver configuration: l = 0x00000001
          Driver configuration: acv = 0x00000023
          Driver configuration: f = 0x00000018
          NAND HW ECC
          NAND BCH Mode = 0
          NAND HWECC offset = 1, size = 12
          NAND NONEv0 VENDOR 0x00 UNKNOWN
          NAND 8 BIT DEVICE 0x00 UNKNOWN
          NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
          NAND 8192 BYTES/PAGE (SPARE 640)
          NAND 256 PAGES/BLOCK (2097152 BYTES/BLOCK)
          NAND 2048 BLOCKS/UNIT (0 BYTES/UNIT)
          NAND 0 BIT(S) ECC REQUIRED
          NAND 0 MB TOTAL SIZE
          NAND ONFI DRIVER INIT COMPLETE
    ¯ Downloading complete
    ¯ Elapsed time: 0:00.641 (63600 bytes/s)
    ¯ End loading driver
    ¯ Erasing
          Erasing to end of device starting at 0x38000000
          NAND ADDRESS 0x00000000 OUT OF RANGE (BOUNDARY 0x00000000)
    ¯ Operation FAILED (Remote: : Error - ADDRESS BOUNDARY CHECK FAILED)
    ¯ Elapsed time: 0:00.000
     
    Console program failed, exit code: 3

    Plz reply....................