Program do tworzenia elementu bibliotecznego z datasheeta: https://github.com/Robotips/uConfig. Pod linkiem jest skompilowana wersja na windę. Zapuściłem program na starym (z czasów atmela) datasheecie atmegi, program wygenerował trzy elementy na cztery schematy obecne w datasheecie. Niestety żaden nie jest prawidłowy.
[Kicad]Tworzenie elementu bibliotecznego z pdf
Moderator: ZbeeGin
[Kicad]Tworzenie elementu bibliotecznego z pdf
Nie masz wymaganych uprawnień, aby zobaczyć pliki załączone do tego posta.
- ZbeeGin
- User
- Posty: 492
- Rejestracja: sobota 08 lip 2017, 17:16
- Lokalizacja: Śląsko-Zagłębiowska Metropolia
- Kontaktowanie:
Re: [Kicad]Tworzenie elementu bibliotecznego z pdf
No niestety. Przyśpieszanie przez skrypty budowania bibliotek symboli - czy to własnych, czy udostępnionych w oficjalnym repozytorium - zwykle nie kończy się na kliknięciu lub wydaniu jednego polecenia. Zatem przyśpieszenie tego procesu jest albo minimalne, albo żadne. Lepiej pod tym względem działają skrypty budujące footprinty, bo są po prostu schematyczne i mniej jest danych wejściowych.
Ponadto skrypt zwykle nie robi tego tak jakbyśmy chcieli. W przypadku mikrokontrolerów, FPGA, itp. warto pogrupować piny wg portów lub banków. Robienie "klocka" z odwzorowaniem rzeczywistego układu wyprowadzeń moim zdaniem tylko zaciemnia schemat.
Dlatego przy tworzeniu własnych bibliotek symboli wolę jednak metodę DIY. Może wolniej, ale z reguły pewniej - choć błędy też mi się zdarzają.
Lecz taki jest już urok Linuksiarzy. "Script, script, script; script everywhere" (Parafrazując piosenkę "SPAM" grupy Monty Pythona).
Ponadto skrypt zwykle nie robi tego tak jakbyśmy chcieli. W przypadku mikrokontrolerów, FPGA, itp. warto pogrupować piny wg portów lub banków. Robienie "klocka" z odwzorowaniem rzeczywistego układu wyprowadzeń moim zdaniem tylko zaciemnia schemat.
Dlatego przy tworzeniu własnych bibliotek symboli wolę jednak metodę DIY. Może wolniej, ale z reguły pewniej - choć błędy też mi się zdarzają.
Lecz taki jest już urok Linuksiarzy. "Script, script, script; script everywhere" (Parafrazując piosenkę "SPAM" grupy Monty Pythona).
Re: [Kicad]Tworzenie elementu bibliotecznego z pdf
Hi @xor,
Thanks for testing my tool. Unfortunately, it does not work for this datasheet. I will fix it.
To see what append, you can watch for debug image in bin directory. To obtain debug, add -g option in command line or use the pdf debugger in the uConfig GUI interface.
In that case, bad assignation was done for the first component and all other be wrong after. I will add rules to avoid that :
I am totally agree with that. That is why I can a system named pinruler to create group of pins with little rules file :
I hope you will like it.
Sorry for the langage, I only speek french and english.
Seb
Thanks for testing my tool. Unfortunately, it does not work for this datasheet. I will fix it.
To see what append, you can watch for debug image in bin directory. To obtain debug, add -g option in command line or use the pdf debugger in the uConfig GUI interface.
In that case, bad assignation was done for the first component and all other be wrong after. I will add rules to avoid that :
ZbeeGin pisze:warto pogrupować piny wg portów lub banków.
I am totally agree with that. That is why I can a system named pinruler to create group of pins with little rules file :
I hope you will like it.
Sorry for the langage, I only speek french and english.
Seb
Nie masz wymaganych uprawnień, aby zobaczyć pliki załączone do tego posta.
Re: [Kicad]Tworzenie elementu bibliotecznego z pdf
Hi,
thanx for response.
Please, note, this particular datasheet is obsolete. I used it just for test.
Up to date datasheet (http://ww1.microchip.com/downloads/en/D ... asheet.pdf) produces proper output, yet not complete: there's 2 packages out of 4 in the sheet.
Here, there's debug output:
You mean '-d', '-g' option is unknown.
 
 
thanx for response.
sebcaux pisze:Thanks for testing my tool. Unfortunately, it does not work for this datasheet. I will fix it.
Please, note, this particular datasheet is obsolete. I used it just for test.
Up to date datasheet (http://ww1.microchip.com/downloads/en/D ... asheet.pdf) produces proper output, yet not complete: there's 2 packages out of 4 in the sheet.
Here, there's debug output:
Kod: Zaznacz cały
Proc:
Package: Figure 5-1. 28-pin PDIP-
1 (PCINT14/RESET)PC6
2 (PCINT16/RXD)PD0
3 (PCINT17/TXD)PD1
4 (PCINT18/INT0)PD2
5 (PCINT19/OC2B/INT1)PD3
6 (PCINT20/XCK/T0)PD4
7 VCC
8 GND
9 (PCINT6/XTAL1/TOSC1)PB6
10 (PCINT7/XTAL2/TOSC2)PB7
11 (PCINT21/OC0B/T1)PD5
12 (PCINT22/OC0A/AIN0)PD6
13 (PCINT23/AIN1)PD7
14 (PCINT0/CLKO/ICP1)PB0
15 PB1(OC1A/PCINT1)
16 PB2(SS/OC1B/PCINT2)
17 PB3(MOSI/OC2A/PCINT3)
18 PB4(MISO/PCINT4)
19 PB5(SCK/PCINT5)
20 AVCC
21 AREF
22 GND
23 PC0(ADC0/PCINT8)
24 PC1(ADC1/PCINT9)
25 PC2(ADC2/PCINT10)
26 PC3(ADC3/PCINT11)
27 PC4(ADC4/SDA/PCINT12)
28 PC5(ADC5/SCL/PCINT13)
Kod: Zaznacz cały
Proc:
Package:
1 (PCINT19/OC2B/INT1)PD3
2 (PCINT20/XCK/T0)PD4
3 GND
4 VCC
5 GND
6 VCC
7 (PCINT6/XTAL1/TOSC1)PB6
8 (PCINT7/XTAL2/TOSC2)PB7
9 (PCINT21/OC0B/T1)PD5
10 (PCINT22/OC0A/AIN0)PD6
11 (PCINT23/AIN1)PD7
12 (PCINT0/CLKO/ICP1)PB0
13 (PCINT1/OC1A)PB1
14 (PCINT2/SS/OC1B)PB2
15 (PCINT3/OC2A/MOSI)PB3
16 (PCINT4/MISO)PB4
17 PB5(SCK/PCINT5)
18 AVCC
19 ADC6
20 AREF
21 GND
22 ADC7
23 PC0(ADC0/PCINT8)
24 PC1(ADC1/PCINT9)
25 PC2(ADC2/PCINT10)
26 PC3(ADC3/PCINT11)
27 PC4(ADC4/SDA/PCINT12)
28 PC5(ADC5/SCL/PCINT13)
29 PC6(RESET/PCINT14)
30 PD0(RXD/PCINT16)
31 PD1(TXD/PCINT17)
32 PD2(INT0/PCINT18)
sebcaux pisze:To see what append, you can watch for debug image in bin directory. To obtain debug, add -g option in command line or use the pdf debugger in the uConfig GUI interface.
You mean '-d', '-g' option is unknown.
 
 
Nie masz wymaganych uprawnień, aby zobaczyć pliki załączone do tego posta.
Re: [Kicad]Tworzenie elementu bibliotecznego z pdf
I found the problem : the first step is to find possible page that contains datasheet.
page 14 contains "Pin Configurations" and page 17 "Pin Descriptions". But 15 and 16 does not. I can add name of package to this detector, but it generate false positive.
I think it is better to delete bad package manually.
Yes it's -d option !
Do you try the graphical interface with pin ruler ?
page 14 contains "Pin Configurations" and page 17 "Pin Descriptions". But 15 and 16 does not. I can add name of package to this detector, but it generate false positive.
I think it is better to delete bad package manually.
Yes it's -d option !
Do you try the graphical interface with pin ruler ?
Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 4 gości