Shop OBEX P1 Docs P2 Docs Learn Events
Possible to load-up a P1 program from another MCU? — Parallax Forums

Possible to load-up a P1 program from another MCU?

Just brainstorming a concept, here.

If I have my Micromite using the P1 as a peripheral, is it possible to take a Prop program from the Micromite's SD card and load/execute it on the Prop?

Comments

  • Wuerfel_21Wuerfel_21 Posts: 4,501
    edited 2020-08-22 14:23
    Yes - either hook your host MCU to the P1's serial pins and load through those or have it emulate an I²C EEPROM - I've seen code for both of these thing written on the Prop itself, shouldn't be difficult on another MCU, either.
  • Hi

    I'm sure it must be if you get the micromite to imitate PC on serial.
    The protocol is available and I have in the past written a program in Basic (Freebasic or was it Qbasic or QB64....can't remember), that can read a file from disc and run it on the prop's ram, wasn't rocket science if I can do it so the micromite can surely do it- especially since it will not have to worry how to pulse the props reset pin.

    Dave
  • This is great news. Yeah I remember reading about toggling the reset and that was the worrying bit.
    Micromite BASIC is very similar to MS BASIC.

    Any idea where I can find the protocol?
  • Many thanks for this and the PM, Dave...now I need to find some time :smile:

    Regards,

    Craig
Sign In or Register to comment.