I have been using ispLever on this machine for over a year now. I just tried running a compile and I got an error message saying "Can't read the ini file". This comes up 7 times as I click the error box away. I restarted the tool and get this error before it comes up and in fact, it never comes up. I've rebooted the machine and still get the error and the tool won't start. Anyone know what causes this? I assume it is a corrupt file, but all it says is "ini file". I guess I'll have to contact support tomorrow. Geeze, I guess I should have reupped the formal support plan. I'd hate for them to blow me off on this issue. Rick
Lattice ispLever not starting
Started by ●September 24, 2009
Reply by ●September 25, 20092009-09-25
Normally ispLever installs the *.ini files to c:\lsc_env. You can change this by setting the variable LSC_INI_PATH to something like %USERPROFILE%\lsc_env If yours has become screwed up somehow, you can write your own based on the one below (from German windows Server 2003): Store it under lsc_7_2.ini in whichever lsc_env directory you decide to use original or one pointed to by LSC_INI_PATH). Sorry, but I can't restrain myself on my favorite rant here. The big problem is the cluelessness of so many windows SW developers who still have not realised that computers in the 21th century are largely multi-user or at least that the SW should support that model. Putting one config file for everbody in a privately invented directory should have died out around 1990. It would be a great help to the user if these developers took the time to look at the windows API and read the section Win32 and Com Development -> Administration and Management -> Policies and Profiles (Now, I'm feeling better) [paths] Bin=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\bin Config=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\config Examples=C:\Programme\Lattice\ispTOOLS7_2\examples FPGAPath=C:\Programme\Lattice\ispTOOLS7_2\ispfpga FPGABinPath=C:\Programme\Lattice\ispTOOLS7_2\ispfpga\bin\nt INI=C:\lsc_env License=C:\Programme\Lattice\ispTOOLS7_2\license Root=C:\Programme\Lattice\ispTOOLS7_2\ispcpld ispVM=C:\Programme\Lattice\ispTOOLS7_2\ispvmsystem SpectrumPath="C:\isptools\spectrum" PrecisionPath="" ModelsimPath="" SynplifyPath=C:\Programme\Lattice\ispTOOLS7_2\synpbase MachPath=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\bin AppNotes=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\bin PDSPath=C:\Programme\Lattice\ispTOOLS7_2\ispcomp Tutorial=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\tutorial Manuals=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\manuals DSPPATH=C:\Programme\Lattice\ispTOOLS7_2\ispLeverDSP TclPath=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\tcltk\bin ActiveHDLPath=C:\Programme\Lattice\ispTOOLS7_2\active-hdl\bin [Strings] ProductName=ispLEVER ProductPrefix=SYN ProductTitle=ispLEVER ProductVersion=7.2.00.07 ProductType=7.2.00.41.49.08_LS_HDL_BASE_PC_N ProgramFolder=Lattice Semiconductor 7.2 [CPLD] [FPGA] LSCC_DEV_PATH=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\data LSCC_RDD_PATH=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\data LSCC_LIB_PATH=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\data LSCC_LCI_PATH=C:\Programme\Lattice\ispTOOLS7_2\ispcpld\config LSDB_COMPRESSED = "1" [Packages] LatticeGNUCompiler=C:\Programme\Lattice\ispTOOLS7_2\micosystem LatticeMico32System=C:\Programme\Lattice\ispTOOLS7_2\micosystem Synplify=C:\Programme\Lattice\ispTOOLS7_2\synpbase Spectrum="C:\isptools\spectrum" Precision="" ModelSim="" ispVMSystem=C:\Programme\Lattice\ispTOOLS7_2\ispvmsystem HDLExplorer=C:\Programme\Lattice\ispTOOLS7_2\hdle\win32 EPICPATH=C:\Programme\Lattice\ispTOOLS7_2\ispfpga\bin\nt LM32PATH="C:\isptools\micosystem" ActiveHDL=C:\Programme\Lattice\ispTOOLS7_2\active-hdl\bin [Symbols] DeviceFamily=ORCALDB5_JED_T_VHD ProjectType=Device ToolMenu=ORCATLM32REVEAL CurrentProject=C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Lattice\pcie_easi.syn EntryType=Pure VHDL FlowType=NORMAL Simulator=ActiveHDL RevealInsert=false UseDefinedSymbols=c:\dokumente und einstellungen\administrator\eigene dateien\lattice\pcie_easi.ini
Reply by ●September 25, 20092009-09-25
Thanks a lot for the help. I found the problem after reading your post. I don't have a C:\lsc_env directory. The ini files are in lsc_env under ispTOOLS7_2. I tried looking at lsc_7_2.ini and the differences were limited to directories and three lines at the end which seem to have to do with reading error messages about a compile. I removed the three error messages and ispLever still didn't start. Since there were seven errors about reading the .ini file, I figured the directory must be wrong. Sure enough when I checked the environment variables, LSC_INI_PATH was pointing to c:\lsc_env which I don't have. Changing that to the correct path seems to have fixed the problem. I have ***NO*** idea how that was altered in the middle of using the tool. Thanks again. Rick On Sep 25, 6:46=A0am, Charles Gardiner <inva...@invalid.invalid> wrote:> Normally ispLever installs the *.ini files to c:\lsc_env. You can change > this by setting the variable LSC_INI_PATH to something like > %USERPROFILE%\lsc_env > > If yours has become screwed up somehow, you can write your own based on > the one below (from German windows Server 2003): > Store it under lsc_7_2.ini in whichever lsc_env directory you decide to > use original or one pointed to by LSC_INI_PATH). > > Sorry, but I can't restrain myself on my favorite rant here. The big > problem is the cluelessness of so many windows SW developers who still > have not realised that computers in the 21th century are largely > multi-user or at least that the SW should support that model. Putting > one config file for everbody in a privately invented directory should > have died out around 1990. It would be a great help to the user if these > developers took the time to look at the windows API and read the section > Win32 and Com Development -> Administration and Management > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -> Policies and Profi=les> (Now, I'm feeling better) > > [paths] > Bin=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\bin > Config=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\config > Examples=3DC:\Programme\Lattice\ispTOOLS7_2\examples > FPGAPath=3DC:\Programme\Lattice\ispTOOLS7_2\ispfpga > FPGABinPath=3DC:\Programme\Lattice\ispTOOLS7_2\ispfpga\bin\nt > INI=3DC:\lsc_env > License=3DC:\Programme\Lattice\ispTOOLS7_2\license > Root=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld > ispVM=3DC:\Programme\Lattice\ispTOOLS7_2\ispvmsystem > SpectrumPath=3D"C:\isptools\spectrum" > PrecisionPath=3D"" > ModelsimPath=3D"" > SynplifyPath=3DC:\Programme\Lattice\ispTOOLS7_2\synpbase > MachPath=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\bin > AppNotes=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\bin > PDSPath=3DC:\Programme\Lattice\ispTOOLS7_2\ispcomp > Tutorial=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\tutorial > Manuals=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\manuals > DSPPATH=3DC:\Programme\Lattice\ispTOOLS7_2\ispLeverDSP > TclPath=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\tcltk\bin > ActiveHDLPath=3DC:\Programme\Lattice\ispTOOLS7_2\active-hdl\bin > > [Strings] > ProductName=3DispLEVER > ProductPrefix=3DSYN > ProductTitle=3DispLEVER > ProductVersion=3D7.2.00.07 > ProductType=3D7.2.00.41.49.08_LS_HDL_BASE_PC_N > ProgramFolder=3DLattice Semiconductor 7.2 > > [CPLD] > > [FPGA] > LSCC_DEV_PATH=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\data > LSCC_RDD_PATH=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\data > LSCC_LIB_PATH=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\data > LSCC_LCI_PATH=3DC:\Programme\Lattice\ispTOOLS7_2\ispcpld\config > LSDB_COMPRESSED =3D "1" > > [Packages] > LatticeGNUCompiler=3DC:\Programme\Lattice\ispTOOLS7_2\micosystem > LatticeMico32System=3DC:\Programme\Lattice\ispTOOLS7_2\micosystem > Synplify=3DC:\Programme\Lattice\ispTOOLS7_2\synpbase > Spectrum=3D"C:\isptools\spectrum" > Precision=3D"" > ModelSim=3D"" > ispVMSystem=3DC:\Programme\Lattice\ispTOOLS7_2\ispvmsystem > HDLExplorer=3DC:\Programme\Lattice\ispTOOLS7_2\hdle\win32 > EPICPATH=3DC:\Programme\Lattice\ispTOOLS7_2\ispfpga\bin\nt > LM32PATH=3D"C:\isptools\micosystem" > ActiveHDL=3DC:\Programme\Lattice\ispTOOLS7_2\active-hdl\bin > [Symbols] > DeviceFamily=3DORCALDB5_JED_T_VHD > ProjectType=3DDevice > ToolMenu=3DORCATLM32REVEAL > CurrentProject=3DC:\Dokumente und Einstellungen\Administrator\Eigene > Dateien\Lattice\pcie_easi.syn > EntryType=3DPure VHDL > FlowType=3DNORMAL > Simulator=3DActiveHDL > RevealInsert=3Dfalse > UseDefinedSymbols=3Dc:\dokumente und einstellungen\administrator\eigene > dateien\lattice\pcie_easi.ini