Shop OBEX P1 Docs P2 Docs Learn Events
Question about SIDE — Parallax Forums

Question about SIDE

J^3J^3 Posts: 121
edited 2012-05-18 06:32 in Propeller 1
While using the burn button in SIDE to program the EEPROM on a quickstart board I have to reset the board for the program to start running. Is this normal? I am using SIDE version 0.6.10.

I would also like to say a big thank you to all involved in this project and Prop-Gcc.

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-05-15 23:18
    J^3 wrote: »
    While using the burn button in SIDE to program the EEPROM on a quickstart board I have to reset the board for the program to start running. Is this normal? I am using SIDE version 0.6.10.

    I would also like to say a big thank you to all involved in this project and Prop-Gcc.

    Yes, it is normal. Maybe it is not intuitive?

    I've wondered whether or not the board should be reset after programming. Should it be?
  • KyeKye Posts: 2,200
    edited 2012-05-16 06:40
    That's what the prop tool does. So, it should be similar.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-05-16 06:51
    I'd vote for consistency among tools. At times it would be nice to be able to load and not execute immediately (robots, servos, high powered laser targeting systems, etc.) but most the time I hit the "burn" button and then wonder why my program isn't running.
  • jazzedjazzed Posts: 11,803
    edited 2012-05-16 07:37
    Thanks for the feedback. I'll add this for version 0-7-0.
  • J^3J^3 Posts: 121
    edited 2012-05-17 20:17
    Jazzed,

    Thanks for the reply. I don't believe I have to manually reset the propeller when using the propeller tool as others have mentioned before me.
  • jazzedjazzed Posts: 11,803
    edited 2012-05-17 22:41
    J^3 wrote: »
    Jazzed,

    Thanks for the reply. I don't believe I have to manually reset the propeller when using the propeller tool as others have mentioned before me.

    Thanks for the reminder. I've added a call to reset the board after burning the EEPROM for the next release.
    --Steve
  • David BetzDavid Betz Posts: 14,516
    edited 2012-05-18 05:52
    jazzed wrote: »
    Thanks for the reminder. I've added a call to reset the board after burning the EEPROM for the next release.
    --Steve
    Why do you need to add a separate call to reset the board? Why can't you use the DOWNLOAD_RUN_EEPROM option in your PLoadLib.c code?
  • jazzedjazzed Posts: 11,803
    edited 2012-05-18 06:10
    David Betz wrote: »
    Why do you need to add a separate call to reset the board? Why can't you use the DOWNLOAD_RUN_EEPROM option in your PLoadLib.c code?

    Can I do that by passing -e -r to propeller-load? Honestly I forgot.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-05-18 06:20
    Dagnabbit, that's the problem with all these new fangled IDE's....people forget their command line skills......

    There's a DOC for that!
    [h=2]Loader Option Details[/h]The command line loader has a built-in  syntax help that explains -r and -t and the other parameters. Use  propeller-load -h for help. 
    
      Begin Example
    
    C:\>propeller-load -h
    usage: propeller-load
             [ -b <type> ]     select target board (default is 'default')
             [ -p <port> ]     serial port (default is to auto-detect the port)
             [ -I <path> ]     add a directory to the include path
             [ -D var=value ]  define a board configuration variable
             [ -e ]            write the program into EEPROM
             [ -r ]            run the program after loading
             [ -s ]            write a spin .binary file for use with the Propeller Tool
             [ -x ]            write a .pex binary file for use with the SD loader
             [ -l ]            load the sd loader into either hub memory or EEPROM
             [ -z ]            load the sd cache loader into either hub memory or EEPROM
             [ -t ]            enter terminal mode after running the program
             [ -t<baud> ]      enter terminal mode with a different baud rate
             [ -q ]            quit on the exit sequence (0xff, 0x00, status)
             <name>            elf or spin binary file to load
    

    Good thing I work for free or I'd be pretty annoying!!! :smile:
  • jazzedjazzed Posts: 11,803
    edited 2012-05-18 06:30
    mindrobots wrote: »
    Dagnabbit, that's the problem with all these new fangled IDE's....people forget their command line skills......

    There's a DOC for that!

    Problem is there are 2 docs for it, and that one is out of date although basically correct. Time to purge and make links to the right stuff.
  • David BetzDavid Betz Posts: 14,516
    edited 2012-05-18 06:32
    jazzed wrote: »
    Problem is there are 2 docs for it, and that one is out of date. Time to purge and make links to the right stuff.
    Yes but I suspect the -e -r options are listed in both docs since they've been there since the beginning or at least since the -e option was added. :-)

    Sorry I mentioned the PLoadLib option. I forgot that you were just invoking the command line program and don't have access to the internal parameters of PLoadLib directly.
Sign In or Register to comment.