I’m trying to load a bit file into the Flash on the XEM6001 so that I can operate the board in a standalone mode. I attempted to run the flashloader.exe example on WindowsXP and Windows complained that it wasn’t a valid executable.
I then tried porting the Cxx source to Python (see attached), running on OS X Lion. I’ve tried using this Python script to upload .bit, .mcs, and .ufp files, and the script completes without error, but when I switch the board to PROM mode and power cycle, nothing happens (normally, LEDs illuminate and such, not controlled from frontpanel endpoints).
I’ve verified that my design ties MUXSEL low. I can’t find any other clues in the documentation or forums.
Is flashuploader meant to use a regular .bit file, or one of the SPI Flash formatted files (like MCS or UFP)?
Any idea why flashloader.exe is bombing on WindowsXP? If I can’t get this working on OS X under Python, it would be great to at least have a working EXE.
Any other “tricks” or stumbling points that might be preventing this from working?
flashloader.py.zip (2262 Bytes)