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.

CC3220SF-LAUNCHXL: Code not running on CC3220SF-LaunchXL after flashing

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF, ENERGIA, UNIFLASH, CC3200

Hi,

I am trying to interface fingerprint sensor R307 with CC3220SF launchpad. The sensor works on UART communication, I am using hardware uart for communiction.

I have got the library for R307 from  .

This code get complied without errors in  Energia. I am using energia version 1.6.10E18. I can able to upload and see the working in serial monitor.

When I reset the board, code doesn't run again. I don't know wheather the code get burned of flash or not. I have tried removing the SOP jumper and tried to reset. Still the code didn't run.

Then I tried importing this energia sketch into code composer (version 8). All the codes and libraries got imported , I can able to build without any errors. When I try to debug the code works good.

Then I burned the code using Uniflash (version 4.5.0.2056).  Then after resetting, I don't see the code running. During running the code will print the logs in UART. I have tried the bin from both debug and release folders under project.

I have attached the image of launchpad to verify the jumper setting. What could be the issue?

Can any one please guide me on this.

Thanks

JanSom

  • Hi JanSom,

    It is know issue of the Energia that BIN file is not working after uploading by Uniflash software at CC3220SF. For this purpose you need to use this trick - e2e.ti.com/.../2495478

    I am not sure why you not able run code compiled by CCS at CC3220SF. Did you follow chapter 2.4 of this guide - www.ti.com/lit/ug/swru461b/swru461b.pdf?

    Your jumpers settings looks OK.

    Jan
  • Hi Hnz,

    I will look into the Energia fix an try it.

    Regarding swru416b document, Yes, I have followed the steps expect I dint burn dummy certificates. I just burned bin file only.

    Does that affect non wifi application also?

    Thanks for your response.

    Regards,

    JanSom

  • Hi JanSom,

    Yes, all described steps are mandatory. In case you not follow this steps your application code will not be loaded by ROM bootloader regardless WiFi is/is not used.

    Jan
  • OK, I will follow the steps and try it.

    Thanks HnZ
  • Hi HnZ,

    Your code for mcu file works great on CC3220SF. I have some issues in Hardware serial communication,if this is known issue please let me know.
    I am trying to find a way around to work it out.
    Anyway your code is a great way to work on CC3220SF using energia.

    Thanks

    JanSom
  • Hi JanSom,

    I am not aware about any issue with UART. At your jumper configuration (image above) you have UART connected to Application/UART from XDS-110.

    Jan
  • I am using Serial1 for communication with sensor and Serial to print logs on serial terminal. The same code work well with CC3200, but that doesn't communicate with sensor on CC3220SF.

    Is there any thing I have to do to get Serial1 communication to work on CC3220SF?

    Thanks

    JanSom
  • Hi JanSom,

    Sorry, I am not sure. I think your issue is related to hardware of LP or hardware configuration itself. Hardware peripheral at the CC3200 and CC3220 chips are exact same.

    Jan
  • Hi Jan,

    Thanks for your support, I will check on those UART using CCS.

    Regards,

    JanSom

  • Hi Jan,

    Just an update on my issues. I figured out that Serial1 on CC3200 uses PIN_01 & 02 but in CC3220SF, Serial1 uses PIN_04 and PIN_03.

    I thought it might be useful for someone who's going to use two serial communication.

    Thanks & Regrads,

    JanSom