www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/21/18:09:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pdf -> sym generator
In-reply-to: <CAJXU7q92Cbh6E1z1v36csuDZZaw6O=ORjN2+HOtQ48gg_rqftg@mail.gmail.com>
References: <20170320161202 DOT 965CD8106DC1 AT turkos DOT aspodata DOT se> <14cbf107-7e21-3c6c-2810-850143387449 AT ecosensory DOT com> <20170321193542 DOT 5786846916de55d2d779cd3f AT gmail DOT com> <CAJXU7q92Cbh6E1z1v36csuDZZaw6O=ORjN2+HOtQ48gg_rqftg AT mail DOT gmail DOT com>
Comments: In-reply-to "Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Tue, 21 Mar 2017 19:04:04 +0000."
Mime-Version: 1.0
Message-Id: <20170321220256.AD47A8106DD1@turkos.aspodata.se>
Date: Tue, 21 Mar 2017 23:02:56 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Peter Clifton:
> On 21 Mar 2017 18:38, "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via
> geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:
...
> > To recognize tables in datasheets and generate symbols from these sounds
> > like a hopeless task for me.

Half the job is to have a symbol file generator which can read the pin 
names in tabular form. We have a few of theese.

The other half is to extract that info from whatever source we have and 
put it whatever tabular form the symbol generator needs.

I have shown that it is possible to do it from a pdf with a program in 
one step. I.e. it is not "hopeless".

///

> Probably quite specialist to a given manufacturer, certainly.

Yes, currently it is. But since a pin definition table do have som 
common traits, it would not be impossible to learn to program up and 
identify thoose traits. What was impossible yesterday might be
possible tomorrow if one takes the time learn the similarities.

There is a few things in my code that is very targeted to a specific 
pdf, so the next step is to learn the program to handle similar pdf's.

///

> One other route which could be fruitful is working from the package BSDL
> file given by the vendor to aid JTAG testing. Probably won't have all your
> alternative pin names, but it's potentially worth looking at.

 Bsdl files for stm32f105/7 is in:
http://www.st.com/resource/en/hw_model/stm32f1_bsdl.zip

Soo, for your amusement I created an ad hoc program:

http://aspodata.se/git/openhw/pdftosym/bsdlextract.pl

which gives you a simpler table and sym file, see files in:

http://aspodata.se/git/openhw/pdftosym/example.bsdl/

Unfortunately, since the alternate functions isn't there, I cannot 
generate symbols like:

http://aspodata.se/git/openhw/share/gschem/mcu/stm32f107.uart.LQFP64.sym

from it. So for me it has lesser value.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019