There is a field in a dialog box that can be adjusted. This does not have to be a command line addition. (as described in thread above) Declare an OFFSET in MPLabX based upon on your designed memory map. The compiler (free ver) removes unused code/routines but does not appear to have a facility to disable this (would be interested in anybody's success with this). But there still appears to be some issues. Not acceptable.Īfter much time wasted the existing PIC18 project was imported to MPlab X, as if by magic all the promised compiler facilities appeared (MChip PDF document). The compiler would not implement the facilities to intercept the vectors (without resorting to assembly). Using the linker script memory region allocations - OK. Much time was spent trying to get the XC8 compiler to work with MPLab 8.92 to implement the facilities needed for boot loading. I found this thread very useful so thanks to the contributors for this. The PC end program is existing and not being modified. Adapt an existing (production/field) loader for PIC24/33 FJ&EP to work with a PIC18 project (existing being upgraded). Below is some advice that others may find useful getting a boot loader and non-boot loader version of a PIC18 program to work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |