Other Parts Discussed in Thread: MSP430F5528
Hello Everybody!
I wrote a little code to read the ADC12 of my MSP430f5528. Here you can see the code:
ADC12CTL0 = ADC12ON+ADC12MSC+ADC12SHT0_15; // Turn on ADC12,setze sequenz, set sampling time, 15 ist langsamste |
Stand alone, the code works well, but if I include it in my complete programm I get the follwing error, if I run the code in debug mode:
"MSP430: Trouble Reading Memory Block at 0x24400 on Page 0 of Length 0x91: Invalid parameter(s)"
If I run the code anyway, the CPU runs into reset and freezes after it has reached
ADC12CTL0 |= ADC12SC; |
which starts the conversion.
The memory mapping should prevent a jump to an address higher than 0x243FF, cause the memory ends here; but it seems that it is not working correct.
The second weired thing is, that the code works well, stand alone.
Has anybody experience with that issue or any suggestions?
I use CCS 4.2.1.00004 .
Thank you very much!
Steve
I hope this can help you.This is the state right before the error apears.
