SSP1.4.0 and e2 6.2 upgrade problems

After a recent hardware upgrade I moved Win7 bootcamp partition to Win7 VirtualBox on MPB, which seemed seamless/problem-free.  Until I tried to communicate with my S5D9 PK board, getting the 'no power' errors though LEDs are on and both host and guest OS's see the JLink device.

So upgrade e2 to 6.2 and SSP to 1.4.0 and problems ensued (guessing this is the first note of many).  Using the demo NetXServe (unmodified), the build process dies with the following messages:
 
'Building file: ../synergy/ssp/src/framework/el/nx_md5/nx_md5.c'
'Invoking: Cross ARM C Compiler'
C:\Renesas\Synergy\e2studio_v6.2.0_ssp_v1.4.0\eclipse\../Utilities/isdebuild arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O2 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wunused -Wuninitialized -Wall -Wextra -Wmissing-declarations -Wconversion -Wpointer-arith -Wshadow -Wlogical-op -Waggregate-return -Wfloat-equal -g3 -D_RENESAS_SYNERGY_ -I"C:\Users\user\Desktop\WS3\netxserve2\synergy_cfg\ssp_cfg\bsp" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy_cfg\ssp_cfg\driver" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\bsp" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\bsp\cmsis\Include" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\driver\api" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\driver\instances" -I"C:\Users\user\Desktop\WS3\netxserve2\src" -I"C:\Users\user\Desktop\WS3\netxserve2\src\synergy_gen" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy_cfg\ssp_cfg\framework\el" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\framework\el" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\src\framework\el\tx" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\src\framework\sf_el_nx\phy" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\framework\el\nx" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\src\framework\el\nx" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\src\framework\el\nx_md5" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\inc\framework\el\nx_application_layer" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy\ssp\src\framework\el\ux" -I"C:\Users\user\Desktop\WS3\netxserve2\synergy_cfg\ssp_cfg\framework" -std=c99 -MMD -MP -MF"synergy/ssp/src/framework/el/nx_md5/nx_md5.d" -MT"synergy/ssp/src/framework/el/nx_md5/nx_md5.o" -c -o "synergy/ssp/src/framework/el/nx_md5/nx_md5.o" -x c "../synergy/ssp/src/framework/el/nx_md5/nx_md5.c"
ERROR: Decryption not permitted on this file
synergy/ssp/src/framework/el/nx_md5/subdir.mk:18: recipe for target 'synergy/ssp/src/framework/el/nx_md5/nx_md5.o' failed
make: *** [synergy/ssp/src/framework/el/nx_md5/nx_md5.o] Error 1'

Of course I can't find a fix for this, doing the usual reboots, project cleans, re-generating project content, etc.  The nx_md5.c file is present.

Also, under the Problems tab I see this warning (inserting CRs for readability):
Description Resource Path Location Type
Unused declaration of variable 'g_heap'

startup_S5D9.c

/netxserve2/synergy/ssp/src/bsp/cmsis/Device/RENESAS/S5D9/Source

line 115

Code Analysis Problem

So any assistance appreciated... so realissue (it says powered board is unpowered) can be worked on.  Thanks.

  • Hello cam,

    which demo project exactly do you use? I tried the Getting Started with NetX Web Server - Application Project. The build process finished with no errors.

    Please verify that the correct license file has been selected: menu Help > Synergy License. After changing it, project clean may be necessary.

    As for the "no power" issue, please verify that nothing blocks the USB port. Sometimes antivirus software can do that.

    You may also try to install USB drivers - this can be done by installing the Renesas Flash Programmer.

    Best regards,
    anper

  • About the license, I read somewhere that a new license file should be downloaded when upgrading to SSP1.4.0. I don't know if it is compulsory, but I've done it and is a straightforward process.

  • In reply to anper:

    The project is "NetX HTTP Server Module Guide".

    There are two license files available, one from Feb 2016 and one from Aug 2017 (based on name, not timestamp). Neither one fixes this issue. How do I download a new license? I thought they were included in the e2 download.

    I've cleaned the project multiple times.

    Also note that this was just a move of a functioning setup, so the issue is either VirtualBox or the new host OS. So antivirus shouldn't be an issue (but will check). The JLink driver is present (it appears in Device Manager when I connect the board). I will try the Renesas driver re-install.

    This USB/Jlink issue is discussed here, on the Segger board, and the VirtualBox board- I've tried all of the suggested fixes but no luck yet.
  • In reply to Laboratori Elecsan:

    How is this done? I don't see a license download after a quick search.
  • Try reinstalling segger drivers for Jink and ensure the usb os passed on to Virtubox. Sound like your license file is missing or misplaced, esp if you have the type of license that allows viewing of source code in ThreadX.
  • In reply to cam:

    If you has the free license, it does come with the tools. The other license type that allows source code comes from Renesas if you are approved for it.

    Call Segger in Mass ask for shawn and ask of Jlink works from VirtuBox. I had a usb to ser device that Virtubox slowed down enough to make it drop chars. There are some settings in VB that can speed things up.
  • Try reinstalling segger drivers for Jink and ensure the usb os passed on to Virtubox. Sound like your license file is missing or misplaced, esp if you have the type of license that allows viewing of source code in ThreadX.
  • Try reinstalling segger drivers for Jink and ensure the usb os passed on to Virtubox. Sound like your license file is missing or misplaced, esp if you have the type of license that allows viewing of source code in ThreadX.
  • In reply to cam:

    Hello cam,

    the license file should be present in the following file after installing the SSP:
    <e2_studio_dir>\internal\projectgen\arm\licenses\SSP_License_Example_EvalLicense_20180105.xml

    To get the development license please got to the SSP web page:
    https://www.renesas.com/en-eu/products/synergy/software/ssp.html
    log in and use the button in the License section:

    Best regards,
    anper

  • In reply to anper:

    Update:

    Thanks, all, for the many helpful suggestions.  After poking around based on these and other ideas...

    -Apparently the uninstall of e2 v5.x  was incomplete including leaving the two older licenses intact.  Understandably this seemed to confuse the v6.2 installation.

    -Re-ran the 5.x uninstall twice, then did a re-install of 6.2, and voila' a new 2018 license appeared.  Cleaned the project and got a successful compile.  There was much joy throughout the land.

    -So went to debug the successful compile and back to lack of power error.  Console window shows
    "Connecting to R7FS5D97E, ARM Target
    GDBServer endian : little
    Target power : off
    Starting target connection"

    despite LEDs and display backlight being on.  The Jlink DLL is present in the C:\Renesas\Synergy\e2studio_v6.2.0_ssp_v1.4.0\DebugComp\Synergy\ARM\Segger directory. 
    Vbox sees 'Segger JLink' under USB devices and allows control of it (causing Device Manager to instantiate it).  JLink driver updated, no diff.  JLink v6.32 re-installed, same result.... although this did not change JLinkARM in Segger directory under Renesas (will try after this note- had a few Vbox crashes).

    Finally, less frequently and randomly I get the "localhost:61234: The system tried to join a drive to a directory on a joined drive." error which is what I usually see when a power cycle of the target board is needed- but no help here.

  • In reply to cam:

    JLinkARM update made no difference.
    Interestingly, if I disconnect the Vbox USB connection Segger JLink and run the debugger it says there are no USB emulators and gives my the IP connection box....
  • In reply to cam:

    Hello cam,

    the "Target power: off" message is probably ok - I also get it in the correctly working set.

    GDBServer for Renesas targets.
    Version 6.2.0.v20171214-105831 [7ec76306] (Jan 2 2018 16:23:33)

    Starting server with the following options:
    Raw options : C:\Renesas\e2_studio_6_2_0_R20180102\eclipse\/../\DebugComp\\Synergy\e2-server-gdb -g SEGGERJLINKARM -t R7FS7G27H -p 61234 -d 61236 -uSelect= USB -uJLinkSetting= C:\Users\user\e2_studio\workspace_6_2_0_R20180102\Blinky_140/Blinky_140 Debug.jlink -uLowPower= 0 -uInteface= SWD -uIfSpeed= 4000 -uNoReset= 1 -uResetPreRun= 1 -uIdCodeBytes= FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -uResetCon= 1 -uSWOcoreClock= 0 -uresetOnReload= 1 -n 0 -uFlashBp= 0 -uSimulation= 0

    Connecting to R7FS7G27H, ARM Target
    GDBServer endian : little
    Target power : off
    Starting target connection
    Finished target connection
    Target connection status - OK
    Starting download
    Option Function Select, writing to address 0x00000400 with data fffffffffffdffff
    SECMPUxxx, writing to address 0x00000408 with data ffffffffffffffffffffffffffffffff...
    Finished download

    Best regards,
    anper

  • In reply to anper:

    Hello Cam,

    I have the same issue. I'm trying to configure the NetX HTTP server on E2 Studio 6.2.0 with SSP 1.4.0.

    Have you any suggest to solve it?

    Here below a screen of the project.

    Many thanks in advance, regards

    A. Barbieri - Como Italy

  • In reply to abe:

    Abe-

    See my reply from 9 May 2018 23:02

    Once I performed those steps my 2017 licenses were gone and there was a new license with a 2018 date. Using this license the compile error from the nx_md5 file stopped and I was able to compile.

    However I was not able to write to the S5D9- so I went back to my 5.x/1.3.2 setup. I will return to this issue later , it was taking too much time to figure out the problem.

    In bocca al lupo!
  • In reply to cam:

    Hi Cam,
    I see your reply, but on my PC your procedure (unistall twice and re-install). I need to install new E2Studio on a new PC and copy the properly license my workstation.
    Now all is working good.
    Many thanks for your attention, in bocca la lupo also for you!!
    Abele