Shop OBEX P1 Docs P2 Docs Learn Events
How to download a binary? — Parallax Forums

How to download a binary?

ManAtWorkManAtWork Posts: 2,178
edited 2010-03-01 20:29 in Propeller 1
Hello,

I feel a bit confused, again. In the propeller tool I can save binary and eeprom files. It is said that eeprom files are for use with hardware programmers to load an eeprom chip directly. But is there no way to download a binary file directly to a propeller? If I load a binary file i can only display the hex view but it seems that I can't·do anything useful with it.

What if I want to release a software·update for a propeller product but I don't want to reveal the source code? Is there a simple tool that can do that with a simple button push where customers can't do much wrong? (Of course the product includes a serial port)

Thanks
·

Comments

  • JackBakJackBak Posts: 45
    edited 2010-03-01 20:03
    Good question. I meant to ask this awhile ago. Or how about a way to push the binary image out to the com port via the product's web site, assuming the
    Prop product has the equivalent of the PropPlug in its circuitry.
  • Mike GreenMike Green Posts: 23,101
    edited 2010-03-01 20:10
    If you open a binary file from the Propeller Tool, you can download it to a Propeller. Look at Propellent or BSTL for command line tools or BST for a cross-platform IDE that can also download binary files to a Propeller. It's quite possible to package Propellent or BSTL with a binary file and distribute that for a software update without revealing the source code.

    You can also copy the binary file to an SD card (with an 8.3 filename) and update your software that way if your product includes an SD card or micro-SD card socket (on 4 I/O pins). Also look at the documentation for the Propeller Backpack for a way of downloading software using a single I/O pin.
  • hover1hover1 Posts: 1,929
    edited 2010-03-01 20:17
    Would this help?

    ·http://forums.parallax.com/showthread.php?p=878864

    Jim

    EDIT: Mike was ahead of me....AGAIN tongue.gif
  • JackBakJackBak Posts: 45
    edited 2010-03-01 20:21
    Why yes Jim and Mike that would help. Thanks. I just never looked into Propellant.
  • ManAtWorkManAtWork Posts: 2,178
    edited 2010-03-01 20:29
    Ouch! wand.gif

    Now I know I·WAS confused. Of course, there is a "Load RAM" and a "Load EEPROM" button in the hex view window (F8). I just didn't look carefully enough. I thought the "Load" stands for loading files from disk like the "Save" buttons are for saving files to disk.

    Thanks, Mike and Tim. Yes, that helps.
Sign In or Register to comment.