AnsweredAssumed Answered

Use DBG_vPrintf() with IEEE 802.15.4 Application

Question asked by Alberto Gallegos on Jun 18, 2020
Latest reply on Jun 21, 2020 by Alberto Gallegos

Hi, I simply trying to print into a terminal  using DBG_vPrint  I have tried so many combinations

but no matter what I cant get the uart to print into a terminal.

 

I am using a JN-5169 dongle with BeyondStudio.

And I modified the JN-AN-1174 template  (IEEE 802.15.4 Application Template for JN516x) end device file and makefile.

The files compile fine and the resulting bin can be loaded into the jn5169 dongle.

 

I attached these modified files to this message.

I am doing the print call in:

 

PUBLIC void AppColdStart(void)
{
/* Disable watchdog if enabled by default */
#ifdef WATCHDOG_ENABLED
vAHI_WatchdogStop();
#endif


vInitSystem();


DBG_vUartInit(DBG_E_UART_1, DBG_E_UART_BAUD_RATE_115200);

// vStartActiveScan();

while (1)
{

DBG_vPrintf(TRUE,"Hello");
// vProcessEventQueues();

}
}

 

 

The issue must be something related to my makefile or am I using this UART function incorrectly?

Any help would be much appreciated.

Attachments

Outcomes