Shop OBEX P1 Docs P2 Docs Learn Events
Prop Download protocol — Parallax Forums

Prop Download protocol

Cluso99Cluso99 Posts: 18,069
edited 2013-08-03 13:54 in Propeller 1
Is anyone familiar with the download protocol?

I am trying to write an OS routine that intercepts the download protocol (by disabling the reset) and just waits for the downloading to begin and runs it own code in a cog.
I am using the "booter.spin" code slightly modified for this.

It seems to work downloading the file and then PropTool gives up and issues the message "lost communication with the propeller".

Does the PropTool issue more than one reset for the download?

Once I can accept the download, I am going to work on saving the file to SD instead of eeprom.

Comments

  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2013-08-03 06:43
    Hi, not sure if I'm following you right but I have at times modified the bootloader in such a way that it waits for a specified time or waits indefinitly for a download after the initial reset. I have also modified where the bootloader writes to. I don't have all the info with me right now but here is a link with a delayed bootloader. http://forums.parallax.com/showthread.php/136874-Bluetooth-Programming-Demo

    Jeff T.
  • Cluso99Cluso99 Posts: 18,069
    edited 2013-08-03 13:54
    Thanks Jeff. I had forgotten about your method. I shall give it a try in case I have a bug in my mods to the booter code. Will not be for a week as I will be away for my daughters wedding.
Sign In or Register to comment.