DiyLightAnimation

Hardware => Lynx USB DMX Dongle => Topic started by: bmsgaffer86 on December 14, 2009,

Title: Corrupt HEX error
Post by: bmsgaffer86 on December 14, 2009,
Hey everyone.

I have just assembled my dongle, and that went very smoothly. Computer recognizes it and everything.

I am having troubles with the programming. I have CCS's MACH X (http://www.ccsinfo.com/product_info.php?cPath=Store&products_id=machx) programmer. I have burned hundreds of PICS just fine, but I am running into trouble with the dongle hex file.

When I load the hex file, the programmer claims that it is corrupt. The checksum it is giving me is 6BDC. I assume, by the wiki, is supposed to be 0A6F. I have downloaded it several times from different places and havent gotten anything different. When I try to program it, despite the corrupt file, it gives me a validation error. By doing a little digging I have found that after the program ends, the hex file is filled with FFFF's and all my past programs have been blank after the program.

Sorry for LONG post, but I just wanted to give as many details as I could. Thanks for your help guys! (Esp. RJ and John! I received all my parts in excellent shape!)
Title: Re: Corrupt HEX error
Post by: tbone321 on December 14, 2009,
Just some simple questions.  Did you check to make sure that the programmer supports that pic.  Do you have the most current software for it?  That does look like a nice programmer.
Title: Re: Corrupt HEX error
Post by: bmsgaffer86 on December 14, 2009,
You are not allowed to view links. Register or Login
Just some simple questions.  Did you check to make sure that the programmer supports that pic.  Do you have the most current software for it?  That does look like a nice programmer.

Yes, the 18F2450 is listed under supported chips. I do have the most current software.

:-/

Im pretty sure it is programming ok, but I'm not sure if the problem is with my programmers software or if the hex files are corrupt...

Can anyone double check the checksum, and let me know? If my checksum doesnt match, does anyone have a good hex file they can email me, or post elsewhere for downloading?

Title: Re: Corrupt HEX error
Post by: bmsgaffer86 on December 14, 2009,
OK. I take it all back. The programming I did, despite the corrupt error and verification error, works just fine.

I had a piece of scrap shorting out two of the pins, and now it works great... I will still be looking into the issue of why it says corrupt, but at least it programs it!

Thanks!