![]() |
MPLAB/c18 not creating a .hex file
Basically, the topic. I believe it's a problem with the project settings, as it only happens with certain robots' codes. It will compile, create .cod & .coff files, mysteriously omit the .coff to .hex conversion, and declare the build complete.
What would this be caused by? I have no idea where to start, so info on settings will be provided on request. Thank you ^_^ |
Re: MPLAB/c18 not creating a .hex file
There is a setting to supress the creation of the hex file. In MPLAB, go to Projects -> Build Options -> Project -> MPLINK Linker and verify that INHX32 is selected.
|
Re: MPLAB/c18 not creating a .hex file
It is.
|
Re: MPLAB/c18 not creating a .hex file
Could be the "Output Directory" is set in
Project -> Build Options... -> Project to be some place other than the current directory. |
Re: MPLAB/c18 not creating a .hex file
Quote:
|
Re: MPLAB/c18 not creating a .hex file
Quote:
I encountered this same issue with Smithtown a couple of year's ago and I'm trying to remember how we fixed it. They had played around a lot with the settings and had specified where intermediate directories, etc. were located instead of taking the installation defaults. It may have been a matter of taking all the defaults or reinstalling MPLAB/C18 to get all the default settings back, but based on your experience of it happening with some files and not others, I suspect we must have recreated the projects as well to correct the project specific settings. You can run mp2hex.exe from a command line in case it gives you any more useful information. |
Re: MPLAB/c18 not creating a .hex file
OK, I'll give that a shot when I'm back in school tomorrow, Mark
|
Re: MPLAB/c18 not creating a .hex file
Well, running mp2hex.exe did nothing....
...because the path was too long -_- The projects that weren't getting hexes made were the ones whose paths were longer than 62 characters...always read carefully :) Thanks for the help, all. |
| All times are GMT -5. The time now is 04:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi