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.

CC3000 + MSP430G2553 (Launchpad) - Email?

Other Parts Discussed in Thread: MSP430G2553, MSP430FR5739

Hi

Will it be possible for me to port the Simple Email Application to the MSP430G2553/Launchpad, or is there something fundamental about this chip which means that it won't support it?

Thanks

  • Hi Alex,

    I'm not sure the reason we don't have the email application for the Launchpad, but my guess is that it's simply because we haven't had the time to try :)

    So as far as I know, there is no fundamental limitation of that particular MSP430. You will just have to check the memory available, etc and see if it will work.

     

    Regards,

    Aaron

  • Hi,

    i have been working on the same question, and I came to the conclussion that the reason why the email demo is not supported by the MSP430G2553 on MSP-EXP430G2 is that because it requires more RAM space.

    Compiling the Simple Email demo for MSP430FR5739 from SDK v1.11 as is using the IAR compiler, I get the following result in the map file:

     11 236 bytes of CODE  memory
      2 022 bytes of DATA  memory (+ 88 absolute )
        904 bytes of CONST memory

    So it is clear the the application needs around 2KB  RAM for data memory, and the MSP430G2553 has only 512 bytes of RAM. On MSP430FR5739 however there is 1 KB SRAM, and it also assigns some part of the FRAM as data memory. This can be seen that in the linker option, the project includes a application modified linker configuration file: $PROJ_DIR$\EmailApplication_lnk430fr5739.xcl. And looking into this file, it can be seen that there is memory segment starting at address 0xC200which is assigned as data memory:

    // -----------------------------------------------
    // Read/write memory
    //
    
    -Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=1C00-1FFF
    -Z(DATA)CODE_I
    -Z(DATA)CSTACK+_STACK_SIZE#
    -Z(DATA)FRAM_DATA=C200-C606 

    I tried also to port the simple email demo to MSP430G2553 by changing mainly the SPI code, HyperterminalDriver, board source files, etc, and I got the following error message

    Linking 
    Error[e16]: Segment DATA16_N (size: 0x354 align: 0) is too long for segment definition. At least 0x198 more bytes needed. The problem  
    occurred while processing the segment placement command  
    "-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=1C00-1FFF", where at the moment of placement  
    the available memory ranges were "CODE:1e44-1fff" 
       Reserved ranges relevant to this placement: 
       1c00-1c19            DATA16_I 
       1c1a-1fff            DATA16_Z 
    Error while running Linker