This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Trouble with UARTMon

Expert 1255 points

hi

i am using ccsv6.1.3   tirtos_tivac_2_16_01_14    on   DK-TM4C129X ( TM4C129XNCZAD MCU)   windows7

I went through ti-rtos user guide chapter6-TI-RTOS Utilities(abt UARTMon)

I made a simply rtsc project with  a task that blinks an led and a variable that increments with each toggle in the this task.

#include <xdc/std.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/drivers/GPIO.h>
#include <ti/drivers/UART.h>
#include "Board.h"
#include <stdint.h>
int count=0;
void led(void)
{
    while (1) {
    	Task_sleep(1000);
    	count++;
        GPIO_toggle(Board_LED0);
    }
}
void main(void)
{
    Board_initGeneral();
    Board_initGPIO();
    Board_initUART();
    BIOS_start();
}

I want to access this variable (count) over the uart with uartmon module.

I followed the steps mentioned in the document-BUT in the debug configuration window the .ccxml file i created doesnot appear.

its said in the doc:

(If your target configuration file is not listed under the Device
Debugging category, close this dialog, launch the target configuration, and then re-open the Debug
Configuration dialog to cause the new target configuration to be listed.)

What does it mean to launch and how is it done?

 

thanks

  • Hi a.v,

    To launch the target configuration the first time (so that it will show up in that device debugging view)… in the top-level CCS menu, select View->Target Configurations.  Under the “User Defined” folder, find the new .ccxml file you created, right click on it, and select “Launch Selected Configuration” in the pop up menu.  For example:



    This will launch the debugger using your new .ccxml file.  Once launched, you can terminate the debug session, and then go back and do the “Debug Configuration” steps listed in the user’s guide.

    Regards,
    Scott