AnsweredAssumed Answered

Standalone Flash Programmer

Question asked by HaritzM on Mar 14, 2014
Latest reply on Mar 26, 2014 by HaritzM

Hi,

 

I am trying to create an Standalone Flash Programmer to reprogram a BF531.

 

I am using the examples that VisualDSP++ provides in "Blackfin\Examples\Scripting Examples\SAFP" folder.

 

I built my own FlashProgrammer.dxe which is working properly via 'Tools: Flash Programmer' in VisualDSP++ 5.0. Please see attached file "Load Flash Driver VisualDSP.bmp".

 

I also created the configuration file, which passes the Hardware test in VisualDSP++ Configurator, see "ICE Hardware Test VisualDSP.bmp" file attached.

 

When running the Standalone Flash Programmer in Phyton (.py) I have error below:

     C:\Test Analog Devices Programmer>BF537_SAFP_Modified.py

     Loading flash driver.

     Traceback (most recent call last):

     File "C:\Test Analog Devices Programmer\BF537_SAFP_Modified.py", line 44, in <module>

     pFlash.LoadDriver( DriverPath )

     File "<COMObject Open>", line 2, in LoadDriver

     pywintypes.com_error: (-2147417851, 'The server threw an exception.', None, None)

 

When running the Standalone Flash Programmer in VBScript (.vbs) I have a server exception, code 80010105. Please see attached "vbs error.bmp" file.

 

Find also attached both Standalone Flash Programmers code.

 

My PC is working under Microsoft Windows XP Proffesional Version 2002 SP3 and VisualDSP++ 5.0 Update 8.

 

Any help/suggestion will be much appreciated.

 

Thanks a lot.

 

Regards,

 

Aritz M.

Outcomes