Other Parts Discussed in Thread: CC3235SF, CC2642R, SYSCONFIG
I have a stock new CC3235SF_LAUNCHXL board, jumpers in place as delivered. I am using CCS 12.6.0.00008 on Linux OS.
I am trying to run the stock "uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc" example from the Resource Explorer.
A few questions I have on this setup, which is new to me. I have lots of experience with same setup and the CC2642R MCU and CCS.
1) On this newer MCU I see it has an external 4MB sFLASH part and evidently it boots from that, or at least comes up and if the MCU itself
doesn't have code in the XIP FLASH it will program that from the sFLASH and then run. I think this is correct?
2) If there is code in XIP then the boot loader skips reFLASHing the XIP and starts up directly. Correct?
3) When using CCS to debug, this is where I get foggy. It appears I can compile and run with the the "hammer icon" which now has two
options (vs. the older MCU, just 'debug'). Now I have the choices: 1: Debug, or 2: MCU+Image, Question, is this described somewhere?
4) When I wish to debug, and click the "green bug" to build and load, it appears I don't always get the latest code I built w/changes in it, what up?
5) Very often, and more times than not, the flashing operation after a build (either 1 or 2 in the 'hammer') fail due to some new thing I"m not
familiar with, I'll put the error text here:
**** Build of configuration MCU+Image for project uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc **** /home/marc/ti/ccs1260/ccs/utils/bin/gmake -k -j 8 all -O gmake[1]: 'uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc.out' is up to date. Building secondary target: "syscfg/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc.sli" Invoking: Image Creator "/home/marc/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/drivers/net/imagecreator/bin/SLImageCreator" syscfg create_image --sdk_path "/home/marc/ti/simplelink_cc32xx_sdk_7_10_00_13" --json "/home/marc/workspace_v12/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc/MCU+Image/syscfg/ti_drivers_net_wifi_config.json" --file "/home/marc/workspace_v12/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc/MCU+Image/syscfg/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc.sli" --mcu "/home/marc/workspace_v12/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc/MCU+Image/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc.bin" INFO:root:FTDI not detected, trying XDS INFO:slbootloader.slbootloader:Connecting to device INFO:slbootloader.slbootloader:Power off INFO:slbootloader.slbootloader:Set break signal INFO:slbootloader.slbootloader:Power on makefile:167: recipe for target 'syscfg/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc.sli' failed Traceback (most recent call last): File "<string>", line 5262, in <module> File "<string>", line 5258, in main File "<string>", line 5228, in cmdline File "<string>", line 4653, in command_sysconfig_create_image File "<string>", line 2498, in create_image_from_sysconfig File "<string>", line 1567, in connect_device File "/home/user/Downloads/sl_image_creator_gen3/slbootloader/slbootloader.py", line 409, in connect_with_reset File "/home/user/Downloads/sl_image_creator_gen3/slbootloader/slbootloader.py", line 271, in _expect_ack File "/home/user/Downloads/sl_image_creator_gen3/slbootloader/slbootloader.py", line 300, in _read_data File "/home/user/Downloads/sl_image_creator_gen3/venv_ic/lib/python2.7/site-packages/serial/serialposix.py", line 475, in read serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) SLImageCreator returned -1 gmake[1]: *** [syscfg/uart2echo_CC3235SF_LAUNCHXL_tirtos7_gcc.sli] Error 255 gmake[1]: Target 'secondary-outputs' not remade because of errors. gmake: *** [all] Error 2 makefile:149: recipe for target 'all' failed **** Build Finished ****
I have been hung up on this and not found clear documentation on what is attempting to occur to program the part. It usually takes pressing the
reset button on the LaunchXL that is right next to the USB connector or/and unplug the USB and plug back in to get the thing to work again!
I have scanned dozens of pages of Forum posts for similar symptoms and there are a few but none related to using a stock LaunchXL and MCU
setup to simply run the examples and demos TI provides. I did run the 'out of box' WIFi and that worked but also suffers from the same FLASH
loading problems but did load and run ok a few times (could access via. a browser from my PC, etc.).
I'd love to entertain any tips and tricks or help TI has on getting this to be reliable as I have to do some benchmark tests on the MCU as it does
not have a FPU vs. the older MCU which did. Evaluate how much slower it will be with out the FPU to do calculations,etc..
Cheers, Marc