This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AMIC110: HSR demo

Part Number: AMIC110
Other Parts Discussed in Thread: SYSBIOS

Hello,

I am trying to generate project for HSR application.

http://processors.wiki.ti.com/index.php/PRU_ICSS_HSR_PRP

i am facing below problem.

No products of type "com.ti.rtsc.SYSBIOS" are currently installed!.

PFA of screen shots.

Kindly help.


Regards

VR

  • Hi Vrund,

    It's very likely that you haven't opened the CCS to detect the tools/drivers after the PRSDK is installed.

    Regards,

    Garrett

  • Hi,

    projectCreate.bat requries ndk version

    NDK_VERSION=2.26.00.08

    but i have used 3.40.01.01 

    and processor_sdk_rtos_am335x_5_03_00_07

    is it ok?

  • Hello,

    i am facing problem while compiling.

    subdir_rules.mk:12: recipe for target 'build-1111334305-inproc' failed
    gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_10/packages/ti/drv/gpio/soc/am335x/GPIO_soc.c', needed by 'soc_am335x/GPIO_soc.o'.
    gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_10/packages/ti/drv/i2c/soc/am335x/I2C_soc.c', needed by 'soc_am335x/I2C_soc.o'.
    gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_10/packages/ti/drv/spi/soc/am335x/SPI_soc.c', needed by 'soc_am335x/SPI_soc.o'.
    gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_10/packages/ti/drv/uart/soc/am335x/UART_soc.c', needed by 'soc_am335x/UART_soc.o'.
    gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac/soc/am335x/icss_emacSoc.c', needed by 'soc_am335x/icss_emacSoc.o'.
    gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_10/packages/ti/drv/pruss/soc/am335x/pruicss_soc.c', needed by 'soc_am335x/pruicss_soc.o'.

    Regards,

    VR

  • VR,

    You must use the Processor SDK v4.3 as specified in the HSR/PRP user guide at this point.

    software-dl.ti.com/.../index_FDS.html

    And the components of PRSDK v4.3 is listed here -

    Regards,

    Garrett

  • hi,

    getting this error.

    gmake: Target 'all' not remade because of errors.

    Regards,VR

  • VR,

    Which error? can you please post the error log?

    Have you applied the patch under PRU-ICSS-HSR-PRP-DAN_01.00.04.02\protocols\pdk_patches\04.03.00 to PDK and rebuild the libraries icss_emac and nimu_icss or replace them with the zipped files (icss_emac.zip and nimu_icss.zip) in the same directory?

    Regards,

    Garrett

  • Hi,

    below is log.


    **** Build of configuration AMIC11x_release for project hsr_app_AMIC11x_arm ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam3359 -DSOC_AM335x -DiceAMIC11x -Dcore0 -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/projects/hsr_app_AMIC11x_arm" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02" -I"C:/ti/ndk_2_26_00_08" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include/v1.0" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_prp_menu.d" -MT"hsr_prp_menu.o" -o"hsr_prp_menu.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c"
    subdir_rules.mk:23: recipe for target 'hsr_prp_menu.o' failed
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c: In function 'runRxTxTest':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:743:16: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
    ((ICSSEMAC_Object *)(emachandle->object))->emacInitcfg->ethPrioQueue, 4);
    ^
    In file included from c:\ti\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:29:0,
    from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.h:40,
    from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:42:
    c:\ti\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\string.h:27:8: note: expected 'const void * restrict' but argument is of type 'uint8_t {aka unsigned char}'
    _PTR _EXFUN(memcpy,(_PTR __restrict, const _PTR __restrict, size_t));
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:746:61: error: subscripted value is neither array nor pointer nor vector
    emachandle->object))->emacInitcfg->ethPrioQueue[ICSS_EMAC_QUEUE1] = 1;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:748:61: error: subscripted value is neither array nor pointer nor vector
    emachandle->object))->emacInitcfg->ethPrioQueue[ICSS_EMAC_QUEUE2] = 1;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:750:61: error: subscripted value is neither array nor pointer nor vector
    emachandle->object))->emacInitcfg->ethPrioQueue[ICSS_EMAC_QUEUE3] = 1;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:752:61: error: subscripted value is neither array nor pointer nor vector
    emachandle->object))->emacInitcfg->ethPrioQueue[ICSS_EMAC_QUEUE4] = 1;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:756:16: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
    memcpy(((ICSSEMAC_Object *)(emachandle->object))->emacInitcfg->ethPrioQueue,
    ^
    In file included from c:\ti\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:29:0,
    from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.h:40,
    from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/hsr_prp_menu.c:42:
    c:\ti\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\string.h:27:8: note: expected 'void * restrict' but argument is of type 'uint8_t {aka unsigned char}'
    _PTR _EXFUN(memcpy,(_PTR __restrict, const _PTR __restrict, size_t));
    ^
    gmake: *** [hsr_prp_menu.o] Error 1
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam3359 -DSOC_AM335x -DiceAMIC11x -Dcore0 -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/projects/hsr_app_AMIC11x_arm" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02" -I"C:/ti/ndk_2_26_00_08" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include/v1.0" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c"
    subdir_rules.mk:44: recipe for target 'main.o' failed
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c: In function 'taskUartMenu':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:557:79: warning: pointer targets in passing argument 2 of 'hsrPrp_multicast_filter_override_hashmask' differ in signedness [-Wpointer-sign]
    hsrPrp_multicast_filter_override_hashmask(emachandle, bkupMacidString);
    ^~~~~~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:95:0:
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include/hsrPrp_red_multicastTable.h:78:12: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *'
    RED_STATUS hsrPrp_multicast_filter_override_hashmask(ICSSEMAC_Handle
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:563:74: warning: pointer targets in passing argument 2 of 'hsrPrp_multicast_filter_update_macid' differ in signedness [-Wpointer-sign]
    hsrPrp_multicast_filter_update_macid(emachandle, bkupMacidString,
    ^~~~~~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:95:0:
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include/hsrPrp_red_multicastTable.h:65:12: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *'
    RED_STATUS hsrPrp_multicast_filter_update_macid(ICSSEMAC_Handle
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:570:74: warning: pointer targets in passing argument 2 of 'hsrPrp_multicast_filter_update_macid' differ in signedness [-Wpointer-sign]
    hsrPrp_multicast_filter_update_macid(emachandle, bkupMacidString,
    ^~~~~~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:95:0:
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/protocols/hsr_prp/include/hsrPrp_red_multicastTable.h:65:12: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *'
    RED_STATUS hsrPrp_multicast_filter_update_macid(ICSSEMAC_Handle
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c: In function 'main':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:1028:32: error: subscripted value is neither array nor pointer nor vector
    switchEmacCfg->ethPrioQueue[ICSS_EMAC_QUEUE1] = 1 ;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:1029:32: error: subscripted value is neither array nor pointer nor vector
    switchEmacCfg->ethPrioQueue[ICSS_EMAC_QUEUE2] = 0 ;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:1030:32: error: subscripted value is neither array nor pointer nor vector
    switchEmacCfg->ethPrioQueue[ICSS_EMAC_QUEUE3] = 1 ;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:1031:32: error: subscripted value is neither array nor pointer nor vector
    switchEmacCfg->ethPrioQueue[ICSS_EMAC_QUEUE4] = 0 ;
    ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:1156:5: warning: implicit declaration of function 'OSAL_OS_start' [-Wimplicit-function-declaration]
    OSAL_OS_start();
    ^~~~~~~~~~~~~
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c: In function 'ICSSEmacDRVInit':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/main.c:1468:5: warning: implicit declaration of function 'ICSS_EmacSocGetInitCfg' [-Wimplicit-function-declaration]
    ICSS_EmacSocGetInitCfg((instance - 1), emacBaseAddr);
    ^~~~~~~~~~~~~~~~~~~~~~
    gmake: *** [main.o] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    i have not apply the patch.

    Once i'll do i'll message.

    Regards,

    VR

  • VR,

    Any update? Can we get this closed?

    Thanks,

    Garrett

  • Hello,

    As of now i am ordered to do some other high priority task.

    As of now i am closing the issue.

    But if problem faced in future i will let you know.

    Thanks,

    VR