Shop OBEX P1 Docs P2 Docs Learn Events
unload_prop.exe: Propeller EEPROM dump to PC .eeprom file. — Parallax Forums

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

Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
edited 2011-11-03 21:49 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

Comments

  • kuronekokuroneko Posts: 3,623
    edited 2009-09-27 05:41
    Is there a size limit, i.e. 32K only?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-09-27 06:10
    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
  • 4x5n4x5n Posts: 745
    edited 2011-10-30 13:28
    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: 23,514
    edited 2011-10-30 16:44
    The program is written in Perl. The source is attached here.

    -Phil
  • Jorge PJorge P Posts: 385
    edited 2011-11-03 21:49
    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.
  • MJBMJB Posts: 1,235
    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

  • Cluso99Cluso99 Posts: 18,066
    My Prop OS can save an eeprom to a file on an SD card (FAT26/32). See my signature below for the link
  • hinvhinv Posts: 1,252
    The program is written in Perl. The source is attached here.

    -Phil

    What changes would be required to get this to run under a debian style linux?
  • hinv wrote:
    What changes would be required to get this to run under a debian style linux?
    It requires propellent.exe, so it won't work under Linux.

    -Phil
  • Phil, it's so good that you still check in.
  • Publison wrote:
    Phil, it's so good that you still check in.
    I do several times every day. But with less and less for me to comment on, I suppose I seem less visible.

    -Phil
Sign In or Register to comment.