Synthy Posted January 14, 2014 Report Posted January 14, 2014 I want to burn the 16f88 with my PicKit2 burner, but it will not read the hex file. I have found some other files from TK and they also could not be read. What seems to be the problem? Is the format not right? Quote
Shuriken Posted January 14, 2014 Report Posted January 14, 2014 (edited) Yeah there is a small problem with the file. Remove the blank lines. Then it will be fine. Open it in notepad++ and use Edit>Line Operations> Remove empty lines. Or if you are handy with linux/osx then awk is your friend. Edited January 14, 2014 by Shuriken Quote
Synthy Posted January 15, 2014 Author Report Posted January 15, 2014 (edited) Hi Shuriken, i have removed the empty line at the end, but it is not good. I still get the message Error reading Hex file. I have downloaded it from the IIC page. Or if someone else knows what to do please reply. Edited January 15, 2014 by Synthy Quote
ilmenator Posted January 15, 2014 Report Posted January 15, 2014 He clearly said "remove the empty lines" - I read from that that he does not refer to the last line exclusively... Quote
Synthy Posted January 16, 2014 Author Report Posted January 16, 2014 The only empty line was the last line so i only was able to remove that one and it did not have any result. Quote
Shuriken Posted January 16, 2014 Report Posted January 16, 2014 Maybe in notepad. But in notepad++ you will see it contains more. Quote
Synthy Posted January 16, 2014 Author Report Posted January 16, 2014 You were quite right Shuriken, in Notepad++ there is between every line an extra line. Thanks a lot. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.