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

RP2350 PSRAM inconsistency and crashes #9755

Closed
bill88t opened this issue Oct 23, 2024 · 1 comment · Fixed by #9759
Closed

RP2350 PSRAM inconsistency and crashes #9755

bill88t opened this issue Oct 23, 2024 · 1 comment · Fixed by #9759
Assignees
Milestone

Comments

@bill88t
Copy link

bill88t commented Oct 23, 2024

CircuitPython version

Adafruit CircuitPython 9.2.0-rc.0 on 2024-10-23; Adafruit Feather RP2350 with rp2350a
ESP-PSRAM-64H soldered on

Code/REPL

>>> from os import urandom
>>> a = urandom(7340032) # 7ish megs, do not reload
>>> import microcontroller
>>> microcontroller.reset()
# Then once it's up
>>> import gc
>>> gc.mem_alloc()
1312
>>> gc.mem_free()
776512
>>>

Behavior

Also cold booting, sends the board to safemode, assuming it doesn't like mem contents.
Booting by upgrading from 9.2.0-beta.1-21-gb7af97ee92 works.

Description

Feels like ram contents matter and are not cleaned on chip init.

Additional information

Adafruit CircuitPython 9.2.0-beta.1-21-gb7af97ee92 on 2024-10-23; Adafruit Feather RP2350 with rp2350a is good.

@bill88t bill88t added the bug label Oct 23, 2024
@dhalbert dhalbert added this to the 9.2.0 milestone Oct 24, 2024
@tannewt tannewt added the rp235x label Oct 24, 2024
@dhalbert
Copy link
Collaborator

I was able to reproduce this problem. I also experimentally changed the PSRAM memory address to point the uncached access address space, and that does not show the problem. So I think it is some problem with the caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants