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.

CC3235S: I used CC3235S to make a WIFI repeater, but after the repeater repeatedly connected to the mobile hotspot, the link failed and blocked, the program did not execute, and the OStimer stopped.

Part Number: CC3235S
Other Parts Discussed in Thread: SYSCONFIG, , UNIFLASH

Hi team,

 the CPU I am using now is CC3235S, and the original project used CCS10.4.0+simplelink_cc32xx_sdk_5_20_00_06+sysconfig_1.8.0+xdctools_3_62_01_15_core,

The project can be compiled and passed, and the program can be programmed to the board using uniflash_6.4.0 and executed. However, when the board is connected to the wireless network of its own mobile phone, the TIRTOS timer in the program dies when it repeatedly disconnects from the mobile hotspot.

Then block in the sl_WlanConnect function.

I suspected that the SDK version was too low, so I downloaded the latest SDK--simplelink_cc32xx_sdk_7_10_00_13+sysconfig_1_12_0. However, after the download was completed, the project failed to compile and there were the following compilation errors. What should I do to make the project compile and pass? The problem lies in where?

Description Resource Path Location Type
can't locate the package 'ti.posix.tirtos' along the path: 'C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source;C:/ti/simplelink_cc32xx_sdk_7_10_00_13/kernel/tirtos/packages;C:/ti/simplelink_cc32xx_sdk_7_10_00_13/kernel/tirtos7/packages;C:/ti/simplelink_cc32xx_sdk_7_10_00_13;C:/ti/ccs1040/xdctools_3_62_01_15_core/packages;C:/ti/ccs1040/xdctools_3_62_01_15_core/packages;..;'. Ensure that the package path is set correctly. .xdchelp /tirtos_builds_cc32xx_release_ccs line 592 C/C++ Problem
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_cc32xx_release_ccs' contains build-errors. Anchor_Lighting Anchor_Lighting Problem
gmake: *** [all] Error 2 tirtos_builds_cc32xx_release_ccs C/C++ Problem
gmake.exe: *** [package.mak:202: package/cfg/release_pem4.xdl] Error 1 tirtos_builds_cc32xx_release_ccs C/C++ Problem
gmake[1]: *** [build-121333681-inproc] Error 1 tirtos_builds_cc32xx_release_ccs C/C++ Problem
gmake[1]: *** [build-121333681] Error 2 tirtos_builds_cc32xx_release_ccs C/C++ Problem
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors. tirtos_builds_cc32xx_release_ccs C/C++ Problem
gmake[2]: *** [build-121333681-inproc] Error 1 tirtos_builds_cc32xx_release_ccs C/C++ Problem
xdctools_3_62_01_15_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem4.xdl] Error 1 tirtos_builds_cc32xx_release_ccs C/C++ Problem
Invalid project path: Include path not found (C:\ti\simplelink_cc32xx_sdk_7_10_00_13\source\ti\posix\ccs). Anchor_Lighting pathentry Path Entry Problem
This project was created using a version of compiler that is not currently installed - 20.2.6.LTS [Arm]. Another version of the compiler will be used during build - 20.2.5.LTS. See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update. Visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compiler support. Or <a href="">software-dl.ti.com/.../a> and install the compiler, then register it with CCS through 'Preferences > CCS > Build > Compilers'. Anchor_Lighting properties Problem

I installed the latest CCS 12.2.0 here, but the project still cannot be compiled. It could be compiled and passed using 10.4.0 before. What should I do next to make my project compile?

Please also help me look at the compilation errors and give me some suggestions, thank you.


The compilation error is shown below.

can't locate the package 'ti.posix.tirtos' along the path: 'C:/ti/simplelink_cc32xx_sdk_7_10_00_13;C:/ti/ccs1220/xdctools_3_62_01_16_core/packages;C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source;C:/ti/simplelink_cc32xx_sdk_7_10_00_13/kernel/tirtos/packages;C:/ti/simplelink_cc32xx_sdk_7_10_00_13/kernel/tirtos7/packages;C:/ti/ccs1220/xdctools_3_62_01_16_core/packages;..;'. Ensure that the package path is set correctly.
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_cc32xx_release_ccs' contains build-errors.
gmake: *** [all] Error 2
gmake[1]: *** [build-121333681] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake[2]: *** [build-121333681-inproc] Error 1
xdctools_3_62_01_16_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem4.xdl] Error 1
Invalid project path: Include path not found (C:\ti\simplelink_cc32xx_sdk_7_10_00_13\.;C::\ti\ccs1220\xdctools_3_62_01_16_core\packages).
Invalid project path: Include path not found (C:\ti\simplelink_cc32xx_sdk_7_10_00_13\.;C::\ti\ccs1220\xdctools_3_62_01_16_core\packages).
Invalid project path: Include path not found (C:\ti\simplelink_cc32xx_sdk_7_10_00_13\source\ti\posix\ccs).
XDCpath repository 'C:/ti/simplelink_cc32xx_sdk_7_10_00_13/.;C:/ti/ccs1220/xdctools_3_62_01_16_core/packages' cannot be found! Visit project's 'Properties > General > Products' tab to adjust the XDCpath.

Thanks & Best regards,

Yolande

  • Hi,

    I suggest to look into one of the examples in the new SDK and understand how the projectspec is built. It is different than the old SDK. For example, the kernel library is located in a different location in the SDK.

    See this E2E post for example https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1285480/cc3235sf-package_not_found-build-error-after-updating-sdk

    Regards,

    Shlomi

  • Hi Shlomi,

    The CPU I am using now is CC3235S, and the original project used CCS10.4.0+simplelink_cc32xx_sdk_5_20_00_06+sysconfig_1.8.0+xdctools_3_62_01_15_core,

    The project can be compiled and passed, and the program can be programmed to the board using uniflash_6.4.0 and executed. However, when the board is connected to the wireless network of its own mobile phone, the TIRTOS timer in the program dies when it repeatedly disconnects from the mobile hotspot.

    Then block in the sl_WlanConnect function. Why is this? How to solve?
    The above is the original problem of the customer. The customer himself thought that the SDK needs to be updated. After the update, the error in the question appeared.
    I think there may be no need to update the SDK. Can you directly solve the customer's original problem?

    Thanks & Best regards,

    Yolande

  • Hi Shlomi,

    Below is a follow up from the customer:

    I found that there is also a bug in the sl_WlanConnect function. The return value of this function returns 0 regardless of whether the connection is successful or not?
    I output the log of the return value of this function. Whether there are hot spots or not, the function returns successfully. I wonder if TI can check whether there is a problem with this function itself. Is this bug fixed in the latest version of the SDK?

    Is this function the only way to connect to a wifi hotspot? Are there any other methods and processes that are better and more advanced for connecting to wifi?

    Thanks & Best regards,

    Yolande

  • Hi,

    This is not bug. API sl_WlanConnect() is not blocking function. It return 0 when device starts connection attempt. About successfully connection you are informed via asynchronous handlers.

    Alternate for sl_WlanConnect() are connection profiles. For more details sww chapter 4.3.3 at SWRU455.

    Jan

  • Hi Jan,

    Thank you for your explanation.

    I am not meaning that API sl_WlanConnect() is blocking function.

    The customer find when the board is connected to the wireless network of his mobile phone, the TIRTOS timer in the program dies when he repeatedly disconnect from the mobile hotspot.The program is stuck in the sl_WlanConnect() function

    What is the reason for this?

    How to check?

    Thanks & Best regards,

    Yolande

  • Hi Yolande,

    It looks like some bug at connection logic of your customer. Why I think this? Because it looks that your customer doesn't understand how API sl_WlanConnect() works. This API return 0 when its starts connection attempt. It does not returns when you are connected. I am not sure what else he missed...

    If that timer is complete independent to WIFi code it looks like stack overflow or hard fault. Does he see any error via asynchronous handler?

    But at fist step she can try update SDK. He don't need do full update to TIRTOS 7 but just upgrade host driver and ServicePack.

    btw ... here is nice video how to debug TI-RTOS application.

    Jan