<?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[OpenIMU330BI Debug error]]></title><description><![CDATA[<p>Hello, Aceinna.</p>
<p>Now, we are trying to debug the code on the OpenIMU330BI.</p>
<p>Building the code is success. Because, we used the original code downloaded from the Aceinna's platform IO (imu330).</p>
<p>However, the debugging process stopped, and showed error message as below figure.</p>
<p>&lt;Debug Console&gt;<br />
<img src="https://navview.blob.core.windows.net/forum/upload/e360c2f8-4d7b-4aad-938a-c43e4198dc47-image-lky36433.png" alt="e360c2f8-4d7b-4aad-938a-c43e4198dc47-image.png" class="img-responsive img-markdown" /></p>
<p>&lt; Terminal &gt;<br />
<img src="https://navview.blob.core.windows.net/forum/upload/3f49666a-1ea8-45be-8f47-9c79795c7cf9-image-lky34g0d.png" alt="3f49666a-1ea8-45be-8f47-9c79795c7cf9-image.png" class="img-responsive img-markdown" /></p>
<p>Could you let us how to configure this problem?<br />
This is our setup. We used STLINK V2.0<br />
<img src="https://navview.blob.core.windows.net/forum/upload/ff0f999a-36bf-4737-bb80-2b182f670e84-image-lky39nvb.png" alt="ff0f999a-36bf-4737-bb80-2b182f670e84-image.png" class="img-responsive img-markdown" /></p>
<p>This is the code we used was downloaded via Aceinna Platform IO as below figure.<br />
<img src="https://navview.blob.core.windows.net/forum/upload/fcb093a6-4657-4ed2-9964-96c25da5393e-image-lky3di13.png" alt="fcb093a6-4657-4ed2-9964-96c25da5393e-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//topic/399/openimu330bi-debug-error</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 11:06:11 GMT</lastBuildDate><atom:link href="https://forum.aceinna.com//topic/399.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Aug 2023 14:10:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenIMU330BI Debug error on Sat, 05 Aug 2023 14:10:16 GMT]]></title><description><![CDATA[<p>Hello, Aceinna.</p>
<p>Now, we are trying to debug the code on the OpenIMU330BI.</p>
<p>Building the code is success. Because, we used the original code downloaded from the Aceinna's platform IO (imu330).</p>
<p>However, the debugging process stopped, and showed error message as below figure.</p>
<p>&lt;Debug Console&gt;<br />
<img src="https://navview.blob.core.windows.net/forum/upload/e360c2f8-4d7b-4aad-938a-c43e4198dc47-image-lky36433.png" alt="e360c2f8-4d7b-4aad-938a-c43e4198dc47-image.png" class="img-responsive img-markdown" /></p>
<p>&lt; Terminal &gt;<br />
<img src="https://navview.blob.core.windows.net/forum/upload/3f49666a-1ea8-45be-8f47-9c79795c7cf9-image-lky34g0d.png" alt="3f49666a-1ea8-45be-8f47-9c79795c7cf9-image.png" class="img-responsive img-markdown" /></p>
<p>Could you let us how to configure this problem?<br />
This is our setup. We used STLINK V2.0<br />
<img src="https://navview.blob.core.windows.net/forum/upload/ff0f999a-36bf-4737-bb80-2b182f670e84-image-lky39nvb.png" alt="ff0f999a-36bf-4737-bb80-2b182f670e84-image.png" class="img-responsive img-markdown" /></p>
<p>This is the code we used was downloaded via Aceinna Platform IO as below figure.<br />
<img src="https://navview.blob.core.windows.net/forum/upload/fcb093a6-4657-4ed2-9964-96c25da5393e-image-lky3di13.png" alt="fcb093a6-4657-4ed2-9964-96c25da5393e-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/1546</link><guid isPermaLink="true">https://forum.aceinna.com//post/1546</guid><dc:creator><![CDATA[JCW]]></dc:creator><pubDate>Sat, 05 Aug 2023 14:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to OpenIMU330BI Debug error on Sun, 06 Aug 2023 05:53:10 GMT]]></title><description><![CDATA[<p>Hello, Aceinna.</p>
<p>Fortunately, we succeeded in uploading the bin file to the 330bi through the ST Link Utility.</p>
<p>However, one final barrier remains.</p>
<p>I want to receive Roll and Pitch values ​​as well as Acceleration and Gyro from the 330BI. However, there are no roll and pitch values ​​in the z1 packet.</p>
<p>So, I am testing it simply by entering the roll and pitch values ​​into the Mag_x and Max_y values using below code.</p>
<hr />
<p>BOOL Fill_z1PacketPayload(uint8_t *payload, uint8_t *payloadLen)<br />
{<br />
uint64_t tstamp;<br />
double accels[NUM_AXIS];<br />
double mags[NUM_AXIS];<br />
double rates[NUM_AXIS];<br />
real EulerAngles[NUM_AXIS];</p>
<pre><code>data1_payload_t *pld = (data1_payload_t *)payload;  
</code></pre>
<p>//  tstamp = platformGetDacqTimeStamp();          // time stamp of last sensor sample in microseconds from system start<br />
tstamp = platformGetCurrTimeStamp();            // current time stamp in microseconds from system start<br />
//  tstamp /= 1000;                                 // convert to miliseconds<br />
//  timer  = getSystemTime();                       // OS timer value (tick defined in FreeRTOSConfig.h)<br />
pld-&gt;timer = tstamp;</p>
<pre><code>EKF_GetAttitude_EA(EulerAngles);
GetAccelData_mPerSecSq(accels);
GetRateData_degPerSec(rates);
GetMagData_G(mags);

for (int i = 0; i &lt; NUM_AXIS; i++){
    pld-&gt;accel_mpss[i] = (float)accels[i];
    pld-&gt;rate_dps[i] = (float)rates[i];
    //pld-&gt;mag_G[i] = (float)mags[i];
}
pld-&gt;mag_G[0]    = (float)EulerAngles[ROLL];
pld-&gt;mag_G[1]    = (float)EulerAngles[PITCH];
*payloadLen = sizeof(data1_payload_t);
return TRUE;
</code></pre>
<h2>}</h2>
<p>However, when we get the EulerAngles[ROLL] and EulerAngles[PITCH], those values were zero....................................................<br />
How to get the slope data from the 330BI?????</p>
]]></description><link>https://forum.aceinna.com//post/1547</link><guid isPermaLink="true">https://forum.aceinna.com//post/1547</guid><dc:creator><![CDATA[JCW]]></dc:creator><pubDate>Sun, 06 Aug 2023 05:53:10 GMT</pubDate></item></channel></rss>