luciodra wrote: 22 Oct 2024 20:17
Ok, the board is almost ready and there are very few components missing that are on the way. The card is beautiful and I have to thank my friend Paolo for the work, and of course Agranlund. I have a doubt on how to program emutos...
IMG_1594.jpg
Nice!
Someone should really finish the documentation, especially on how to program all the things and then a chapter on software setup.
And make a nice binary distribution of the needed/useful things.. I've been very short on spare time lately but it's something I'd like to do some day.
Anyways. For emutos the first step will be to upload the firmware to the simm programmer if you haven't done so already.
This procedure is the same as any RPI2040. Hold the button on the RPI while powering it on and it should show up as a removable disk on your operating system.
Drag-and-drop "/hw/simm/programmer/firmware/build/ravenprog.uf2" onto the RPI2040 and it should program itself and then reset.
Now that the programmer is running the firmware:
Put rom-simm in the programmer.
Use a serial terminal to connect to the programmer. It looks like it may be incompatible with a lot of them but "CoolTerm" works well.
Verify that you can communicate with the programmer over the serial terminal. Typing stuff should echo back, pressing 'h' (+ return) should show you a list of commands etc.
If this is working, you can press 'p' (+ return). It should inform you that it has erased the flash and is now waiting for you to send a file.
I'm not in front of my home pc but; Coolterm has an option in one of the menus to send binary file. Select this, and then select the file "/sw/rom/rom_tos.bin". You should see a progress bar in CoolTerm, and the light on the programmer should be flashing.
(I now realize I have accidentialy removed the pre-built "rom_tos.bin" from Github. It can be built from the sources of course but I will build and upload a binary as soon as I get a chance)
Once programming is finished, the light should stop flashing and there should be a message about being done printed in the terminal.
Remove rom-simm from programmer, put the simm in the rom slot on Raven.
You need a ram-simm in at least ram slot 0 for things to work too.
When you have all the things on the hardware side done and you are ready to test the machine:
You will absolutely want a USB<->RS232 cable connected between your PC and the "leftmost" serial port on Raven too.
Raven boot bios will print useful stuff here, and optionally allow you to interact with and debug the machine. Connect with 750000 baud.
Text output from here in your connected terminal should be the machines first sign of life.
A second second USB<->RS232 cable for the rightmost port can come in handy too but if you only have one then you can always just re-plug that one as you need. That second serial port is a normal Atari compatible one and it can be useful for debugging stuff that happens during EmuTOS bootup (with a debug build of EmuTOS). I believe EmuTOS expects a 9600 baud connection here.