Shop OBEX P1 Docs P2 Docs Learn Events
Running XMM programs from SD card — Parallax Forums

Running XMM programs from SD card

AntoineDoinelAntoineDoinel Posts: 312
edited 2011-11-09 09:57 in Propeller 1
Is there any way to run an elf (or other format) xmm binary from SD card yet?

The reason I'm asking is that I'm trying to get RamBlade working with gcc XMM, but can't use propeller-load since the board needs to switch to different serial port pins between primary and secondary download.

I see there is an option to output "pex" file format, so I guess something is in the works...

Comments

  • David BetzDavid Betz Posts: 14,516
    edited 2011-11-04 13:31
    Is there any way to run an elf (or other format) xmm binary from SD card yet?

    The reason I'm asking is that I'm trying to get RamBlade working with gcc XMM, but can't use propeller-load since the board needs to switch to different serial port pins between primary and secondary download.

    I see there is an option to output "pex" file format, so I guess something is in the works...
    Very observant! Yes, the .pex file (Propeller Executable) is intended to be loaded from an SD card. Unfortunately, the SD loader only works on the C3 at the moment but I'm currently working on making it work on other boards. The RamBlade is on my list but I have a bit more wiring to do before my board is ready to run any software. I will address the RamBlade need for using a separate port for downloads and terminal mode.

    I'm also working on an SD cache driver that will let you run XMM code directly from the SD card. That is a bit further off.

    So, everything you are looking for is coming. Unfortunately, it's not here quite yet.
  • AntoineDoinelAntoineDoinel Posts: 312
    edited 2011-11-04 14:44
    David Betz wrote: »
    Very observant! Yes, the .pex file (Propeller Executable) is intended to be loaded from an SD card. Unfortunately, the SD loader only works on the C3 at the moment but I'm currently working on making it work on other boards. The RamBlade is on my list but I have a bit more wiring to do before my board is ready to run any software. I will address the RamBlade need for using a separate port for downloads and terminal mode.

    I'm also working on an SD cache driver that will let you run XMM code directly from the SD card. That is a bit further off.

    So, everything you are looking for is coming. Unfortunately, it's not here quite yet.

    Thanks David

    maybe you prefer to redo it yourself, anyway here's the (untested) driver.

    "NEXT! - what's your name?"
    "HX512 sir" :lol:
  • David BetzDavid Betz Posts: 14,516
    edited 2011-11-04 14:54
    No, I don't prefer to do it myself. Thanks for the code! I'll try it as soon as I get my RamBlade up and running.
  • Bill HenningBill Henning Posts: 6,445
    edited 2011-11-09 09:57
    David Betz wrote: »
    Very observant! Yes, the .pex file (Propeller Executable) is intended to be loaded from an SD card. Unfortunately, the SD loader only works on the C3 at the moment but I'm currently working on making it work on other boards. The RamBlade is on my list but I have a bit more wiring to do before my board is ready to run any software. I will address the RamBlade need for using a separate port for downloads and terminal mode.

    I'm also working on an SD cache driver that will let you run XMM code directly from the SD card. That is a bit further off.

    So, everything you are looking for is coming. Unfortunately, it's not here quite yet.

    Running cached XMM directly of SD will be VERY nice...
Sign In or Register to comment.