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

Red video distortion when access USB filesystem #115

Open
astralaster opened this issue Feb 13, 2024 · 5 comments
Open

Red video distortion when access USB filesystem #115

astralaster opened this issue Feb 13, 2024 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@astralaster
Copy link
Collaborator

Current firmware produce red visual distortions (lines) when the filesystem is accessed via USB. Its currently unknown why exactly this happens.

@astralaster astralaster added the bug Something isn't working label Feb 13, 2024
@zbyti
Copy link

zbyti commented Feb 13, 2024

when I used a USB2.0 pendrive data was read very slowly, it was very visible.

now I use a USB3.0 pendrive and it is less bothersome, but it occurs, something like using keyboard on the ZX80 :D

@paulscottrobson
Copy link
Owner

I suspect this is activity on the part of tinyUSB, maybe locking out the other core ? Needs an RP2040 expert as such is way beyond my knowledge of it.

@astralaster astralaster added the help wanted Extra attention is needed label Feb 13, 2024
@paulscottrobson
Copy link
Owner

Also suspect #66 is related to this.

@astralaster
Copy link
Collaborator Author

I did some more testing today. Its now pretty obvious that the problem is flash access. I did remove the PICO_FLASH_SPI_CLKDIV=4 and the boot_stage2 stuff and it does not show the red line glitches at all. We need to reevaluate if its feasible to use PICO default settings for the flash. Otherwise we could try to force specific functions into ram to avoid those flash accesses.

@paulscottrobson
Copy link
Owner

Don't want to give up RAM to that unless it's a small amount. It's a bit in short supply as it is. I suppose the only real way to try it out is to let people try it and see if it works ?

Also found this raspberrypi/pico-sdk#1304 which suggests setting PICO_XOSC_STARTUP_DELAY_MULTIPLIER as a fix to a similar problem ? I think booting problems were the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants