custom Board Support Package

I am attempting to use the custom BSP tool but always receive an error.

 

c:\Renesas\e2_studio\internal\projectgen\arm\Packs>   BSPCreator1.03\custom_bsp_creator.exe -l -p Renesas.Synergy.1.3.0.pack --verbose

Using base pack Renesas.Synergy.1.3.0.pack
Decompressing Base Pack (note: this may take a second)
Pack unzipped
New pack structure used
The base board options available are as follows:
Unexpected error: <type 'exceptions.WindowsError'>

Traceback (most recent call last):
  File "<string>", line 305, in <module>
  File "<string>", line 60, in list
WindowsError: [Error 3] The system cannot find the path specified: 'tmp\\synergy\\ssp\\src\\bsp\\board/*.*'   (note single forward slash character)
custom_bsp_creator returned -1

 

A tmp directory is created containing a mass of extracted files. The '....board' directory is not created. The tmp directory remains on the disk.

 

If I manually create the '....board' directory and add a few base board directories (as below) and re-run the application I get a 'successful' result.

Using base pack Renesas.Synergy.1.3.0.pack
Decompressing Base Pack (note: this may take a second)
Pack unzipped
New pack structure used
The base board options available are as follows:
s3a7_dk
s7g2_dk
s7g2_sk

The tmp directory is deleted from the disk.

 

Any ideas?

 

 

 

 

 

 

  • David,

    The stand alone creator that your are trying to use was for older version of the SSP.
    For SSP 1.3 please use the build in wizard which can be accessed by right clicking on the BSP project in your workspace an selecting Export Synergy User Pack and then selecting Create a board pack.

    The documentation for this is available in e2studio help: Synergy Contents>Synergy User Pack Creator

    -Gary
  • In reply to garyj:

    Gary,

    Thank you for directing me to the now integrated tool.
    As expected the Help pages tell me little more than how to operate a Windows dialog interface.
    Perhaps you could help explain how to use this tool with a simple practical example...

    If I were to start with a Blinky ThreadX project on an S7G2-SK board the system would be configured to provide QSPI support for external flash.
    So what steps do I need to take to create a new BSP pack that does not enable QSPI pins and excludes bsp_qspi.c and the call to bsp_qspi_init().

    FYI, to help you pitch your answer at the right level, I have been using Renesas processors for over 15 years.

    Regards

    David
  • In reply to David Burch:

    Hi David,

    Create a new project and select custom bsp and the processor & package that you intend to use.
    You don't have to create a board BSP if you are not using SDRAM or QSPI or the BSP led functions.
    Edit the pin configuration and customize as necessary.

    -Gary
  • In reply to garyj:

    Hi Gary,

    So the 'Custom User Board' pack only configures the Debug pins and does not include any other board support.
    Board support files appear to be located in \synergy\board.

    How do I now use the 'User Pack' tool to add SDRAM, QSPI, LED or user defined BSP functions to a custom BSP pack?
    Is there a list of Renesas provided BSP support functions (QSPI, LED, etc)?

    Regards

    David
  • In reply to dburch:

    Custom BSP for SSP 1.3.pdf

    Hi,

    The attached document should help with creation of the BSP. Call any initialsation functions from bsp_init() in bsp_init.c

    Ian.

  • In reply to Ian:

    Hi Gary,

    I have used the document to create a new custom board pack from a successfully compiled project.
    When I use the pack to create a new project Eclipse reports an error due to incomplete pack contents extracted.
    The pin details are correct.
    bsp_board_cfg.h is correct.
    board\myboard\bsp.his correct.
    board\myboard\*.c,*.h have not been extracted.

    Any ideas?

    Regards
    David
  • In reply to dburch:

    Hi Gary,

    I have found the issue with Custom Board Generator.
    The feed back I have given you is not quite correct.
    In fact the project board directory name actually used is '\board\MyBoard'.
    The application fails until the project directory name only uses lowercase letters to match the Board ID field which converts the Board Name field to lower case.
    File names in camel case do not appear to cause a problem.

    Regards

    David
  • In reply to dburch:

    Hi Gary,

    one question to the SSP1.3 BSP manual. After step 1 when i click "Next" the dialog select project template is shown.
    It is right to select BSP (Base board support package)?

    Best regards,
    Martin
  • In reply to lmartin:

    Martin,

    Any of the templates can be used. If you don't have BSP leds defined, the blinky templates won't work properly.

    -Gary