• 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. Allegro X Scripting - Skill
  3. Running ODB++ without GUI

Stats

  • State Suggested Answer
  • Replies 3
  • Answers 1
  • Subscribers 19
  • Views 100
  • Members are here 0
More Content

Running ODB++ without GUI

Uri Chaplin
Uri Chaplin 15 hours ago
I try to create ODB++ files without a GUI.  I used ODB++ Inside  board and checked that no warning to brd file I going to use.
First I created a BAT file to check if all parameters are good. 
 I run this file :
-----------------------------------------------------------
SET ALLEGRO_BOARD="c:\ODB\test.brd"
SET OUTPUT_DIR="c:\ODB\odb_export"
SET ALLEGRO_BRD2ODB="c:\ODB\brd2odb_2510\"

%ALLEGRO_BRD2ODB%brd2odb.exe -ijp %ALLEGRO_BOARD%  -jp %OUTPUT_DIR% -jn allegro_1  -no_view -noDPW
pause
----------------------------------------------------------------
But it always open GUI and report error: Translation filed ! Some required files are missing ( elf_cadence-583004)
What is wrong ?
  • Cancel
  • Sign in to reply
Parents
  • Ejlersen
    0 Ejlersen 14 hours ago

    Hi Uri

    It is necessary to notice 2 things when generating odb++ in batch mode

    1. you must extract data using provided "valor" script

    2. you must specify films, there has to be etch layer films as far as I remember

    I'm doing the following to extract data

    - copy extract skill script locally, load it and then run it.

    axlOSFileCopy(strcat(axlOSSlash(axlGetVariable("ALLEGRO_BRD2ODB")) "/valor_ext.il") strcat(getWorkingDir() "/valor_ext.il") nil)
    load("./valor_ext.il")
    tmp_file = axlDMOpenFile("ALLEGRO_SCRIPT", "./tmp", "w")
    fprintf(tmp_file "scriptmode +i +w +c\n")
    fprintf(tmp_file "setwindow pcb\n")
    fprintf(tmp_file "valor extract info\n")
    fprintf(tmp_file "fillin no\n")
    fprintf(tmp_file "setwindow pcb\n")
    axlDMClose(tmp_file)
    axlShell("replay ./tmp.scr")
    when(isFile("./tmp.scr") deleteFile("./tmp.scr"))

    Then I build a run string for batch, you must play with the options on your own

    sprintf(cmd, "\"%s\" -jn \"%s\" -jp \"%s\" -ijp \"%s\" -gzip -sf -sp -no_view -padflash ignore -nn -read_sqa no -odb_version v8 -component assembly\n"
    strcat(axlOSSlash(axlGetVariable("ALLEGRO_BRD2ODB")) "/brd2odb.exe")
    outputfilename
    strcat(axlOSSlash(getWorkingDir()))
    strcat(axlOSSlash(getWorkingDir()) "/" axlCurrentDesign() ".brd")
    )

    Finally I run the batch process

    res = axlRunBatchDBProgram("brd2odb" cmd ?noUnload t ?silent t ?noProgress t)

    Hope this helps

    Ole

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Uri Chaplin
    0 Uri Chaplin 14 hours ago in reply to Ejlersen

    It's work !  No one is not informed that first must create Extracted files.

    Thanks ! 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • Uri Chaplin
    0 Uri Chaplin 14 hours ago in reply to Ejlersen

    It's work !  No one is not informed that first must create Extracted files.

    Thanks ! 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
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