Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Found Unknown Device [solved]
#5
(2011-04-19, 20:57:43)Mikael Gustafsson Wrote: Which language tool set and IDE do you use?
The configuration settings are usually included when you use Microchips products.

MPLAB 8.46
After more investigation, I have found the config bits ARE included in both a standard build and an export. (note they are at 0x1F00000 if you use a hex editor)
I also think the problem may have been with the IDE switching the 'Configuration Bits set in code' check box off when reopening the project. I have now defined all the config bits in code to hopefully prevent this happening again.

*NEW INFO*
I now know why I think the settings were not sticking.
In windows 7, any files written to a programs executable directory are redirected to a 'compatability' folder in the users directory. Thus there are two copies of your file. The original in the c:\Program Files\... and a copy of your changed file in a 'compatability' folder. When you re-read the file, it reads the unchanged file not the one from the compatability folder.

Reply


Messages In This Thread
Found Unknown Device [solved] - by Eng1 - 2011-04-18, 09:32:18
RE: Found Unknown Device - by Mikael Gustavsson - 2011-04-18, 19:32:28
RE: Found Unknown Device - by Eng1 - 2011-04-19, 09:01:30
RE: Found Unknown Device - by Mikael Gustavsson - 2011-04-19, 20:57:43
RE: Found Unknown Device - by Eng1 - 2011-04-20, 04:05:22

Forum Jump:


Users browsing this thread: 1 Guest(s)