Load/Execute binaries via serial?
Oldbitcollector (Jeff)
Posts: 8,091
Has anyone done a solution to load/execute binaries through serial?
something along the lines of what Femtobasic does except from a
connected PC or Prop via Propplug/serial?
A serial modification of FSRW might make a nice drop-in for folks without SD attached.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
something along the lines of what Femtobasic does except from a
connected PC or Prop via Propplug/serial?
A serial modification of FSRW might make a nice drop-in for folks without SD attached.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Something like the old Atari SIO protocol would work: ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: Forum
NTSC & PAL driver templates: ObEx Forum
OnePinTVText driver: ObEx Forum
Post Edited (ericball) : 11/24/2009 5:43:45 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: Forum
NTSC & PAL driver templates: ObEx Forum
OnePinTVText driver: ObEx Forum
Good information! Thanks!
I was considering what it might take to do a Propeller based Zmodem protocol as
it would "auto-start" the transfer from a compatible terminal. This might eliminate
the need to recreate the wheel, that is unless there is already an Atari SIO server
written for the PC?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Check out the Generic_SD_Loader and Generic_SIO_Loader programs that are provided as Catalina utilities. The SD loader can either load programs from SD card into the local CPU and execute it, or send it using a serial protocol to another CPU running the SIO loader (which then executes it).
They work for both normal SPIN/PASM programs and Catalina programs (hence the "generic" bit). I intend to write a PC program that will do the same over a PropPlug (the Generic_SIO_Loader program will already accept that) but I haven't had time yet.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Thanks I'll give that a look...
I was under the impression that Atari was the originator of the SIO protocol in their 8bit machines?
I'm getting the impression that they don't have the corner on the market there? [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
Already reviewing the specification... [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Sorry, I may have misled you. I just meant SIO as shorthand for "Serial I/O" - the actual serial protocol I use is quite trivial, and is not the Atari "SIO" - although I wish I had seen the Atari one a few days ago, since I've just extended my own SIO protocol to handle keyboard, mouse, screen and SD Card access transparently from one Prop to another when used in a multi-prop system (such as Morpheus or the TriBladeProp). This will be included in the next release of Catalina, to be released shortly ("shortly" as measured in units of geological time).
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Does Zmodem take a command to request a file by name ? If so, then I can see where you are going with this. Suggest you ask Drac. He has many versions of X/Y/Z modem.
Or are you after a pc program (windoze/unix/mac) that will function like an SD card with calls from a prop cog simulating it is connected to an SD card but in reality it is a pc via serial/USB?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
PropTerminal can do that. You can send a request to PropTerminal which includes the filename. PropTerminal then uploads the binary into RAM or EEPROM depending of the extension. You can also request a text file which is then sent in 16 Byte packets, and you can save a text file on the PC harddisk.
But it can not emulate FSRW and can also not provide a directory of the files available to download.
Emulating FSRW would be very slow and it would be not possible to play Wave files and such things.
Andy
1. Prop sends command block to PC.
2. PC provides 1 byte response to command (MSB set=error, transfer aborted)
3. Prop or PC performs data transfer with checksum/CRC
4. PC or Prop provides 1 bytes response to data transfer (MSB set=error, transfer aborted)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: Forum
NTSC & PAL driver templates: ObEx Forum
OnePinTVText driver: ObEx Forum