Alternative Chip View

Please add any feature requests for Flowcode version 7 here

Moderator: Benj

Post Reply
anzacinexile
Posts: 55
Joined: Tue Apr 01, 2014 9:10 am
Has thanked: 16 times
Been thanked: 18 times
Contact:

Alternative Chip View

Post by anzacinexile »

A small but I think useful addition I believe. Would it be possible to choose the package of the chip within chip view. All the chips I use default to DIL but I tend to use TQFP44 chips a lot and its a pain to keep cross referencing the datasheet to find where a pin in the DIL package sits on an alternative package - particularly when I'm laying out a PCB.

Thanks for a brilliant product BTW

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Alternative Chip View

Post by QMESAR »

anzacinexile wrote:A small but I think useful addition I believe. Would it be possible to choose the package of the chip within chip view.
I like this idea :D not only for PCB layout but also for measuring / testing and debugging on real chip /hardware would be useful to relate to the correct package to know where the pin is located to measure while in FC working with code :D
+1 here

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Alternative Chip View

Post by Benj »

Hello,

This is a good idea, I've put it on the list as something to investigate.


There is a way of doing this now but it's a bit of a manual process.

First go into the "Flowcode 7/FCD" directory and into the chip family you're interested in changing. e.g. "C:\Program Files (x86)\Flowcode 7\FCD\PIC"

Copy the chip definition file you wish to edit to your desktop.

Using a text editor such as Textpad or Notepad++ open the .fcdx file on the desktop.

Scroll down until you find the section starting with "<pins"

For example this is the 16F1937 <pins section.

Code: Select all

    <pins sides='2' smd='0' >
        <pin name='MCLR/RE3/VPP' port='4' bit='3' />
        <pin name='RA0/AN0/SS' port='0' bit='0' adc='0' />
        <pin name='RA1/AN1' port='0' bit='1' adc='1' />
        <pin name='RA2/AN2' port='0' bit='2' adc='2' />
        <pin name='RA3/AN3/VREF' port='0' bit='3' adc='3' />
        <pin name='RA4/T0CKI' port='0' bit='4' />
        <pin name='RA5/AN4/SS' port='0' bit='5' adc='4' />
        <pin name='RE0/AN5' port='4' bit='0' adc='5' />
        <pin name='RE1/AN6' port='4' bit='1' adc='6' />
        <pin name='RE2/AN7' port='4' bit='2' adc='7' />
        <pin name='VDD' />
        <pin name='VSS' />
        <pin name='RA7/OSC1/CLKIN' port='0' bit='7' />
        <pin name='RA6/OSC2/CLKOUT' port='0' bit='6' />
        <pin name='RC0/T1OSO/T1CKI' port='2' bit='0' />
        <pin name='RC1/T1OSI/CCP2' port='2' bit='1' />
        <pin name='RC2/CCP1' port='2' bit='2' />
        <pin name='RC3/SCK/SCL' port='2' bit='3' />
        <pin name='RD0' port='3' bit='0' />
        <pin name='RD1' port='3' bit='1' />
        <pin name='RD2' port='3' bit='2' />
        <pin name='RD3' port='3' bit='3' />
        <pin name='RC4/SDI/SDA' port='2' bit='4' />
        <pin name='RC5/SDO' port='2' bit='5' />
        <pin name='RC6/TX/CK' port='2' bit='6' />
        <pin name='RC7/RX/DT' port='2' bit='7' />
        <pin name='RD4' port='3' bit='4' />
        <pin name='RD5' port='3' bit='5' />
        <pin name='RD6' port='3' bit='6' />
        <pin name='RD7' port='3' bit='7' />
        <pin name='VSS' />
        <pin name='VDD' />
        <pin name='RB0/AN12/INT' port='1' bit='0' adc='12' />
        <pin name='RB1/AN10' port='1' bit='1' adc='10' />
        <pin name='RB2/AN8' port='1' bit='2' adc='8' />
        <pin name='RB3/AN9/CCP2' port='1' bit='3' adc='9' />
        <pin name='RB4/AN11' port='1' bit='4' adc='11' />
        <pin name='RB5/AN13' port='1' bit='5' adc='13' />
        <pin name='RB6/PGC' port='1' bit='6' />
        <pin name='RB7/PGD' port='1' bit='7' />
    </pins>
Move the pins around so they match the surface mount chip layout and save the file. The new section might look something like this.

Code: Select all

    <pins sides='4' smd='1' >
        <pin name='RC7/RX/DT' port='2' bit='7' />
        <pin name='RD4' port='3' bit='4' />
        <pin name='RD5' port='3' bit='5' />
        <pin name='RD6' port='3' bit='6' />
        <pin name='RD7' port='3' bit='7' />
        <pin name='VSS' />
        <pin name='VDD' />
        <pin name='VDD' />
        <pin name='RB0/AN12/INT' port='1' bit='0' adc='12' />
        <pin name='RB1/AN10' port='1' bit='1' adc='10' />
        <pin name='RB2/AN8' port='1' bit='2' adc='8' />
        <pin name='RB3/AN9/CCP2' port='1' bit='3' adc='9' />
        <pin name='NC' />
        <pin name='RB4/AN11' port='1' bit='4' adc='11' />
        <pin name='RB5/AN13' port='1' bit='5' adc='13' />
        <pin name='RB6/PGC' port='1' bit='6' />
        <pin name='RB7/PGD' port='1' bit='7' />
        <pin name='MCLR/RE3/VPP' port='4' bit='3' />
        <pin name='RA0/AN0/SS' port='0' bit='0' adc='0' />
        <pin name='RA1/AN1' port='0' bit='1' adc='1' />
        <pin name='RA2/AN2' port='0' bit='2' adc='2' />
        <pin name='RA3/AN3/VREF' port='0' bit='3' adc='3' />
        <pin name='RA4/T0CKI' port='0' bit='4' />
        <pin name='RA5/AN4/SS' port='0' bit='5' adc='4' />
        <pin name='RE0/AN5' port='4' bit='0' adc='5' />
        <pin name='RE1/AN6' port='4' bit='1' adc='6' />
        <pin name='RE2/AN7' port='4' bit='2' adc='7' />
        <pin name='VDD' />
        <pin name='NC' />
        <pin name='VSS' />
        <pin name='VSS' />
        <pin name='RA7/OSC1/CLKIN' port='0' bit='7' />
        <pin name='RA6/OSC2/CLKOUT' port='0' bit='6' />
        <pin name='RC0/T1OSO/T1CKI' port='2' bit='0' />
        <pin name='RC1/T1OSI/CCP2' port='2' bit='1' />
        <pin name='RC2/CCP1' port='2' bit='2' />
        <pin name='RC3/SCK/SCL' port='2' bit='3' />
        <pin name='RD0' port='3' bit='0' />
        <pin name='RD1' port='3' bit='1' />
        <pin name='RD2' port='3' bit='2' />
        <pin name='RD3' port='3' bit='3' />
        <pin name='RC4/SDI/SDA' port='2' bit='4' />
        <pin name='RC5/SDO' port='2' bit='5' />
        <pin name='RC6/TX/CK' port='2' bit='6' />
    </pins>
Save the file and then copy back to the original location. Remember to take a backup of the original file just in case anything goes wrong.

anzacinexile
Posts: 55
Joined: Tue Apr 01, 2014 9:10 am
Has thanked: 16 times
Been thanked: 18 times
Contact:

Re: Alternative Chip View

Post by anzacinexile »

Thanks guys - much appreciated.

Post Reply