From: Butuza T. <tbu...@fr...> - 2012-06-13 14:41:35
|
Dear sdcc developers, There is a problem with PIC18FxxJ10 include files: The configuration word addresses are not defined properly. (sdcc version: 7889) In the 18J series chips config words are no longer located at 0x300000. The resulted hex file should not contain anything at this address. The proper method for 18J chips: Use the last words in the Flash memory. It means different addresses for chips with different amount of Flash but within the same device family. As seen it is properly defined for 18FxxJ50 devices. See the PIC18F46J50.h for full definition and other XXJ50.h files how to override these addresses for the different Flash addresses. This method should be merged to 18FxxJ10 include files respectively. Also, please use this for the J11 devices, when generate header files for them. Thanks in advance, Tamas |