This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TM4C123G LaunchPad Problem with Logic Analyzer

I am using the Tiva Series TM4C123G LaunchPad Evaluation Kit "EK-TM4C123GXL" and I have been having issues trying to use Keil Logic analyzer (Keil Uvision 5) for IO output with no success.

As a test, I tried the code below and wanted to view the variable "P" increments and dicreaments but it seems the Logic Analyzer is not responding. The variable "P" can be seen in Watch 1 window changing state.

Could it be that the Logic Analyzer doesn't support TM4C123G LaunchPad?

When I use the simulator instead of the Stellaris ICDI, the debugger comes up with the following error:
"*** error 65: access violation at 0x400FE070 : no 'write' permission".

Thanks in advance.

#include "TM4C123.h"                    // Device header

int P;

int main(void){
        P = 0;
        while (1){
                do{
                P += 0x5;
                }while(P < 0xFF);



                do{
                P -= 0x5;
                }while(P > 0x0);
        }
}