Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/MSP430F5438A: Switched to CCS 8.0.0.00016 -> no local variables displayed when debugging.

$
0
0

Part Number:MSP430F5438A

Tool/software: Code Composer Studio

Need a little help...

Just switched from CCS v6.3 to

Optimization is set to "None."

Debug info is "On."

Command line in CCS Tool Settings: "${CG_TOOL_GCC}" -c

All Options line in CCS Tool Settings: -mmcu=msp430f5438a -I"C:/ti/ccsv8/ccs_base/msp430/include_gcc" -I"C:/Users/jtaylor/HgWorkspace/TestLocals" -I"C:/ti/ccsv8/tools/compiler/msp430-gcc-6.4.0.32_win32/msp430-elf/include" -O0 -g -gdwarf-3 -gstrict-dwarf -Wall -mlarge -mhwmult=f5series -mcode-region=none -mdata-region=none

Same project working fine in v6.3.

The following code exhibits the same problem and was created in v8.0.0.00016 as a GNU compiler project.

#include <msp430.h> 
#include <stdint.h>

void test(void);

int main(void)
{
  int i     = 0;
  uint8_t k = 255;
  int j, m;

    WDTCTL = WDTPW | WDTHOLD;    // stop watchdog timer
    
    for(i = 0; i < 25; i++)
    {
      k++;
      j = k;
      j++;
      m = j;
      m++;
    }

  test();

    return 0;
}

void test(void)
{
  int i     = 0;
  uint8_t k = 255;
  int j, m;

  WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer

  for(i = 0; i < 25; i++)
  {
    k++;
    j = k;
    j++;
    m = j;
    m++;
  }
}


Viewing all articles
Browse latest Browse all 262198

Trending Articles