ccjklppp
Newbie level 1
Hello, I'm using IAR C/C++ Compiler for MSP430 5.10.1 (5.10.1.50144)
with the MSP430F2617 MCU.
I have a problem when using pointers:
when i try to debug the program with the following part of code, the debugger "hangs" (it takes a while till the iar changes to debug mode and then i don't have any option available accept 'stop debugging' "
the problematic part:
however, when i'm using only one command:
the debugger works fine.
what could be the reason?
with the MSP430F2617 MCU.
I have a problem when using pointers:
when i try to debug the program with the following part of code, the debugger "hangs" (it takes a while till the iar changes to debug mode and then i don't have any option available accept 'stop debugging' "
the problematic part:
char pic0[2500], pic1[2500], *pic_rd, *pic_wrt;
pic_rd = pic0;
pic_wrt = pic1;
however, when i'm using only one command:
orchar pic0[2500], pic1[2500], *pic_rd, *pic_wrt;
pic_rd = pic0;
char pic0[2500], pic1[2500], *pic_rd, *pic_wrt;
pic_wrt = pic1;
the debugger works fine.
what could be the reason?