Shop OBEX P1 Docs P2 Docs Learn Events
Can't load EEPROM with SpinEdit- P2ES Eval Board RevB... — Parallax Forums

Can't load EEPROM with SpinEdit- P2ES Eval Board RevB...

doggiedocdoggiedoc Posts: 2,241
edited 2019-12-24 02:26 in Propeller 2
.. or any other way that I've tried.

I've searched the forums diligently all day but can not find any information that helps. I've tried different combinations for the dip switches for Flash and p59 to no avail.

I'm running SpinEdit with Wine on MacOS. I can run from Ram with SpinEdit as well as from the command line with loadp2 and Fastspin.

Any pointers would be appreciated.

Doc

Comments

  • RaymanRayman Posts: 14,646
    edited 2019-12-24 02:55
    Sorry, SpinEdit with Wine works as editor on Mac, but needs help as flash loader...

    Right now, I'd get FlexGui and use it to load flash on Mac.

    In the future, I'll see if this can be made better... Very glad to hear it can at least load RAM!

    I'm hopeful, but not certain that Wine will make SpinEdit work perfectly on Mac.
  • Thanks for the prompt response Ray! Good job on SpinEdit - thanks for all the effort you're putting into it.

    I'll try FlexGui - looks like I need TCL for that.

    Doc
  • You could also use loadp2 on the command line to program flash, something like:
    loadp2 -p /dev/cuSOMETHING -b230400 @0=P2ES_flashloader.bin,@1000+file_to_flash.bin -t
    
    where P2ES_flashloader.bin is found in the loadp2 and/or FlexGUI "board" directory.

    This works by loading P2ES_flashloader.bin (the flash programmer) into HUB memory at 0, and the file that you want programmed into HUB memory at $1004 (with the length of that file at $1000; that's what the "@1000+" syntax does).
  • Thanks Eric! That’s exactly what I needed!
Sign In or Register to comment.