Using Dot Net Dll to verify a .hex file for LPC1765

Started by mediumrare, July 06, 2011, 06:49:25 PM

Previous topic - Next topic

mediumrare

Hello,
I am using the FlashMagicARMCortexNET dll to program an LPC1765.
This is connecting, erasing, programming and verifying properly.

I would like to know if there is a .Net method that will allow me to check that the .hex file is valid before I allow the user to load it onto the LPC1765. There is Verify Functionality in FlashMagic - so it seems that the functionality is already in the FlashMagicArmCortex.dll but hasn't been wrapped for .Net. Maybe it's already there and I am just not seeing it in the documentation.
Any help appreciated.

Regards
Ethel

Andy Ayre

Yes, it's in there - call the "Verify" function. However, this verifies what has already been programmed into the device. If you want to check the hex file is valid *before* programming then that is something you will have to do yourself.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com