Where do I find the row sizes, memory ranges and config locations for PIC16 devices in a machine readable format. I'm basically looking for an atpack xml, but those don't seem to exist(yet?). But for lack of other chioces, a (1) pdf or sthg would do aswell.
On a sunny day (Sun, 16 Sep 2018 00:29:08 +0200) it happened Johann Klammer wrote in :
You need the include files. For me those are part of gpasm in Linux, part of gputils. I am sure they are on the Microchip site too. That looks like this for a 16F84:
LIST ; P16F84A.INC Standard Header File, Version 2.00 Microchip Technology, Inc. NOLIST
; This header file defines configurations, registers, and other useful bits of ; information for the PIC16F84 microcontroller. These names are taken to match ; the data sheets as closely as possible.
; Note that the processor must be selected before this file is ; included. The processor may be selected the following ways:
; 1. Command line switch: ; C:\ MPASM MYFILE.ASM /PIC16F84A ; 2. LIST directive in the source file ; LIST P=PIC16F84A ; 3. Processor Type entry in the MPASM full-screen interface
;========================================================================== ; ; Revision History ; ;==========================================================================
Actually, the linker scripts look more interesting. it got the mem maps at least. Unfortunately neither .inc nor .lkr have the actual chip id values(only their locations).
For the 18F14K22 I find the chip ID and revision numbers described in the datasheet, and errata.
For the 16F689-690 I do not see it, only the location is mentioned. No ID in the data shseet for 16F648 either. Maybe a trick to sell tehri own programmers?
But google is a big help in cases like that, I asked 'list of Microchip chip IDs' and was presented with this link:
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.