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.

CC2640R2F: Able to program CC2640R2FRHB successfully but the program does not run?

Part Number: CC2640R2F


Hi,

   We have a CC2640R2FRHB based product. I was able to program successfully to our CC2640R2FRHB based product, but the program did not run. I program simple_peripheral and pwm led example program. My steps are below.

  1. Program simple_peripheral and pwm led example program to CC2640R2F Launchpad and see if it works. (Both program works)
  2. Program same simple_peripheral and pwm led example program to CC2640R2FRHB based product and see if it works. (Both program did not work)

    I tried step 2 several times and it did not work. Our setup is CC-DEVPACK-DEBUG connected to our CC2640R2FRHB based product. Using CCS I have tested JTAG connection to our CC2640R2FRHB based product successfully. The SmartRF Flash Programmer 2 shows successful programming to our CC2640R2FRHB based product, but the program does not run or do not work.

    Since, we are using CC2640R2FRHB for our product, are there any changes needed at the program for it to run.

- kel

 

  • Hi,

    Offering my two cents.:-)

    We were having some of the same problems moving from CC2640R2F devboard to the RHB package.

    In our case the code stopped in the PIN_init(); function. And we had to go over the pin setup to have the code run correctly. (CC2640R2_LAUNCHXL.h/.c)

    As well,make sure that you have not made any changes to the memory mapping in the .cmd file. We had one case where the SRAM size hade been changed, this compiled just fine, but the code stopped during/after downloading.

    -VH

  • Hi,

    The simple_peripheral from SDK 1.30 works after I change the predefined symbol CC2640R2_LAUNCHXL to CC2640R2DK_5XD. But, I would like to know the specific reason why it did not work if using CC2640R2 Launchpad board files.

    - kel
  • Hi,

    I debug step the code and it hangs on this code line below, if using the CC2640R2 Launchpad board files. It seems to be the cause of the problem is there are pins being initialized at startup but the pins are wrong or not there.

    dispHandle = Display_open(SBP_DISPLAY_TYPE, NULL);

    - kel