On 04/03/2019 14:57, Cesar Strauss wrote:
> I found out this script:
> 
> https://github.com/ska-sa/roach2_testing/blob/master/roach2_production_test/roach2_ats.py
> 
> It seems to have a menu for performing various tests on the ROACH2
> board, including a PowerPC DRAM memory test.

I tried the memory test, on the roach_ats.py menu, but it seems to fail
transmitting the test program to the PPC via JTAG. Full log of the
interaction with this program is attached.

It is unfortunate I am not able to reload UBoot via JTAG, since UBoot
itself gets stuck on memory error most of the time on this board.

Regards,
Cesar

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.
Selected serial number:
  Manufacturer ID: D (Digicom)
  Type: 1 (ROACH2)
  Revision: 2 
  Batch: 20 
  Board: 10 

ROACH2 Rev 2 Testing - USB connected
    a) Run all tests excluding CX4 and SFP+
    1) Set serial number for ROACH2
    2) Power-up tests, JTAG scan and program EEPROM
    3) Switch board on
    4) Switch board off
    5) Print voltages, currents and temperatures
    6) Scan JTAG chain
    7) Program EEPROM
    8) Display EEPROM contents
    9) Test FLASH and PPC DDR2 memory
    0) Load U-boot, kernel and filesystem
    w) Program CPLD
    e) Test QDR memory
    r) Run DDR3, ZDOK, TGE, 1GE tests
    t) Run CX4 Mezzanine card tests
    y) Test SFP+ Cards
    u) Disable FTDI JTAG interface
    m) Unload U-Boot (if U-Boot does not start correctly and holds the I2C bus).
    q) Quit

(press 3 - Switch board on)

    Switching board on.

Selected serial number:
  Manufacturer ID: D (Digicom)
  Type: 1 (ROACH2)
  Revision: 2 
  Batch: 20 
  Board: 10 

ROACH2 Rev 2 Testing - USB connected
    a) Run all tests excluding CX4 and SFP+
    1) Set serial number for ROACH2
    2) Power-up tests, JTAG scan and program EEPROM
    3) Switch board on
    4) Switch board off
    5) Print voltages, currents and temperatures
    6) Scan JTAG chain
    7) Program EEPROM
    8) Display EEPROM contents
    9) Test FLASH and PPC DDR2 memory
    0) Load U-boot, kernel and filesystem
    w) Program CPLD
    e) Test QDR memory
    r) Run DDR3, ZDOK, TGE, 1GE tests
    t) Run CX4 Mezzanine card tests
    y) Test SFP+ Cards
    u) Disable FTDI JTAG interface
    m) Unload U-Boot (if U-Boot does not start correctly and holds the I2C bus).
    q) Quit

(press 5 - Print voltages, currents and temperatures)

    Current board state is on.
        Setting current monitor:
        Setting software enable configuration... Success
        Setting overcurrent primary threshold and current-sense control... Success
        Setting full-scale range for ADCs 1-4... Success
        Setting full-scale range for ADCs 5-8... Success
        Setting voltage monitor:
        Setting software enable configuration... Success
        Setting overcurrent primary threshold and current-sense control... Success
        Setting full-scale range for ADCs 1-4... Success
        Setting full-scale range for ADCs 5-8... Success
    1V0 Bus: 1.012V, 3.275A
    1V5 Bus: 1.526V, 0.908A
    1V8 Bus: 1.810V, 0.811A
    2V5 Bus: 2.527V, 1.075A
    3V3 Bus: 3.412V, 1.038A
    5V0 Bus: 5.217V, 1.373A
    12V Bus: 12.222V, 1.601A
    3V3 Aux: 3.418V
    5V0 Aux: 5.097V

    PPC Temp: 36 degreesC
    FPGA Temp: 30 degreesC
    Inlet Temp: 27.50 degreesC
    Inlet Temp: 26.75 degreesC


Selected serial number:
  Manufacturer ID: D (Digicom)
  Type: 1 (ROACH2)
  Revision: 2 
  Batch: 20 
  Board: 10 

ROACH2 Rev 2 Testing - USB connected
    a) Run all tests excluding CX4 and SFP+
    1) Set serial number for ROACH2
    2) Power-up tests, JTAG scan and program EEPROM
    3) Switch board on
    4) Switch board off
    5) Print voltages, currents and temperatures
    6) Scan JTAG chain
    7) Program EEPROM
    8) Display EEPROM contents
    9) Test FLASH and PPC DDR2 memory
    0) Load U-boot, kernel and filesystem
    w) Program CPLD
    e) Test QDR memory
    r) Run DDR3, ZDOK, TGE, 1GE tests
    t) Run CX4 Mezzanine card tests
    y) Test SFP+ Cards
    u) Disable FTDI JTAG interface
    m) Unload U-Boot (if U-Boot does not start correctly and holds the I2C bus).
    q) Quit
    Board is currently on

(press 6 - Scan JTAG chain)

    Scanning JTAG chain.
        Press any key to scan normal chain.
        Press 1 to shorten chain to PPC, CPLD and FPGA
    Initializing and scanning JTAG chain... Connected to libftdi driver.
IR length: 64
Chain length: 11
Device Id: 00011000000000000110000110010111 (0x18006197)
  Filename:     support_files/bsdl/MAX16071.BSD
Device Id: 00011000000000000110000110010111 (0x18006197)
  Filename:     support_files/bsdl/MAX16071.BSD
Device Id: 00000000000000000000001111010011 (0x000003D3)
  Filename:     support_files/bsdl/marvell_guess.bsd
Device Id: 00000000000000000000001111010011 (0x000003D3)
  Filename:     support_files/bsdl/marvell_guess.bsd
Device Id: 00011010010001100100000001101001 (0x1A464069)
  Filename:     support_files/bsdl/25652kv18_x36_165.bsd
Device Id: 00011010010001100100000001101001 (0x1A464069)
  Filename:     support_files/bsdl/25652kv18_x36_165.bsd
Device Id: 00011010010001100100000001101001 (0x1A464069)
  Filename:     support_files/bsdl/25652kv18_x36_165.bsd
Device Id: 00011010010001100100000001101001 (0x1A464069)
  Filename:     support_files/bsdl/25652kv18_x36_165.bsd
Device Id: 00010110110101001010000010010011 (0x16D4A093)
  Filename:     support_files/bsdl/XC2C256_VQ100.bsdl
Device Id: 10000100001010001000000010010011 (0x84288093)
  Filename:     support_files/bsdl/xc6vsx475t_ff1759.bsd
Device Id: 00000100010000001111000111100001 (0x0440F1E1)
  Filename:     support_files/bsdl/ct_wrap_440EPx_B_Full.bsd

done.
    JTAG chain succesfully scanned.


Selected serial number:
  Manufacturer ID: D (Digicom)
  Type: 1 (ROACH2)
  Revision: 2 
  Batch: 20 
  Board: 10 

ROACH2 Rev 2 Testing - USB connected
    a) Run all tests excluding CX4 and SFP+
    1) Set serial number for ROACH2
    2) Power-up tests, JTAG scan and program EEPROM
    3) Switch board on
    4) Switch board off
    5) Print voltages, currents and temperatures
    6) Scan JTAG chain
    7) Program EEPROM
    8) Display EEPROM contents
    9) Test FLASH and PPC DDR2 memory
    0) Load U-boot, kernel and filesystem
    w) Program CPLD
    e) Test QDR memory
    r) Run DDR3, ZDOK, TGE, 1GE tests
    t) Run CX4 Mezzanine card tests
    y) Test SFP+ Cards
    u) Disable FTDI JTAG interface
    m) Unload U-Boot (if U-Boot does not start correctly and holds the I2C bus).
    q) Quit

(press 9 - Test FLASH and PPC DDR2 memory)

    Checking FLASH and PPC DDR2 memory.
    Switching board off.
    Board is currently off
    Switching board on.
    Loading flash checking program via JTAG, this will take while...
    Converting MAC file to urj... done.
    Uploading the urj file via JTAG...discovery.c:117 urj_tap_detect_register_size() Warning: TDO seems to be stuck at 0
 done.


U-Boot 2011.06-rc2-00000-g2694c9d-dirty (Dec 04 2013 - 20:58:06)

CPU:   AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133 OPB=66 EBC=66)
       No Security/Kasumi support
       Bootstrap Option C - Boot ROM Location EBC (16 bits)
       32 kB I-Cache 32 kB D-Cache
Board: ROACH2
I2C:   ready
DRAM:  512 MiB
Memory error at 00000000, wrote 00000000, read 272039ff !

FATAL: FLASH memory test failed. <type 'exceptions.Exception'>

Reply via email to