Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS 10.13.2 — Uploading to the CC3220 LaunchPad #11

Open
rei-vilo opened this issue Nov 25, 2017 · 7 comments
Open

macOS 10.13.2 — Uploading to the CC3220 LaunchPad #11

rei-vilo opened this issue Nov 25, 2017 · 7 comments
Assignees
Labels

Comments

@rei-vilo
Copy link
Member

rei-vilo commented Nov 25, 2017

On macOS 10.13.2, uploading to the CC3220 LaunchPad fails with the following error message:

~/Library/Energia15/packages/energia/tools/dslite/7.2.0.2096/DebugServer/bin/DSLite load -c ~/Library/Energia15/packages/energia/tools/dslite/7.2.0.2096/CC3220S_LAUNCHXL.ccxml -f /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_499204/Blink.ino.elf 
DSLite version 7.2.0.2096
Configuring Debugger (may take a few minutes on first launch)...
	Initializing Register Database...
	Initializing: IcePick_C
	Executing Startup Scripts: IcePick_C
	Initializing: CS_DAP
	Executing Startup Scripts: CS_DAP
	Initializing: Cortex_M4_0
	Executing Startup Scripts: Cortex_M4_0
GEL: Cortex_M4_0: GEL Output: 
Memory Map Initialization Complete
Connecting...
fatal: CS_DAP: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.3) 
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
 does not exist or your board is not connected

Is there a special configuration of the jumpers required as for the CC3200 LaunchPad?

  • Energia 1.8.5E19
  • cc3220emt/5.6.0
@rei-vilo
Copy link
Member Author

Some references:

  • SimpleLink™ Wi-Fi® and Internet of Things Solution CC3220, a Single-Chip Wireless MCU Getting Started Guide

A 45-page-long document at http://www.ti.com/lit/ug/swru461/swru461.pdf

  • SimpleLink™ Wi-Fi® CC3220 Getting Started with Project 0

A 10' 25" video at https://www.youtube.com/watch?v=xxzwEzC5MeQ
Almost 67% of the average time spent at evaluating new boards and OOTB demo!

@rei-vilo rei-vilo changed the title Updating to the CC3220 LaunchPad Uploading to the CC3220 LaunchPad Nov 26, 2017
@rei-vilo
Copy link
Member Author

rei-vilo commented Dec 8, 2017

See also CC3200: Which iOS and Android App? at the E2E forum.

@rei-vilo
Copy link
Member Author

On a CC3220S Rev-B

DSLite version 7.2.0.2096
Configuring Debugger (may take a few minutes on first launch)...
	Initializing Register Database...
	Initializing: IcePick_C
	Executing Startup Scripts: IcePick_C
	Initializing: CS_DAP
	Executing Startup Scripts: CS_DAP
	Initializing: Cortex_M4_0
	Executing Startup Scripts: Cortex_M4_0
GEL: Cortex_M4_0: GEL Output: 
Memory Map Initialization Complete
Connecting...
fatal: CS_DAP: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.3) 
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
 does not exist or your board is not connected

@rei-vilo
Copy link
Member Author

On a CC3220SF LaunchPad rev-B with SOP 1 jumper on

DSLite version 7.2.0.2096
Configuring Debugger (may take a few minutes on first launch)...
	Initializing Register Database...
	Initializing: IcePick_C
	Executing Startup Scripts: IcePick_C
	Initializing: CS_DAP
	Executing Startup Scripts: CS_DAP
	Initializing: Cortex_M4_0
	Executing Startup Scripts: Cortex_M4_0
GEL: Cortex_M4_0: GEL Output: 
Memory Map Initialization Complete
Connecting...
warning: IcePick_C: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 6.0.628.3) 
warning: IcePick_C: Warning: The firmware update completed successfully. (Emulation package 6.0.628.3) 
fatal: CS_DAP: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.3) 
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
 does not exist or your board is not connected
DSLite version 7.2.0.2096
Configuring Debugger (may take a few minutes on first launch)...
	Initializing Register Database...
	Initializing: IcePick_C
	Executing Startup Scripts: IcePick_C
	Initializing: CS_DAP
	Executing Startup Scripts: CS_DAP
	Initializing: Cortex_M4_0
	Executing Startup Scripts: Cortex_M4_0
GEL: Cortex_M4_0: GEL Output: 
Memory Map Initialization Complete
Connecting...
fatal: CS_DAP: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.3) 
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
 does not exist or your board is not connected

@rei-vilo
Copy link
Member Author

On macOS 10.13.2, ls /dev/tty.*returns

$ ls /dev/tty.*
/dev/tty.usbmodem00000001
/dev/tty.usbmodem00000004

@rei-vilo rei-vilo changed the title Uploading to the CC3220 LaunchPad macOS 10.13.2 — Uploading to the CC3220 LaunchPad Dec 13, 2017
@rei-vilo
Copy link
Member Author

rei-vilo commented Dec 19, 2017

The CC3220 needs to be initialised on developer mode. See http://www.ti.com/tool/UNIFLASH

The sketch resides in RAM and thus is lost if the power is disconnected.

@rei-vilo
Copy link
Member Author

This procedure requires SOP [2..0] = 010. Any other configuration fails, including the default SOP [2..0] = 011.

This is not documented in SWRU463–February 2017 § 2.4.5 Table 7.

capture 2017-12-21 a 16 14 45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants