Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 66738

Forum Post: RE: Is this happening because of a silicon BUG?

$
0
0
[quote user="FAB63476"]Somehow, the GIE bit is being disabled.[/quote]I was wondering if the MSP430 Enhanced Emulation Module (EEM) could be used to find the instruction which is unexpectedly clearing the GIE bit. A watchpoint can be configured to Trigger Storage on a write the Status Register which has the GIE bit clear: The above causes the address bus to be sampled when an instruction which writes to the Status Register with the GIE bit clear, such that the address of 2 instructions after the DINT is stored. However, a limitation of the MSP430 State Storage is that only 8 entries can be stored. and when store on trigger always stops when the trace buffer is full: i.e. when the program hangs may be difficult to get the trace storage to contain the writes to the Status Register immediately prior to the hang.

Viewing all articles
Browse latest Browse all 66738

Trending Articles



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