-
Notifications
You must be signed in to change notification settings - Fork 0
/
troubleshooting-page.html
349 lines (272 loc) · 17.3 KB
/
troubleshooting-page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
<!doctype html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-159666078-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-159666078-1');
</script>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.com/metrika/tag.js", "ym");
ym(59071672, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.com/watch/59071672" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<title>RemoteMCU - Troubleshooting Page</title>
<meta name="description" content="The known issues, workarounds, and troubleshooting tips. Hopefully the information on this page will help" />
<meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<link rel="canonical" href="troubleshooting-page.html" />
<script type="application/ld+json">{"@context" : "https://schema.org","@type" : "Organization","logo": "https:\/\/remotemcu.com\/images\/logo\/logo_preview.png","name" : "RemoteMCU","url" : "https:\/\/remotemcu.com\/news","sameAs" : ["https:\/\/www.facebook.com\/remotemcu\/", "https:\/\/twitter.com\/@RemoteMcu", "https:\/\/www.youtube.com\/channel\/UCyIDHcMnHFFRS-SznKUZ9ug", "https:\/\/www.linkedin.com\/company\/remotemcu"]}</script>
<meta property="og:url" content="https://remotemcu.com/troubleshooting-page" />
<meta property="og:site_name" content="RemoteMCU" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="article:author" content="https://www.facebook.com/remotemcu/" />
<meta property="article:publisher" content="https://www.facebook.com/remotemcu/" />
<meta property="article:section" content="Troubleshooting" />
<meta property="article:tag" content="issues" />
<meta property="article:tag" content="workarounds" />
<meta property="article:tag" content="troubleshooting" />
<meta property="article:tag" content="tips" />
<meta property="article:tag" content="workarounds" />
<meta property="og:title" content="Troubleshooting Page | REMCU Lib" />
<meta property="og:description" content="The known issues, workarounds, and troubleshooting tips. Hopefully the information on this page will help" />
<meta property="og:image" content="https://raw.githubusercontent.com/remculib/site/master/docs/troubleshooting-page/rasppi_on_the_table.png" />
<meta property="og:image:secure_url" content="https://raw.githubusercontent.com/remculib/site/master/docs/troubleshooting-page/rasppi_on_the_table.png" />
<meta property="fb:pages" content="100628564742383" />
<meta name="twitter:domain" content="remotemcu.com"/>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@RemoteMcu" />
<meta name="twitter:creator" content="@RemoteMcu" />
<meta name="twitter:title" content="Troubleshooting Page | REMCU Lib" />
<meta name="twitter:description" content="The known issues, workarounds, and troubleshooting tips. Hopefully the information on this page will help" />
<meta name="twitter:image:src" content="https://raw.githubusercontent.com/remculib/site/master/docs/troubleshooting-page/rasppi_on_the_table.png" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="apple-touch-icon" href="apple-touch-favicon.png"/>
<!-- Bootstrap core CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="https://getbootstrap.com/docs/4.3/examples/product/product.css" rel="stylesheet">
<link href="css/carousel.css" rel="stylesheet">
<!-- Include EnlighterJS Styles -->
<link rel="stylesheet" type="text/css" href="css/EnlighterJS.min.css" />
<!-- Include MooTools Framework -->
<script type="text/javascript" src="js/MooTools.min.js"></script>
<!-- Include EnlighterJS -->
<script type="text/javascript" src="js/EnlighterJS.min.js" ></script>
<meta name="EnlighterJS" content="Advanced javascript based syntax highlighting" data-indent="4" data-selector-block="pre" data-selector-inline="code" data-language="javascript" />
<script type="text/javascript">
//fix conflict carousel and mootools
window.addEvent('domready', function(){
if (typeof jQuery != 'undefined' && typeof MooTools != 'undefined' )
{
Element.implement({
slide: function(how, mode){
return this;
}
});
}
});
</script>
<style>
/* fix conflict bootstrap dropdown item and mootools */
.nav-item {
display:block !important;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample08" aria-controls="navbarsExample08" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a href="index.html" id="mobilelogo"><img src="images/logo/logo-remcu-mobile.png" srcset="images/logo/logo-remcu-mobile.png 1x, images/logo/logo-remcu-2x-mobile.png 2x" alt="REMCU lib Logo" retina_logo_url="/images/logo/logo-remcu-2x-mobile.png" class="fusion-standard-logo"></a>
<div class="collapse navbar-collapse justify-content-md-center" id="navbarsExample08">
<ul class="navbar-nav">
<li class="nav-item">
<a id="logoblock" href="index.html"><img src="images/logo/logo-remcu.png" srcset="images/logo/logo-remcu.png 1x, images/logo/logo-remcu-2x.png 2x" alt="REMCU lib Logo" retina_logo_url="/images/logo/logo-remcu-2x.png" class="fusion-standard-logo"></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="benefits.html">Benefits</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tutorials.html">Tutorials</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/remotemcu/remcu_examples">Examples</a>
</li>
<li class="nav-item">
<a class="nav-link" href="docs.html">Docs</a>
</li>
<li class="nav-item download-button-item">
<a class="btn btn-lg btn-primary" href="https://github.com/remotemcu/">GitHub</a>
</li>
</ul>
</div>
</nav>
<nav class="displaynone navbar-fixed navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample08" aria-controls="navbarsExample08" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a href="index.html" id="mobilelogo" style="float:right; margin-top: 5px;"><img id="logo" src="images/logo/logo-remcu-mobile.png" srcset="images/logo/logo-remcu-mobile.png 1x, images/logo/logo-remcu-2x-mobile.png 2x" alt="REMCU lib Logo" retina_logo_url="/images/logo/logo-remcu-2x-mobile.png" class="fusion-standard-logo"></a>
<div class="collapse navbar-collapse justify-content-md-center" id="navbarsExample08">
<ul class="navbar-nav">
<li class="nav-item">
<a id="logoblock" href="index.html"><img id="logo" src="images/logo/logo-remcu.png" srcset="images/logo/logo-remcu.png 1x, images/logo/logo-remcu-2x.png 2x" alt="REMCU lib Logo" retina_logo_url="/images/logo/logo-remcu-2x.png" class="fusion-standard-logo"></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="benefits.html">Benefits</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tutorials.html">Tutorials</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/remotemcu/remcu_examples">Examples</a>
</li>
<li class="nav-item">
<a class="nav-link" href="docs.html">Docs</a>
</li>
<li class="nav-item download-button-item">
<a class="btn btn-lg btn-primary" href="https://github.com/remotemcu/">GitHub</a>
</li>
</ul>
</div>
</nav>
<!-- Carousel start -->
<!-- Carousel end -->
<!-- Main content block start -->
<section id="primary" class="content-area bg-light ">
<main id="main">
<!--
<header class="page-header">
<h1 class="page-title text-center">
Troubleshooting Page
</h1>
</header>
-->
<article class="article2 pt-3 px-3 pt-md-5 px-md-5 mx-auto overflow-hidden my-3 p-3">
<header class="entry-header text-center">
<h2 class="entry-title mb-3">Troubleshooting Page</h2>
</header><!-- .entry-header -->
<div class="entry-content">
<!-- wp:paragraph -->
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Note: There are no guarantees about the work with Python 3 for now. We recommend to use <strong>Python 2 </strong> with REMCU Lib.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>If <strong><a href="news/api-v1-0.html">remcu_connect2OpenOCD</a>(...) </strong>or <strong><a href="news/api-v1-0.html">remcu_connect2GDB</a></strong>(...) can not connect to debug server:</p>
<!-- /wp:paragraph -->
<!-- wp:list {"ordered":true} -->
<ol><li>Check that the debug server is running and functioning perfectly. Try to flash a firmware into chip and and debug it.</li><li>Verify all input arguments: <ul><li>Debug server ip.<br> In Windows OS case, use "127.0.0.1" instead of "localhost" if debug server is running on local host.</li><li>Port of debug server</li><li>Timeout is not negative</li></ul></li></ol>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>If <strong><a href="news/api-v1-0.html">remcu_getErrorCount</a>() </strong>function returns value greater than zero:</p>
<!-- /wp:paragraph -->
<!-- wp:list {"ordered":true} -->
<ol><li>Make sure that you have right REMCU Library for your MCU/SoC. For example: you should remcu-<strong>STM32F10X_HD</strong>-... version of the library for <em><a href="https://www.st.com/en/microcontrollers-microprocessors/stm32f103rc.html">STM32F103RC</a></em> chip or other STM32 of high-density performance line family. You can get version with help <strong><a href="news/api-v1-0.html">remcu_getVersion</a>()</strong> function.</li><li>Check debug server connection. You can use <strong><em><a href="news/api-v1-0.html">remcu_isConnected</a>() </em></strong>function for this.</li><li>Verify that the debug server is running and functioning perfectly. Try to flash a firmware into chip and and debug it.</li><li>See <a href="https://github.com/remotemcu/remcu_examples/issues">Issue</a></li></ol>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>If <strong><a href="news/api-v1-0.html">remcu_debuggerTest</a>() </strong>function returns non-null. First, replace your debug server(OpenOCD, ST-link GDB server, Jlink GDB server etc.) and then try to change your debug adapter.</p>
<!-- /wp:paragraph -->
<!-- wp:separator -->
<hr class="wp-block-separator"/>
<!-- /wp:separator -->
<!-- wp:paragraph -->
<p>If bugs are not discovered and the chip don't responds to driver function call or the result of work was not what you expected, you try the suggestions listed below:</p>
<!-- /wp:paragraph -->
<!-- wp:list {"ordered":true} -->
<ol><li>Make sure that you have right REMCU Library for your MCU/SoC. For example: you should remcu-<strong>STM32F10X_HD</strong>-... version of the library for <em><a href="https://www.st.com/en/microcontrollers-microprocessors/stm32f103rc.html">STM32F103RC</a></em> chip or other STM32 of high-density performance line family. You can get version with help <strong><a href="https://remotemcu.com/api-v1-0d">remcu_getVersion</a>()</strong> function.</li><li>Verify that the debug server is running and functioning perfectly. Try to flash a firmware into chip and debug it.</li><li>Get another <a href="https://github.com/ilg-archived/openocd/releases">Openocd version</a> (later or equal <em>v0.10.0-11-20190118</em>)</li><li>Use ST-link GDB server (from <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://atollic.com/truestudio/" target="_blank">Atollic IDE</a>) instead of Openocd and vice-versa</li><li>Use Jlink with <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://www.segger.com/products/debug-probes/j-link/tools/j-link-gdb-server/about-j-link-gdb-server/" target="_blank">Jlink GDB server</a> if you have it.</li><li>Check your device. Is the MCU board in good condition?</li><li>Verify work of these functions by running firmware with that code on the chip. Make sure that the work is correct.</li><li>See <a href="https://github.com/remotemcu/remcu_examples/issues">Issue</a> </li></ol>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>If you use REMCU Lib on Raspberry Pi Board (see <a href="https://github.com/remotemcu/remcu_examples/tree/master/STM32F103RCT6">examples</a>) and you were faced with some problems:</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul><li>Verify wire connection</li>
<li>Check GPIO pins of Raspberry. Is they in working order?
Try to toggle theirs . <a href="https://elinux.org/RPi_GPIO_Code_Samples">Snippet</a></li>
<details><summary> Show scheme <b> (click here)</b></summary><img src="https://raw.githubusercontent.com/remculib/site/master/docs/troubleshooting-page/scheme.png"><img src="https://raw.githubusercontent.com/remculib/site/master/docs/troubleshooting-page/rasppi_on_the_table.png"></details><li>Check your device. Is the MCU board in good condition?</li></ul>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
</div><!-- .entry-content -->
<footer class="entry-footer">
</footer><!-- .entry-footer -->
</article><!-- #post-${ID} -->
</main><!-- #main -->
</section><!-- #primary -->
<!-- Main content block end -->
<footer class="container py-5">
<div class="row">
<div class="col-12 col-md">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="d-block mb-2" role="img" viewBox="0 0 24 24" focusable="false"><title>Product</title><circle cx="12" cy="12" r="10"/><path d="M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83m13.79-4l-5.74 9.94"/></svg>
<small class="d-block mb-3 text-muted">Copyright © 2020<br>All Rights Reserved. </small>
</div>
<div class="col-6 col-md">
<h5>RMCU lib</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="troubleshooting-page.html#">Benefits of library</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Resources</h5>
<ul class="list-unstyled text-small">
<li><a class="dropdown-item" href="https://remotemcu.com/tutorial">Tutorial</a></li>
<li><a class="dropdown-item" href="https://github.com/remotemcu/remcu_examples" target=“_blank” >Examples</a></li>
<li><a class="dropdown-item" href="docs.html">Docs</a></li>
</ul>
</div>
<div class="col-6 col-md" style="margin-right: 20px">
<h5>General contact:</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="https://ser-mk.github.io/#">ser-mk</a></li>
</ul>
</div>
<div class="col-6 col-md" style="min-width: 250px !important;">
<h5>Follow us</h5>
<a class="social_icon" target="_blank" href="https://www.linkedin.com/company/remotemcu"><img src="images/social_networks_logos/linkedin.png" alt="LinkedIn"></a>
<!--<a class="social_icon" target="_blank" href="https://www.hackster.io/remotemcu"><img src="/images/social_networks_logos/hackster.png" alt="Hackster"></a>
-->
<a class="social_icon" target="_blank" href="https://github.com/remotemcu/"><img src="images/social_networks_logos/github.png" alt="Github"></a>
<a class="social_icon" target="_blank" href="https://www.youtube.com/channel/UCyIDHcMnHFFRS-SznKUZ9ug"><img src="images/social_networks_logos/youtube.png" alt="Youtube"></a>
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="https://getbootstrap.com/docs/4.3/assets/js/vendor/jquery-slim.min.js"><\/script>')</script><script src="https://getbootstrap.com/docs/4.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o" crossorigin="anonymous"></script>
<script>
$(window).scroll(function(){
var menu = $('.navbar'),
logo = $('#logo'),
scroll = $(window).scrollTop(),
menu_fixed = $('.navbar-fixed')
;
if (scroll >= 400) {
menu_fixed.fadeIn();
}
else {
menu_fixed.fadeOut();
}
});
</script>
</body>
</html>