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

Does changing RP2040 clock speed change file read/write times? #91

Open
nateinaction opened this issue Jan 10, 2025 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@nateinaction
Copy link
Member

Summary

It takes about 170 seconds to load the flight software onto the board with make install. Can it be done faster? We reduce the CPU clock speed on the satellite as a power saving feature, let's see what kind of impact it has on development speed.

Suggested testing methodology

  1. Delete all files from the board
  2. Use screen to drop into the repl on the board:
screen /dev/tty.usbmodem101
  1. Set the clock speed high
machine.set_clock(125000000)  # 125Mhz
  1. From your computer, test read/write speed
# cd to the board mount
cd /Volumes/PYSQUARED
# Test board write speed
dd if=/dev/zero of=./test bs=5k count=10 oflag=direct
  1. Set clock speed low
machine.set_clock(62500000)  # 62.5Mhz
  1. From your computer, test read/write speed
# cd to the board mount
cd /Volumes/PYSQUARED
# Test board write speed
dd if=./test of=/dev/zero bs=5k count=10 oflag=direct
  1. Post the results in the issue

Board mount location may differ. You can find out how to find the volume in the README.md.

@nateinaction nateinaction added the good first issue Good for newcomers label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant