Pencioner
Reaction score
0

Latest activity Postings About

    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      I believe i might undestand what happens (to some extent) The code which detects PSRAM chips are switching them to SPI by issuing 0xF5 (exit QPI mode), then resets chips and uses 0x9F (read ID bytes) to detect is it is PSRAM or not, but command...
    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      on Arduino IDE it is not reproducible because it fails only if startup.c is patched with a clock change to 120MHz. if i change clock in setup() or loop() before doing anything, the issue is gone. that's a mystic bug tho. no need to investigate...
    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      i didn't mean that code posted is a complete testing. i only say that in my case i have this issue with as little as 16K of data (the rom content is in another file). if asm commands are removed it doesn't make any error because of cache of...
    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      Well, long story short: I got two 4.1s: Name it Unit1 - no ethernet one and have two Adafruit PSRAMs installed, currently is soldered to a prototype. The PSRAM test sketch passes on all frequencies including 133MHz and below (120MHz, 110.77Mhz...
    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      I think i know how to distinguish write/read failures. 1) Copy array with default slower 88MHz clock - verify data is same 2) Change clock to faster 3) Try to reproduce read failure 4) Copy array again with faster clock 5) Switch to default clock...
    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      Actualy there is a 16Kb rom in uint8_t array which i initially used (source generated with Python from actual file) to check if signals are ok, an it is located in the fastest (tight coupled) memory. Then as a next step i added EXTMEM array, and...
    • Pencioner
      Pencioner replied to the thread Teensy 4.1 psram memtest.
      Hey, i want to mention that PSRAM memtest provided is not completely trustful and may say "all is fine" while it is really not :) It costed me a couple of hours until i figured it out btw. I'm working on a hobby project which will read/write the...
  • Loading…
  • Loading…
Back
Top