Greetings -- I have interpreted information for 18F2450 and 18F4450 (the newer, cheaper siblings of the 18F2550 and 18F4550) from the data sheet DS39760C. The result of compiling my changes in works, at least for me, at least no worse than the existing 18F2455 device does. I do get errors like:
/usr/local/bin/../share/sdcc/include/pic16/pic18f2450.h:162: warning 182:absolute address for sfr 'UFRM' probably out of range. But the same error occurs for the '2455 already in the sdcc codebase. pic16sheet2deviceinc is a perl utility I created and used to translate an annotated description of the new devices as derived from the data sheet to devices.inc entries. I also made a description for 18F2221 according to the data sheet as a proof of concept; the script produces the substantive equivalent of what is already in devices.inc for 18F2221. Attached are descriptions for 18F2221, 18F2450, and 18F4450. Usage: ./pic16sheet2deviceinc.tar 18fxxxx.description Hopefully some or all of this is useful. Feel free to edit, restyle, or rename. Additions, patches, and script files posted to: https://sourceforge.net/tracker/index.php?func=detail&aid=1844525&group_id=599&atid=350599 In the process, I also found a slight manual error: https://sourceforge.net/tracker/index.php?func=detail&aid=1844509&group_id=599&atid=100599 Thanks PSM ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
