Shop OBEX P1 Docs P2 Docs Learn Events
What goes from the computer to the Propeller? — Parallax Forums

What goes from the computer to the Propeller?

MicrocontrolledMicrocontrolled Posts: 2,461
edited 2009-10-05 22:38 in Propeller 1
I am curious: when the computer sends the propeller the code from Propeller Tool software, what does it do? Does it send just the text (excluding comments) and the Prop configures it, or does it compile and send it in compressed data packets, or what? I have built a text editor made to compile and download code, but I am stuck at how to send it. Can someone help please?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Computers are microcontrolled.

Robots are microcontrolled.
I am microcontrolled.

But you·can·call me micro.

Want to·experiment with the SX or just put together a cool project?
SX Spinning light display·


Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-05 22:38
    The Propeller Tool compiles the program into interpretive code and sends the compiled code to the Propeller along with some control information.· The actual format of the information is modified so that it can be transmitted without accurate timing (since the Propeller is running off its internal clock during the download).· There is a Spin version of the boot downloader that Chip wrote as an example of the boot loading process and its source is posted somewhere on the forum.· There's documentation posted on the format of this boot information as well.

    There are now several Spin/Assembly compilers including BST and HomeSpun, all available here for free.· There's the Propellent program which is a command-line form of the Propeller Tool and all of these have their own download functions (all compatible).

    None of these compilers send the source text to the Propeller.
Sign In or Register to comment.