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.

Linux/CC3220: porting code from cc3200 to cc3220

Part Number: CC3220

Tool/software: Linux

Dear support,

I porting code of my  from cc3200 to cc3220, I using kit CC3220SF-LAUNCHXL but when I printff log have erros as below

I check mode = sl_Start(0, 0, 0)  , mode = 1 , If true it must is 0

pls for Give me advice to port success

thanks

***START***
Voltage is 0 mV
RING PIN VALUE=0
Start RTC
Start TimerGPIOTask
HttpServerAppTask start
AKFRESH
GET_TIME: Begin

Start a P
> POWER DO2P main secWN!!!!!
CC3tion
200 version=02.02.10
Error [-2005] at line [254] in function [ReadFileFromDevice]
GET_APICannot read _VALUE 15
P2P ps_ip, eGET_API_HOSrror=0
T_NAME: api.cinatic.com
GET_MQTT_VALUE: 16
GET_MQTT_HOST_NAME: mqtt.cinatic.com
GET_NTP_VALUE: 12
GET_NTP_HOST_NAME: pool.ntp.org
GET_RMS_VALUE: 25
GET_RMS_HOST_NAME: relay-monitor.cinatic.com
GET_STUN_VALUE: 16
GET_STUN_HOST_NAME: stun.cinatic.com

Set cam default: flicker 50 UD 0 LR 0 brate 300 kbps framerate 15 resolution 360

HOST_NAME = api.cinatic.com
MODE_GET_CONFIG_FAIL, error=-10329
xxxxx___UNREGISTER
Network init start

lRetVal_ROLE_STA: 0

lRetVal_sl_Stop: 0

Failed to configure device to it's default state
Build Version 0.0.0.0.31.805306392.2.514.67174403.0.0.97.79
Switching to STA mode on application request
Error [-2032] at line [164] in function [Network_IF_WifiSetMode]
Error [-2032] at line [1090] in function [system_registration]

  • Dear Cao -
    Have you looked at the migration guide inside the CC3220 SDK?
    if you have installed the CC3220 SDK, you will find it here ==> file:///C:/ti/simplelink_cc32xx_sdk_1_40_00_03/docs/simplelink_mcu_sdk/SimpleLink_Gen1_to_Gen2_SDK_Migration_Guide.html
  • Hi nguyen cao,

    I'm not sure I understand.
    What are the exact steps you took to port the CC3200 application to work on the CC3220 SDK?
    Does the sl_Start return code is "1"? I can't see this in the log.
    The sl_Start command should be the first and is quite similar to the CC3200 call -so wouldn't expect any failure there.
    Looks like you have "Read Access" error (-10329), which can make sense dependent on your app and environment.
    Also there is an ABORT error (-2005) on another command. which?

    Br,
    Kobi
  • Because I brought the cc3200 source still uses CC3200SDK_1.3.0 and loaded the cc3220 after running the crash, because i found the cc3200 & cc3220 api and the same driver, so now how do i give me advice exactly
    Thanks