<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Debug port]]></title><description><![CDATA[<p>Dear friends,</p>
<p>I have a problem on my openimu300zi , there is no output on debug port at 230400bps baudrate , I have changed the debug port's baudrate to 115200bps in source code too but no difference.</p>
<p>Do I need to enable debug outputs in source code or its already enabled, I have to calibrate my magnet but there is no output on debug port.</p>
<p>Please let me know if I need to do anything in the source code.<br />
I am using vg/ahrs app.</p>
<p>Regards,<br />
Amin.</p>
]]></description><link>https://forum.aceinna.com//topic/273/debug-port</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 05:16:21 GMT</lastBuildDate><atom:link href="https://forum.aceinna.com//topic/273.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 May 2021 08:19:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Debug port on Mon, 17 May 2021 08:19:42 GMT]]></title><description><![CDATA[<p>Dear friends,</p>
<p>I have a problem on my openimu300zi , there is no output on debug port at 230400bps baudrate , I have changed the debug port's baudrate to 115200bps in source code too but no difference.</p>
<p>Do I need to enable debug outputs in source code or its already enabled, I have to calibrate my magnet but there is no output on debug port.</p>
<p>Please let me know if I need to do anything in the source code.<br />
I am using vg/ahrs app.</p>
<p>Regards,<br />
Amin.</p>
]]></description><link>https://forum.aceinna.com//post/1136</link><guid isPermaLink="true">https://forum.aceinna.com//post/1136</guid><dc:creator><![CDATA[Amin]]></dc:creator><pubDate>Mon, 17 May 2021 08:19:42 GMT</pubDate></item><item><title><![CDATA[Reply to Debug port on Tue, 18 May 2021 00:53:16 GMT]]></title><description><![CDATA[<p>could you show where and what is your new updated codes?<br />
what did you do for calibrate magnet? steps in your side.</p>
]]></description><link>https://forum.aceinna.com//post/1137</link><guid isPermaLink="true">https://forum.aceinna.com//post/1137</guid><dc:creator><![CDATA[cek]]></dc:creator><pubDate>Tue, 18 May 2021 00:53:16 GMT</pubDate></item><item><title><![CDATA[Reply to Debug port on Wed, 19 May 2021 06:50:26 GMT]]></title><description><![CDATA[<p>the code is 20011-193813-VG_AHRS I did not updated it recently.</p>
<p>the only change to the original code was:</p>
<p>in main.c file</p>
<p>and a hello world message in main.c file before freertos kernel start</p>
<pre><code>// Apply factory configuration
platformInitConfigureUnit(); 

// Apply user-chosen configuration
userInitConfigureUnit(); 

// Initialize OS and create required tasks
CreateTasks();

// Initialize the DEBUG serial port
DebugInterfaceInit();
DebugPrintString((char*)&quot;HelloWorld\r\n&quot;); // &lt;----- 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
</code></pre>
<p>osKernelStart();</p>
<p>void DebugInterfaceInit(void)<br />
{<br />
char status[100];</p>
<pre><code>if(fSPI &amp;&amp; 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 // &lt;---- I was changed the baudrate of debug port to 115200 here
DebugPrintString((char*)&quot;from debug port\r\n&quot;);

BoardGetResetStatus(status, sizeof(status));
</code></pre>
<p>//    ERROR_STRING(status);<br />
}</p>
<p>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.<br />
I'm using this pins ( 17 , 19 )</p>
<p><img src="https://navview.blob.core.windows.net/forum/upload/debug-kov3vjpd.jpg" alt="debug.jpg" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/1138</link><guid isPermaLink="true">https://forum.aceinna.com//post/1138</guid><dc:creator><![CDATA[Amin]]></dc:creator><pubDate>Wed, 19 May 2021 06:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to Debug port on Tue, 29 Jun 2021 17:00:58 GMT]]></title><description><![CDATA[<p>Hello, I'm waiting your answer, I need to calibrating heading for my project.</p>
<p>Best regards<br />
Amin</p>
]]></description><link>https://forum.aceinna.com//post/1157</link><guid isPermaLink="true">https://forum.aceinna.com//post/1157</guid><dc:creator><![CDATA[Amin]]></dc:creator><pubDate>Tue, 29 Jun 2021 17:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to Debug port on Wed, 30 Jun 2021 10:43:15 GMT]]></title><description><![CDATA[<p>hi, Amin. working well in my side, and my steps:</p>
<ol>
<li>download codes VG_AHRS 1.1.3 from VSCODE<br />
2.update codes and keep same with you.</li>
<li>compile the new BIN and uploaded it to 300ZI.</li>
<li>keep EVK board connected with PC, 4 ports detected in pc, like: com51/52/53/54</li>
<li>connected COM52 with 230400 by serial tool uart-assistant, and open the port, waiting</li>
<li>keep power on EVK board.</li>
<li>take off(disconnect) 300RI and connect 300RI to EVK board again, uart-assistant will receive<br />
&quot;from debug port<br />
HelloWorld&quot;</li>
</ol>
]]></description><link>https://forum.aceinna.com//post/1163</link><guid isPermaLink="true">https://forum.aceinna.com//post/1163</guid><dc:creator><![CDATA[cek]]></dc:creator><pubDate>Wed, 30 Jun 2021 10:43:15 GMT</pubDate></item><item><title><![CDATA[Reply to Debug port on Wed, 30 Jun 2021 10:01:03 GMT]]></title><description><![CDATA[<p><img src="https://navview.blob.core.windows.net/forum/upload/16b61e20-d98f-4422-a30f-2382d1e035c9-image-kqjb6j73.png" alt="16b61e20-d98f-4422-a30f-2382d1e035c9-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/1164</link><guid isPermaLink="true">https://forum.aceinna.com//post/1164</guid><dc:creator><![CDATA[cek]]></dc:creator><pubDate>Wed, 30 Jun 2021 10:01:03 GMT</pubDate></item></channel></rss>