Skip to content

Test seems to hang in burst32() #2

@ThomasGmeinder

Description

@ThomasGmeinder

I ran the app_sdram_burst_example on the XDK with SDRAM expansion card and it seems to hang in sdram_write.
Details:

  • Tool version : 11.2
  • hangs at: PC 0x00010112 according to dumpstate:
    0x10112 <sdram_write.coersed..f.7b0.7d.28ui.2csi.2csi.2csi.2cp.28c.3aui.29.2csi.29+102>: out (r2r) res[r1], r0 *
  • Console output appended

Interestingly, the version from https://www.xmos.com/download/public/SDRAM(1.1).zip
works with the same setup. I.e. it gets to:
All tests passed OK

I did a graphical diff of the sources. The only difference seems to be that this version uses partout function instead of
partout(p_sdram_addr0,1,0);
whereas the version 1.1 uses the output operator
p_sdram_addr0:1 <: 0;

Appendix:

xrun --io app_sdram_burst_example.xe
required min tools version: 9.9.0
tested with XC optimisation level O2

  • Simple test
    PASS
  • Timing test
    4 threads, all 4 active during read/write
    Write time: 5191980ns
    Read time: 5163870ns
  • Normal length burst test (ETA 6sec)
    Generating...writing...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions