Log in

View Full Version : .cof help errors


rholokleolke
26-01-2006, 20:35
I finally got the software to work and i can get it to build succesfully however I only get a .cof. I found something that says it will only be .hex if there are no errors. The only error I get is that the name of the output is over the 62 characters. However I have it set to the defaults. how can I change the name of the output and/or how can I convert .cof to .hex so I can start programming. Please help this is personally my first year and no one else on the team knows anything about programming because all the people that do it left. Thanks for your time.

Manoel
26-01-2006, 20:38
The compiler has a 64 character limit on the project's path (pretty dumb, if you ask me).

Just move your project's folder to something like C:\My code (anything shorter than 64 characters) and you'll be fine.

Mark McLeod
27-01-2006, 11:01
Another solution is to just turn off the generation of the file.

In MPLAB
Project -> Build Options... -> Project
Select the Linker tab and there will be a click box for
"Suppress COD-file generation"
Make sure it's checked and you won't have the file length problem.