• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. Running ODB++ from the command line

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 164
  • Views 19757
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Running ODB++ from the command line

CADcaveman
CADcaveman over 15 years ago

 Hello all has anyone ever tried running the brd2odb command from a command line.When I run I get this error message that makes no sense at all as most error messages are nonsense. It makes no sense because the files it is complaining about not finding are in fact there.

$ brd2odb -d -gz -jn CU03_08A.odb CU0310708-00-A.brd

Initializing the translator environment...
***********ERROR      08Jan2010.121243.636  5480 BRD2ODB 7.6.4(32) Windows XP
Required file is missing : '/cygdrive/c/Valor/ODB++Inside/nv/bin/compress.exe'
***********ERROR      08Jan2010.121243.636  5480 BRD2ODB 7.6.4(32) Windows XP
Required file is missing : '/cygdrive/c/Valor/ODB++Inside/nv/bin/gzip.exe'
***********ERROR      08Jan2010.121243.636  5480 BRD2ODB 7.6.4(32) Windows XP
Required file is missing : '/cygdrive/c/Valor/ODB++Inside/nv/bin/tar.exe'
***********ERROR      08Jan2010.121243.652  5480 BRD2ODB 7.6.4(32) Windows XP
Required file is missing : '/cygdrive/c/Valor/ODB++Inside/nv/bin/csh.exe'
Status raised : module - G:/s76/translators/brd2odb/brd2odb.c, line - 217
***********ERROR      08Jan2010.121243.652  5480 BRD2ODB 7.6.4(32) Windows XP
Failed to initialize the translator !

  • Cancel
  • djhutchi
    djhutchi over 15 years ago
    You might need to update your command line path setting to include the Valor paths directly, in a DOS ‘command prompt’ window I used

    set path=%path%;C:\Valor\ODB++Inside;C:\Valor\ODB++Inside\nv\bin

    Then it worked correctly for me:


    P:\temp>brd2odb -gz -jn test.odb -ijp . test.brd

    Initializing the translator environment...

    Initialzation Done !

    <<deleted>>

    Translation completed successfully.

    Translation Finished Successfully.


    T r a n s l a t i o n   e n d e d    s u c c e s s f u l l y

    P:\temp>
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CADcaveman
    CADcaveman over 15 years ago
    No that didn’t work either

     

    U:\scripts\allegro_archive_SPB16_01>setpath=%path%;C:\Valor\ODB++Inside;C:\Valor

    \ODB++Inside\nv\bin

    'setpath' is not recognized as an internal or external command,

    operable program or batch file.

     

    U:\scripts\allegro_archive_SPB16_01>set path=%path%;C:\Valor\ODB++Inside;C:\Valo

    r\ODB++Inside\nv\bin

     

    U:\scripts\allegro_archive_SPB16_01>brd2odb -gz -jn CU03_08A.odb -ijp CU0310708-

    00-A.brd

     

    Initializing the translator environment...

    Initialzation Done !

     

    The following options were selected:

    ====================================

    Output ODB++ job name : cu03_08a.odb

    Output ODB++ job path : U:\scripts\allegro_archive_SPB16_01

    EDA Input job path : CU0310708-00-A.brd

    Log path : U:\scripts\allegro_archive_SPB16_01

    Write log messages to new log file

    Compression : enabled

    Output job format: ODB++ format

    Read DRC feature : Disabled

    Symbol Tolerance : 0.200000 mils

    Outline Size     : 0.100000 inches

    Component outline by : Place Bound

    Padflash : Ignore

    Allegro 14.0 thermal symbols : No

    No Thermal file/model were selected

    Suppress Shape Fill Source from Films

    Skip Refdes with Asterisk: No

    Read SQA data: Enabled

    Translate symbols: Yes

    Profile Symbol Type : Round

    Translating Job 'CU0310708-00-A.brd'...

    Windows platform

    Status raised : module - G:\s82\eif\eif_cadence.c, line - 3000

    Status raised : module - G:\s82\eif\eif_cadence.c, line - 2734

    *********** ERROR INTERNAL 08Jan2010.162611.339  868  8.2.0(86) Windows XP

    (ind_list != NULL && ind_list->magic == IND_LIST_MAGIC) at G:\s82\gen\gen_sort.c

     1236

    Status raised : module - G:\s82\eif\eif_cadence.c, line - 2276

    Status raised : module - G:\s82\eif\eif_main.c, line - 490

    Status raised : module - G:\s82\translators\brd2odb\brd2odb.c, line - 463

    Failed to translate job !!!

    Status raised : module - G:\s82\translators\brd2odb\brd2odb.c, line - 1832

    *********** WARNING  08Jan2010.162611.401  868  8.2.0(86) Windows XP

     

    T r a n s l a t i o n   e n d e d    W i t h   E r r o r s
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • redwire
    redwire over 15 years ago

     Cave--check your spaces between "set" and "path" --> "set path" not "setpath"

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CADcaveman
    CADcaveman over 15 years ago
    Yes I saw that tried that still the same thing . Refuses to run for me. I tried getting the UNIX version and running that under CYGWIN and it could not read the binary. So I guess CYGWIN and Sun OS binaries are not compatible.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mcatramb91
    mcatramb91 over 15 years ago

    Hey Carl,

    The only Windows Environmental variable required is ALLEGRO_BRD2ODB which should point to the folder where the translator is installed (where the BRD2ODB.EXE is located).  Also inside of the translator folder you will find the a folder called NV\BIN which contains the compress, gzip, etc. which it will find automatically when running the translator.  You do not need to set the PATH Environmental variable just the ALLEGRO_BRD2ODB.  When running it on the DOS Command line type the following:

    $ALLEGRO_BRD2ODB\brd2odb -d -gz -jn CU03_08A.odb CU0310708-00-A.brd

    You may have everything setup correctly already and having another issue but I figured I would run thru the setup above so you can double check.  There may be an isolated issue with the translator version you are using but I have never seen this before.

    Hope this helps,
    Mike Catrambone

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information