I'd like to use the 18F46J11 for a project but the data file does not exist for that device in GCB. I've looked at the data file structure and I think I can make one, starting with something that's close.
The question is, can anyone suggest which other PIC is closest to this one in terms of registers, etc. so that I'm not literally starting from scratch?
A second question - if I don't plan to use all the features of the PIC, is it okay to have a very limited .dat file that just has the registers of interest and pin definitions, etc.?
Thanks,
Adnan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guessing that a foreshortened register/pin list would not affect the compilation, as long as the registers/pins/ram location etc. remain particular to that device. Went through a similar process not long ago on the forum. The new .dat compiled O.K., but did not hear back from poster on whether it worked for the device. The Pickit 2 programmer software used to complain about not having all the config words defined, but should not be an error situation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'd like to use the 18F46J11 for a project but the data file does not exist for that device in GCB. I've looked at the data file structure and I think I can make one, starting with something that's close.
The question is, can anyone suggest which other PIC is closest to this one in terms of registers, etc. so that I'm not literally starting from scratch?
A second question - if I don't plan to use all the features of the PIC, is it okay to have a very limited .dat file that just has the registers of interest and pin definitions, etc.?
Thanks,
Adnan
Here is Hugh's answer to a previous request: https://sourceforge.net/forum/message.php?msg_id=4663278 Looks like a lot of the 18fxxJ and 18fxxK .dat files could be updated.
Guessing that a foreshortened register/pin list would not affect the compilation, as long as the registers/pins/ram location etc. remain particular to that device. Went through a similar process not long ago on the forum. The new .dat compiled O.K., but did not hear back from poster on whether it worked for the device. The Pickit 2 programmer software used to complain about not having all the config words defined, but should not be an error situation.
Hi Kent,
Thanks for the information. Sounds like it's worth a try.
Regards,
Adnan