Battery Management System Reference Design

ID 683279
Date 4/02/2016
Public
Document Table of Contents

1.2.6. Compiling the Nios Software for the BMS Reference Design

You can either compile your design or use the Altera-provided pre-compiled .elf from the software/ bms_soc_microc directory of your reference design.
  1. Start Nios II EDS by clickingStart > Altera > Nios II EDS > Nios II Software Build Tools
  2. Specify the \software folder as the workspace by browsing to the reference design /software directory.
  3. Click OK to create the workspace.
  4. Import application and board support package (BSP) projects:
    1. Click File > Import.
    2. Expand General and click Existing Projects into Workspace.
    3. Click Next.
    4. Browse to \software\bms_soc_microc and click OK.
    5. Click Finish.
    6. Repeat steps a4.a. to e4.a. for bms_soc_microc_bsp.
  5. Rebuild the BSP project:
    1. Right click bms_soc_microc_bsp project
    2. Point to Nios II
    3. Click Generate BSP
  6. Build the application project:
    1. Right-click bms_soc_microc project
    2. Click Build Project.
    Note: On Windows operating systems, the first time you build, the project might take up to one hour.
  7. Note: build and rebuild the project if you make any changes to the Qsys project.