[Oberon] FPGA - Boot over serial line

Paul Reed paulreed at paddedcell.com
Fri Oct 20 11:24:23 CEST 2017


Hi Tomas,

> I can now also run `TestLEDs' using BootLoader. I compiled the module
> in asterisked mode. The size of resulting `rsc' file is 205 bytes.
>... I clipped the NULL terminated module name (9 bytes),
> then another 25 bytes until `B 7' opcode, then also removed 30
> bytes from the end until `B R0' opcode.... insert a header with file size
> above, and its start address. The sequence is then terminated by NULL
> header.... name the boot file `TestLEDs.bin', not sure what convention is.

Again, it is easy to see how to use the code in ORTool.DecObj to write a
command to output a bootfile in the format accepted by
BootLoad.LoadFromLine.  I tend to have Oberon bootfile names with no
extension at all, but .bin is another reasonable choice.

> SW[1] set to ON, serial line set (19200 bauds 1 stopb,..), now boot over
> serial line.
> $ cp TestLEDs.bin /dev/ttyUSB1
>
> Works!

Great!  Congratulations.  Much faster than any other method.

Cheers,
Paul




More information about the Oberon mailing list