The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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.

CC3220S-LAUNCHXL: (Error -1170 @ 0x0) Unable to access the DAP.

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: SYSCONFIG

Dear TI, 

I try to use PWM on my CC3220S-LAUNCHXL launchpad. I choose P21 pin as the pwm output, because the syscfg recommended this, and I already used I2C, so P01 and P02 is not available. Since I implemented the PWM function on pin P21, when I try to debug the program I get the (Error -1170 @ 0x0) Unable to access the DAP. message. But when I cancel this and reset the device and debug again, it works fine. When I modify the code, the error pops up again the first time, but after a reset it works again. Can you please help me, why I get this error? 

Thank you in advance, 

Sandor

  • Hi Sandor,

    Are you using the latest CC32xx SDK 4.40? Are you using the SysConfig ImageCreator flashing feature in Code Composer Studio? If not, can you try left-clicking on image.syscfg and excluding it from build?

    Best regards,

    Sarah

  • Hi Sarah, 

    Thank you for the fast answer. Yes, I'm using SDK 4.40. I excluded the image.syscfg and now I don't get the error message, so it works. 

    What can cause the problem when I include the image.syscfg? Is it correct to use the P21 pin as PWM output? 

    Best regards, 

    Sandor

  • Hi Sandor,

    Pin 21 is also SOP2, which is the pin used to determine the device's boot mode on start up. There are some hardware considerations for this pin that you should check in the datasheet, but the pin should still work as expected.

    I think the underlying issue is how the SysConfig ImageCreator tool auto-detects the MAC address when you build a project. If you want to continue to use this feature but disable auto-detect, you can open image.syscfg, go to General, uncheck Auto-Detect MAC address, and manually enter your LaunchPad's MAC address (this is typically printed to the serial terminal in SDK examples in the demo folder, like network_terminal).

    Best regards,

    Sarah