We all love to tinker and make things go fast! Spicy-o-clock, new faster vram, etc, so.... lets overclock our Hard drive too!
As with any overclock you're taking a risk driving something faster then it initially was intended to do. If something breaks, stops working, your sigificant other leaves you because of this - it is done at your own risk! No warranty or returns if you overclock
With the disclaimer out of the way - lets dig in!
This is something I've known about for a long time but haven't looked into much because USB communcation wont work at higher speeds. But interestingly enough we can control the clock speed in firmware after the USB bootloader runs! Which also means we could make it configurable via a config file in the future.
Ok so we now know it won't affect any features we use currently - so how do we do it?
Early adopters can download the latest code on github. In platformio.ini file in the [env:STM32F103C8] block - add
128MHz, you can try any value between 72 and 128MHz - your mileage may vary (if it does let us know below)
Flash and test.
If the above sounds confusing - please hold off on testing.
I've been running this in my PowerMac 9600 for a week and a half just to verify nothing goes horribly wrong and it's been working great for me:
There are still some todo's - the faster CPU speed means all of our timings are now a bit out of sync - while still works fine, we'll need to dynamically calculate some waits which should hopefully give even faster speeds.
Once I hear back from some of you intrepid over clockers I'll make it easier for people to try this with a config file, but need more data points before the general public starts experimenting with overclocking.
As with any overclock you're taking a risk driving something faster then it initially was intended to do. If something breaks, stops working, your sigificant other leaves you because of this - it is done at your own risk! No warranty or returns if you overclock
With the disclaimer out of the way - lets dig in!
This is something I've known about for a long time but haven't looked into much because USB communcation wont work at higher speeds. But interestingly enough we can control the clock speed in firmware after the USB bootloader runs! Which also means we could make it configurable via a config file in the future.
Ok so we now know it won't affect any features we use currently - so how do we do it?
Early adopters can download the latest code on github. In platformio.ini file in the [env:STM32F103C8] block - add
Code:
board_build.f_cpu = 128000000L
Flash and test.
If the above sounds confusing - please hold off on testing.
I've been running this in my PowerMac 9600 for a week and a half just to verify nothing goes horribly wrong and it's been working great for me:
There are still some todo's - the faster CPU speed means all of our timings are now a bit out of sync - while still works fine, we'll need to dynamically calculate some waits which should hopefully give even faster speeds.
Once I hear back from some of you intrepid over clockers I'll make it easier for people to try this with a config file, but need more data points before the general public starts experimenting with overclocking.