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.

C3200 launchpad hung up due to RAM allocation

Other Parts Discussed in Thread: CC3200

Hi All, 

Recently , i get to play with CC3200 LP on the example application on WLAN_Station. In the example , I try to add in in UIA support (Log_print) by updating the cfg file. 

First during building , the compiler complain about insuffcient memory , so i manual update the cc3200v1p32.cmd  file as below. I rebuild the program , and everything was fine , however when i start running the program, it hang.

kindly advise why is it so.   have check the .map file and do not see any conflict . The memory section i have set is also within 256Kb.....  please help.

MEMORY

{
/* Application uses internal RAM for program and data */
// SRAM_CODE (RWX) : origin = 0x20004000, length = 0x12FFF
// SRAM_DATA (RWX) : origin = 0x20017000, length = 0x19000

// this is what i modified to resolve memory error.

SRAM_CODE (RWX) : origin = 0x20004000, length = 0x14FFF
SRAM_DATA (RWX) : origin = 0x20019000, length = 0x19000
}

  • I have no knowledge about the error nor your used memory area/ranges,

    but it looks like you have increased the start address of SRAM_DATA, but not reduced the length.

    Try the following change:

    SRAM_CODE (RWX) : origin = 0x20004000, length = 0x14FFF
    SRAM_DATA (RWX) : origin = 0x20019000, length = 0x17000

     

  • Hi Martin , 

    Yes, by reducing the length resolve the problem. Thanks. Just curious , does it means that  i have only maximum of 0x2BFFF of SRAM available for me ?  read from the datasheet , it should have 256KB of Internal SRAM available , that is around 0x3E800 .  I do not understand why the addtiional 0x2000 memory will hang my program....

    On this page http://www.ti.com/tool/cc3200-launchxl-rd it states the below

    "CC3200 includes an M4 Core running at 80MHz with flash memory options up to 1MB and RAM options up to 256KB providing flexibility to match your end application."

    lau


  • The CC3200 device on Launch Pad is pre-production device with RAM upto 192Kbyte RAM. The production part will have 256KB RAM.

    The details on difference between pre-production device and production device are captured in details in CC3200 SDKv0.5.2 Release Notes under Errata section.

    Regards,
    Geet

  • Thanks for the clearing things up.

    Regards

    lau