Problem importing custom pack file

I have a chronic problem importing pack files. When I drag the pack file into the packs folder, I get the "changes to CMSIS" prompt as expected. When configuration.xml reopens, I see the new pack file in the Components tab, but the Board name does not show up in the BSP tab.

This seems to be a peculiarity of my setup - other members of my team are able to install the same pack file with no issue.

E2 Studio Version: 7.8.0
Build Id: R20200321-2326

Possibly related to this question, though I don't see a solution.

Thank you for your help!

  • Here is the text of the pdsc file:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <package xmlns:xs="www.w3.org.2001/MLSchema-instance" schemaVersion="1.4.7" xs:noNamespaceSchemaLocation="PACK.xsd">
     <vendor>Product</vendor>
     <name>Product</name>
     <description/>
     <url/>
     <supportContact/>
     <license/>
     <releases>
       <release version="1.7.5-2">1.7.5-2</release>
     </releases>
     <components>
       <component Cclass="BSP" Cgroup="Board" Csub="Embedded_Rev00" Cvendor="Product" Cversion="1.7.5-2" condition="">
         <description/>
         <files>
           <file attr="template" category="other" condition="" name="ProductEmbeddedPcba.pincfg" select="pincfg" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp.h" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_ethernet_phy.h" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_init.c" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_init.h" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_qspi.c" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_qspi.h" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_sdram.c" version="1.0.0"/>
           <file category="source" condition="" name="synergy/board/embedded/bsp_sdram.h" version="1.0.0"/>
         </files>
       </component>
     </components>
    </package>

  • In reply to eme:

    Good day eme!

    How's it going so far? I found some information from Renesas Knowledgebase and a thread that I thought might be useful to you. Kindly refer to these links:
    en-support.renesas.com/.../19579117
    renesasrulz.com/.../bsp-vs-file-import

    I hope that will help you. All the best!

    Best Regards,
    Sai
    RenesasRulz Forum Moderator

    https://renesasrulz.com/
    https://academy.renesas.com/
    en-us.knowledgebase.renesas.com/
  • In reply to eme:

    Do the XML files from the pack exist in the modules directory under the e2studio installation (internal\projectgen\arm\modules)?
  • In reply to Jeremy:

    , the XML files were not in the modules directory, though there were a bunch of holdover xml files from previous attempts.

    I deleted the xml files that were no longer associated with files in the packs directory, and tried it again.

    Once again, I got the "changes to CMSIS" prompt, and when the configuration reopened, I had the correct info in the Components tab, but not in the BSP tab menu.

    I closed e2 studio, manually placed the correct xml files into the modules directory, and reopened E2 studio. After that, the expected entry is now in the BSP tab menu.

    So at least it appears that I have a workaround, and I can build my project, which is a big step forward, so thank you!

    However, pack file import still isn't working as it should, and I'm not sure if there are other parts of the import that aren't complete that I just haven't found yet.

    Thoughts?
  • In reply to eme:

    If I have a problem with a board pack file not showing up properly, I close e2studio, and for e2studio 7.8.0, I delete all the XML files in internal\projectgen\arm\modules and the file internal\projectgen\arm\packs\supportfilepacks.xml, then I open e2studio again. This forces e2studio to rescan all of the pack files in the packs directory ( internal\projectgen\arm\packs) and extract the XML files to the modules directory ( internal\projectgen\arm\modules ).

    There is a pack import option (File->Import->CMSIS Pack) in e2studio, though I have found in the past after using that import method, I have to close e2studio and reopen it, after importing a pack this way, for it to be visable (and usable).
  • In reply to Jeremy:

    I closed E2 Studio, deleted the module\*.xml files,and reopened E2 Studio. It looks like everything is regenerated as it should be, including the xml files for my new custom pack.

    When I look at the contents of packs\supportfilepacks.xml and modules\installedpacks.xml, I see only the Renesas.Synergy files listed and not my custom packs. I'm not sure if that is expected behavior or not?

    In any case, I now have a couple of workarounds to getting the pack file contents installed, so I'm able to build and run my projects again. Thank you for your help.