the code is 20011-193813-VG_AHRS I did not updated it recently.
the only change to the original code was:
in main.c file
and a hello world message in main.c file before freertos kernel start
// Apply factory configuration
platformInitConfigureUnit();
// Apply user-chosen configuration
userInitConfigureUnit();
// Initialize OS and create required tasks
CreateTasks();
// Initialize the DEBUG serial port
DebugInterfaceInit();
DebugPrintString((char*)"HelloWorld\r\n"); // <----- here is a hello world message on debug port, but nothing shows up on debug port
//InitTimer_Watchdog( ENABLE );
// Start Running the tasks...
// Start scheduler
osKernelStart();
void DebugInterfaceInit(void)
{
char status[100];
if(fSPI && fGPS){
return; // no resources
}
int debugChannel = platformGetSerialChannel(DEBUG_SERIAL_PORT);
if(debugChannel == UART_CHANNEL_NONE){
//nothing to do
return;
}
// Initialize the DEBUG USART (serial) port
InitDebugSerialCommunication(230400); // debug_usart.c // <---- I was changed the baudrate of debug port to 115200 here
DebugPrintString((char*)"from debug port\r\n");
BoardGetResetStatus(status, sizeof(status));
// ERROR_STRING(status);
}
I was sent 0x55 0x55 0x6D 0x61 0x01 0x07 0x81 0xC9 bytes on user port ( the port that receiving output data through that ), I expected to receive some information on the debug port, but nothing. I am sure that its not wiring problem.
I'm using this pins ( 17 , 19 )