Booting the Prop from SD card - discussion and ideas
Cluso99
Posts: 18,069
Many of you are aware of the ZiCog/CPM project and the TriBlade hardware. We now also have an emerging DracBlade and RamBlade.
Firstly, a big thankyou to all who have made this project possible... heater, lonesock, rokicki, oldbitcollector, mike green, bradc, dr_acula, potatohead,·and many others.
The new RamBlade will boot from the microSD card - I will refer to it as an SD card as they are equivalent from a software perspective. The RamBlade does not necessarily require a PropPlug to program it. It will come with a preprogramed Eeprom with code to load a binary from the SD card.
This has already been done with PropDos and PropCmd and I have run a version on the TriBlade many months ago.
Drac has written Xmodem for file transfers to the CPM disk files and the same basics could be used to get files onto the SD card in FAT16 format.
It is now relatively easy to transfer files to SD cards from Windows.·Some PCs, laptops and printers come with SD slots. Adapters are also fairly cheap and readily available.
So, what we require is some standard code to reside in the Eeprom which does not require modification. Something akin to PropDos.·PropDos can load and run a binary from the·SD card. ProCmd extends this feature looking·for a file "autoexec.bin" and if found, loads and·runs it.
In the case of the RamBlade, it will not be known what is on the other end of the serial lines, as well as the baudrate. I am proposing the "autoexec.bin" file will contain the executable which also defines the hardware attached.
Due to the timing of the release of RamBlade, I will most likely have to do the code and publish it under MIT for further development. Most likely it will be a cut-down of PropDos and PropCmd.
I am interested in any comments or suggestions. This code will apply equally to any operating system and hardware.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Firstly, a big thankyou to all who have made this project possible... heater, lonesock, rokicki, oldbitcollector, mike green, bradc, dr_acula, potatohead,·and many others.
The new RamBlade will boot from the microSD card - I will refer to it as an SD card as they are equivalent from a software perspective. The RamBlade does not necessarily require a PropPlug to program it. It will come with a preprogramed Eeprom with code to load a binary from the SD card.
This has already been done with PropDos and PropCmd and I have run a version on the TriBlade many months ago.
Drac has written Xmodem for file transfers to the CPM disk files and the same basics could be used to get files onto the SD card in FAT16 format.
It is now relatively easy to transfer files to SD cards from Windows.·Some PCs, laptops and printers come with SD slots. Adapters are also fairly cheap and readily available.
So, what we require is some standard code to reside in the Eeprom which does not require modification. Something akin to PropDos.·PropDos can load and run a binary from the·SD card. ProCmd extends this feature looking·for a file "autoexec.bin" and if found, loads and·runs it.
In the case of the RamBlade, it will not be known what is on the other end of the serial lines, as well as the baudrate. I am proposing the "autoexec.bin" file will contain the executable which also defines the hardware attached.
Due to the timing of the release of RamBlade, I will most likely have to do the code and publish it under MIT for further development. Most likely it will be a cut-down of PropDos and PropCmd.
I am interested in any comments or suggestions. This code will apply equally to any operating system and hardware.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Guess I was thinking a little more like options, but then I don't know what hardware is connected so cannot really give any feedback or ask any questions.
Maybe I am thinking more like DOS on the PC. Looking at autoexec.bat to see what binary to run, baudrate, etc.
So I am looking further than just booting RamBlade with ZiCog/CPM. I want to be able to boot a number of different binary files.
I am just thinking aloud LOL.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm