Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test seems to hang in burst32() #2

Open
ThomasGmeinder opened this issue Aug 24, 2011 · 0 comments
Open

Test seems to hang in burst32() #2

ThomasGmeinder opened this issue Aug 24, 2011 · 0 comments

Comments

@ThomasGmeinder
Copy link
Member

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...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant