I have been lurking on the Ox64 for while but I need a few more green lights:
- Is the boot rom enough to fully init the SOC? Aka, I don't need to run extra code I would need to include in my keyboard firmware on the sdcard.
- The hardware programming manual misses the USB2 controller with its DMA programming. Even with some SDK example, you would need the hardware programming manual to understand properly how all that works.
- I want to run my keyboard firmware directly from the sdcard slot, and that directly on the 64bits risc-v core, possible? (no 32bits risc-v core).
I'm not the most familiar with it, but I believe all hardware init (setting clock source, initialing USB, GPIO, etc.) is handled by the flashable firmware of which there are open source SDKs for.
I guess this is a "standard" flashing protocol over usb, enabled by the right button pressed at power on (plugging the USB cable). Would I need to including the flashing support code into my keyboard/SDcard loader firmware or is it handled separately by a different piece of hardware?
Any specs on the format of the firmware image, to know which core will run the real boot code?
Erk... soooo many questions in the wrong news :(
Edit: to clarify, there's a bug in the bootrom that prevents the initialization of the USB device. Newer revisions of the Ox64 may fix this.
- how do you run anything with that board if you cannot flash anything, I don't understand?
- I cannot use it as usb keyboard controller because of a bootrom bug? (power/data via usb-c)
Now I am confused.
The bootrom bug only prevents you from flashing via the on-board USB-c port. You can use a separate USB <-> UART device plugged into GPIO pins to boot/flash.
This is weird.
If resellers with stocks know that, they will send back the boards and ask for a refund.
meh.