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

Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 22,467
edited 2011-11-03 - 21:49:34 in Propeller 1
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

  • kuronekokuroneko Posts: 3,623
    edited 2009-09-27 - 05:41:54
    Is there a size limit, i.e. 32K only?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 22,467
    edited 2009-09-27 - 06:10:16
    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 2011-10-30 - 13:28:56
    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: 22,467
    edited 2011-10-30 - 16:44:23
    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: 385
    edited 2011-11-03 - 21:49:34
    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.
    Jorge P.
  • MJBMJB Posts: 1,126
    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

  • 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
    P1 Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    P1: Tools (Index) , Emulators (Index) , ZiCog (Z80)
    P2: Tools & Code , Tricks & Traps
Sign In or Register to comment.