Closed osresearch closed 5 years ago
At 24 MHz the hello world resets frequently. At 16 MHz more complex programs work, but it still resets if some instructions are used (like division?)
@osresearch I am waiting for the mail to deliver my upduino, but I created a patch to use the 12 Mhz oscillator:
EDIT: https://github.com/tomtor/icicle/tree/upduino_osc
Can you test it? I will test it myself as soon as I have the hardware. If it works I'll create a PR.
I don't have any UltraPlus devices (...yet, eagerly awaiting iCEBreaker+Fomu!) so the support isn't particularly well-tested.
I've made the bypassing + branch prediction optional (and disabled by default). This increases the maximum clock frequency on UP5K devices to ~20 MHz, which is now above 16 MHz (the lowest clock speed support by the PLL). I've dropped FREQ_PLL to 16 for UP5K devices, so it should work out the box now.
Checked out 47046ca38ded889108630c7ee964093b827691b5 and ran
make BOARD=upduino
:This is with: