• 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 PCB Editor
  3. dbdoctor error, problem with environment variables?

Stats

  • State Verified Answer
  • Replies 3
  • Subscribers 163
  • Views 10145
  • Members are here 0
More Content

dbdoctor error, problem with environment variables?

atbc
atbc over 2 years ago

 I'm evaluating a reference design for the Atmel SAM3X (link) but when attempting to open the BRD file with OrCAD PCB Designer Professional 17.4-2019 S026, I get:

So,

C:\Temp>%dbdoctor% .\SAM3X-EK_REVB.brd

Can't open environment file: C:/share/text/env

pcell_lib_path: Variable not defined

Parse error in file C:/CADENCE/SPB_DATA/pcbenv/env, line 10

Unable to find the messaging system module definitions file 'allegro_smi_modules.txt'

ERROR: Could not initialize the Allegro error messaging system.

That path to the environment file is odd because,

  1. it's as if C:\ has been assigned root 
  2. there is no \text\ directory in C:\Cadence\SPB_17.4\share\ 
  3. the env file I edit resides at C:\Cadence\SPB_17.4\share\pcb\text\env

Then the following lines are odd because the pcell_lib_path variable is, in fact, defined in C:/CADENCE/SPB_DATA/pcbenv/env, line 10

My user variable for HOME is set to C:\CADENCE\SPB_DATA\ and I have read that CDS_ROOT is not necessary for a single version 17 install, am I missing some other magic environment variable?

  • Sign in to reply
  • Cancel
Parents
  • steve
    +1 steve over 2 years ago

    This is because you are running via a DOS command prompt. You need to create a new windows environment variable called CDSROOT with a value of C:\Cadence\SPB_17.4. You also need to include the following in the PATH variable %CDSROOT%\tools\bin then try again. You could also try running PCB DBDoctor 17.4 from the start menu. There is an app.... 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Sriramoju
    0 Sriramoju over 1 year ago in reply to steve

    I didn't get your point. Can you please explain elaborately.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Sriramoju
    0 Sriramoju over 1 year ago in reply to steve

    I didn't get your point. Can you please explain elaborately.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify 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