Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE: save binary option for testing iPad XBee loader (Betz/Jazzed?) — Parallax Forums

SimpleIDE: save binary option for testing iPad XBee loader (Betz/Jazzed?)

Ken GraceyKen Gracey Posts: 7,392
edited 2014-03-07 08:58 in Propeller 1
Hey guys,

This option may already exist right under my nose, but since I don't know I thought I'd ask. We have made great progress using an iPad to download code to a Propeller. In fact, we're downloading entire 32KB programs over WiFi with a simple S6B connection to P30/31/Vss and RST. Details on the exact setup shall follow shortly, but it's working very well. I'd like to test this setup with an ActivityBot using some of our Learn.parallax.com code examples because it's a really great demonstration to download code to something that's rolling around.

At present, we handle this tool like TechBASIC - drag your files into the iTunes application and then they're available on the iPad. We're using binary files.

So, can Simple IDE compile C and save them as a binary file?

Thanks,

Ken Gracey

XBeeDownloader.jpg

PropMini.jpg
1024 x 1365 - 76K
1024 x 768 - 88K

Comments

  • dgatelydgately Posts: 1,630
    edited 2014-03-06 18:09
    Ken,

    Whenever SimpleIDE builds a project, it places a .binary and a .elf file in a directory labelled with the memory model type (i.e. cmm, lmm, etc.) within the same folder as the project files.

    Example file tree after building this simple project for both cmm & lmm memory models:

    go.png



    dgately
    511 x 114 - 17K
    go.png 17.1K
  • jazzedjazzed Posts: 11,803
    edited 2014-03-06 19:55
    When did you want that feature again? As Dennis notes, it already exists.

    Making a .binary automatically was recently added to the program that Jeff should be testing.
  • Jeff MartinJeff Martin Posts: 758
    edited 2014-03-07 07:51
    jazzed wrote: »
    Making a .binary automatically was recently added to the program that Jeff should be testing.

    Just to confirm,
    • the .binary can be downloaded using the standard Propeller protocol?
    • the .binary doesn't need any pre-patching like what propeller-load does with .elf files?
    • this works for lmm (and below) only? Is there some kind of .binary(ies) generated for xmm modes?
  • jazzedjazzed Posts: 11,803
    edited 2014-03-07 08:28
    the .binary can be downloaded using the standard Propeller protocol?
    Yes. It's C or SPIN.
    the .binary doesn't need any pre-patching like what propeller-load does with .elf files?
    No.
    this works for lmm (and below) only?
    Yes. CMM and LMM. Not sure about COG mode.
    Is there some kind of .binary(ies) generated for xmm modes?
    No .binary is generated for any xmm mode.

    This is all made possible by David's propeller-load program.
  • Jeff MartinJeff Martin Posts: 758
    edited 2014-03-07 08:58
    Thanks jazzed!
Sign In or Register to comment.