unload_prop.exe: Propeller EEPROM dump to PC .eeprom file.

Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 21,349
edited November 2011 in Propeller 1 Vote Up0Vote Down
I probably should have started with a new thread from the get-go, but this program was developed in answer to another thread, so I posted it there:

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

-Phil
“Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery

Comments

  • 7 Comments sorted by Date Added Votes
  • kuronekokuroneko Posts: 3,623
    edited September 2009 Vote Up0Vote Down
    Is there a size limit, i.e. 32K only?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 21,349
    edited September 2009 Vote Up0Vote Down
    Yes, by necessity, since the objective in this case is to produce an .eeprom file that can be accepted by the IDE and handled by the bootloader. That's not to say, though, that a similar program couldn't be written to download more than just 32K.

    -Phil
    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
  • 4x5n4x5n Posts: 716
    edited October 2011 Vote Up0Vote Down
    In the hopes that this program was written in C is there any chance of getting the source code to it?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 21,349
    edited October 2011 Vote Up0Vote Down
    The program is written in Perl. The source is attached here.

    -Phil
    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
  • Jorge PJorge P Posts: 341
    edited November 2011 Vote Up0Vote Down
    Just a note about unload_prop_source.zip... It requires Win32::SerialPort lib on windows based systems, other systems will need Device::SerialPort, including cygwin, so you will need to edit the file to get it to work. cpan will tell you this when trying to install Win32::SerialPort.
  • This thread hasn't been active for a while ...

    I used unload_prop successfully before - thanks Phil.

    Now I wanted to back up a running image from a PPDB,
    didn't realize the file size 0 and wiped it ... :-(((

    Luckily I had another board.
    Here I get:
    PS D:\Markus\Georg\downloads\Propeller\PropellerTool> .\unload_prop.exe 
    
      Using clock settings:
    
        _clkmode     = XTAL1 + PLL16X
        _xinfreq     = 5000000
    
      Output file: D:\Markus\Georg\downloads\Propeller\PropellerTool\unload.eeprom.
    
      Connecting to COM6 at 19200 baud.
    
    
      ERROR: Download failed to start correctly or EEPROM header corrupt. Check clock settings.
    
    PS D:\Markus\Georg\downloads\Propeller\PropellerTool> .\unload_prop.exe 5000000 XTAL1
    
      Using clock settings:
    
        _clkmode     = XTAL1 + PLL16X
        _xinfreq     = 5000000
    
      Output file: D:\Markus\Georg\downloads\Propeller\PropellerTool\unload.eeprom.
    
      Connecting to COM6 at 19200 baud.
    
    
      ERROR: Download failed to start correctly or EEPROM header corrupt. Check clock settings.
    

    The prop is booting and running fine from EEPROM ...

    PPDB is original. Crystal says T or I 5.000
    Anything I can do?

    thanks

    http://www.smmu.info (german) Source-Measure-Multiplex-Unit = professional test system for electronic components, sensors, assemblies
    Tachyon code and documentation snippets from Tachyon thread
  • My Prop OS can save an eeprom to a file on an SD card (FAT26/32). See my signature below for the link
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
Sign In or Register to comment.