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

MSP430G2553 Point type variable runing issue in diffrence chip

$
0
0

Hi,

I met a critical issue of MSP430G2553, the detail as below, any body can help me to analyse it? thanks very much..

Processor:MSP430G2553

Compiler:IAR Assembler for MSP430  5.30.1 (5.30.1.50284)

Iusse describe:

           the issue is I used a point type variable in function to transmit parameter, the same code runing into two difference chips,the one is runing normal, but another is not well.  

         picture1's result is I debug on fault board, according to result I can't find out any error. but the datas are wrong when I via UART print out them as picture2. we deep find these datas in memory address ox34c(as picture 3), the correct address is 0x24c(as picture 4)

picture 1:(fault board)debug,buf point address and data are all correct

Picture2:but the datas are wrong of UART print out.

Picture3

 

Picture4

Picture5:(fault board)Via temp variable to read out the data and address of buf, the buf address and data are correct (but the real value is wrong via UART print out ) (data in Picture 5  and address in picture6)。

Picture6


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>