I recently wrote a script to generate the gpcfg-table.c from the 8bit_device.info. It is there in SVN under scripts/tools. This functionality should be included.
Also, I believe the 8bit_device.info also contains numbers of banks and pages, memory size, configuration addresses etc.
When I did the parts update some years ago, I had scripts to dig out the data from MPASM and patch the info to gpprocessors.c. However I never released those because they were rather flaky and I believe MPASM has changed already since so much that it is outdated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also, I believe the 8bit_device.info also contains numbers of banks and
pages, memory size, configuration addresses etc.
You're right, but this information is not enough.
For example, there is size of eeprom but lack the starting address of. The same is true on the config memory also.
I recently wrote a script to generate the gpcfg-table.c from the 8bit_device.info. It is there in SVN under scripts/tools. This functionality should be included.
Also, I believe the 8bit_device.info also contains numbers of banks and pages, memory size, configuration addresses etc.
When I did the parts update some years ago, I had scripts to dig out the data from MPASM and patch the info to gpprocessors.c. However I never released those because they were rather flaky and I believe MPASM has changed already since so much that it is outdated.
You're right, but this information is not enough.
For example, there is size of eeprom but lack the starting address of. The same is true on the config memory also.
I cannot understand one parameter:
<PART_INFO_TYPE><8628><PIC18F8628><18xxxx><6><1><17fff><10><ff><3ff><5f><0><c>
After the '18xxxx' the next '6' what it mean?
The second version more information utilizes from the 8bit_device.info file and fewer from the 'lkr' files.
The second version.
The third version.
A little reorganization, expansion and improvement. I think that basically I'm ready with him.
Does not exist such program which is completely ready. Only such there is, which nobody does not develop.
A new feature: Regenerates the px structure array in the gpprocessor.c file.
The fourth version.