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.

cc3200 launchpad.

Other Parts Discussed in Thread: CC3200, CC3100, UNIFLASH

I have downloaded the ADC example program from ti examples of cc3200. I have build them and successful downloaded and run the out file in debug.

I am not able to connect to the UART and  I have not got the message "UART_PRINT("\n\rInvalid Input. Please try again. \n\r ".

I have got the message in the console : Cortex_M4_0: Trouble Reading Memory Block at 0x2003000c on Page 0 of Length 0x4: Debug Port error occurred.

George   

  • Hi George,

    We will look into this and get back to you.

    Thanks and Regards,
    Siddaram
  • Hi George,

    While working with the debugger you should put the SOP 2 jumper. This essentially ensures the code in SFLASH doesn't run.
    Please see if this helps. Also try some other example and let us know if you see the same behaviour.

    Thanks and Regards,
    Siddaram
  • Hi George and Siddaram,

    Perhaps, check if have the connection between J2 to SDA and J3 to SCL, should work.

  • Hi George,

    Did your queries got answered. If yes please press the "Verify Answer" button to close this thread.

    Thanks and Regards,
    Siddaram
  • Dear Siddaram.

    I thank you your question.I was not successful with the CC3200. The UART communication    was started successful, but the program did not go. At the moment I gave up the trying. I started to studying the CC3100 now. I hope I will successful in this topic.

    Dear Siddaram I would like to know how can run a program in ccs v6 without debag. I would like to load the program and reset running it. How can take this.

    Best regards

    George

    I

  • Hi George,

    I am assuming for the following question " I would like to know how can run a program in ccs v6 without debag" you mean you don't want to debug a code but just run. The steps should be same, Only when you want put breakpoints or halt you are actually debugging if not it is just load and run. Please refer the section "Compile, Download, and Debug" in the Getting Started Guide for full details

    Thanks and Regards,
    Siddaram
  • Hi George,

    Did your queries got answered. If yes please press the "Verify Answer" button to close this thread.

    Thanks and Regards,
    Siddaram
  • Dear Siddaram.

    I have read the mentioned section "Compile, Download, and Debug" in the Getting Started Guide". I have not found answer for my question.

    I tried to build the getting_started_vlan_station example program release mode after  loaded the out file. The trying was not successful.

    Dear Siddaram I would like to run a launchpad example program simple running without debug in full sped. Please tell me how can do this in CCs v6. I would like that the program  run the press of the reset.

    George

  • Hi George,

    Please help me understand the problem you are facing. You have a CC3200 board and what of below is true
    1. You are able to download code using uniflash and runs fine. Yes/No
    2. You are able to download code using CCS and runs fine. Yes/No
    3. If both of the above are correct did you ensure that all the needed jumpers on the board are correct. Did you look at the getting started guide and LP guide.
    4. Were you able to run any code on the so far, Did the Out Of Box demo work fine.

    Thanks and Regards,
    Siddaram
  • Hi George,

    Can you please provide your answers to above queries from Siddaram?

    Regards,
    Raghavendra

  • Dear Raghavendra.

    Thank you for your interest.
    I have downloaded the Uniflash successful.
    I have installed the latest CCS v6 successful.
    I take both of the jumpers correctly. I have read the getting started guide and LP guide.
    I was you able to run any code.,The Out Of Box demo worked fine.
    But my problem was en other.
    I tried the ADC example program. The program did not worked at all.I tried many other example programs too.
    I think that my main difficulty is that I was not able to make running the programs without debug. I want to build the programs release mode ,and load them to the launchpad end after reset running.
    The debug stopped after some some debug step always in an example programs.Best regards George


  • Hi George,

    May be you are aware of the below but just to be sure i understand your problem i am adding this info.
    1. When you download code to CC3200 using CCS or IAR it get's downloaded to RAM and when you reset and run with IAR or CCS it starts executing from there. If you press reset button on the board the contents of RAM are lost and that code will no longer execute.
    2. If the requirement is to run the image on the press of reset button on board then you need to download the program to sflash. This is done using uniflash. So you build the program using CCS you get a .bin output like blinky.bin. Now you program this blinky.bin using uniflash into sflash. this one stays forever.

    Now if you start from section 5.3.2.3 Importing a Project and go up to section 5.3.2.9 Executing a Project in programmers guide. Let's say you do this for a example like blinky. If you do the last line mentioned in 5.3.2.9 Executing a Project "The execution will stop at the main function. Click the “Go” button (or F8) to run.". Now Please answer the below question
    1. Do you see the LED's on the board blinking continuously. If yes then you have successfully run the blinky application. Note that you are not debugging this, this is running as it would run in an end product. Only difference is that you directly downloaded your image to RAM instead of bootloader copying that from sflash to RAM and executing. If you want totally take out the CCS. The built blinky.bin has to be programmed using uniflash.

    When you say "I want to build the programs release mode ,and load them to the launchpad end after reset running" i am assuming you don't want to use CCS to run your program but instead you would just want to build it and generate the .bin and then use uniflash to load your bin file to sflash and start running. If yes the above description should help. In any case i have described both the scenarios above. So note that there is nothing like release mode or debug mode. Yes in projects you sometimes create configurations like debug, release just to enure that you don't put some code meant just for debugging like some prints in the release code.

    Please see if this answers your query.

    Thanks and Regards,
    Siddaram
  • Hi George,

    Did your queries got answered. If yes please press the "Verify Answer" button to close this thread.

    Thanks and Regards,
    Siddaram
  • Dear Siddaram Mathapathi.

    Your answer was interesting.

    I verify your answer. I will press the verify button if I find them.

    George