<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[EmBitz - Using EBlink]]></title>
		<link>https://www.embitz.org/forum/</link>
		<description><![CDATA[EmBitz - https://www.embitz.org/forum]]></description>
		<pubDate>Tue, 19 May 2026 05:41:03 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How to debug EBlink scripts]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=227</link>
			<pubDate>Fri, 16 May 2025 07:04:49 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=1">embitz</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=227</guid>
			<description><![CDATA[EBlink version 6.00 and beyond, does support Squirrel script debugging and tracing.<br />
<br />
To use the script debugger, place EBlink in verbose level 7 (debug info) for function level debugging or level 8 (trace info) for line level debugging. <br />
For verbose levels below 7, debugging is turned off and script breakpoints are ignored.<br />
<br />
Invocation:<br />
Debug level e.g.  <span style="font-weight: bold;" class="mycode_b">./eblink -v7 -G </span><br />
Trace   level e.g. <span style="font-weight: bold;" class="mycode_b"> ./eblink -v8 -G</span><br />
<br />
<br />
Example of breakpoint in script:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>    foreach(arch in STMICRO)<br />
      if(arch[0] == targetApi.getCpuName()){<br />
          foreach(addr in arch[1]) {<br />
              try{ <br />
                   devReg = intrfApi.read(addr)<br />
                   brkPt()                &lt;----------- Breakpoint<br />
                   if(devReg) break<br />
              }<br />
              catch(e){}<br />
          }</code></div></div><br />
If the program is halted, all the local variables are printed and the user get the option to: Single-step, step-out,  until exception or step to the end of current function<br />
If the execution is <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">main </span></span>this means that the script file itself (no functions) is handled.<br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-style: italic;" class="mycode_i">Example output debug level ( cli switch -v7 ) </span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Search script auto.script in path: f:\software\EBlink\scripts<br />
Script found: auto.script<br />
Squirrel debug                          main&copy;[9]    {auto.script}<br />
Squirrel debug                          main&reg;[42]    {auto.script}<br />
Squirrel debug                        ebMain&copy;[22]    {auto.script}<br />
Search script atmel.script in path: f:\software\EBlink\scripts<br />
Script found: atmel.script<br />
Squirrel debug                          main&copy;[13]    {atmel.script}<br />
Squirrel debug                          main&reg;[154]  {atmel.script}<br />
Squirrel debug                    findDevice&copy;[59]    {atmel.script}<br />
Squirrel debug                    findDevice(e)[105]  {atmel.script}<br />
Squirrel debug                    findDevice&reg;[105]  {atmel.script}<br />
Search script stm32.script in path: f:\software\EBlink\scripts<br />
Script found: stm32.script<br />
Squirrel debug                          main&copy;[17]    {stm32.script}<br />
Squirrel debug                          main&reg;[167]  {stm32.script}<br />
Squirrel debug                    findDevice&copy;[90]    {stm32.script}<br />
STmicro device : 0x413<br />
Search script stmicro/stm32f4.script in path: f:\software\EBlink\scripts<br />
Script found: stmicro/stm32f4.script<br />
Squirrel debug                          main&copy;[8]    {stmicro/stm32f4.script}<br />
Squirrel debug                          main&reg;[166]  {stmicro/stm32f4.script}<br />
Squirrel debug                  stm32_device&copy;[111]  {stmicro/stm32f4.script}<br />
STmicro family : STM32F4x5/4x7<br />
Detected FLASH : 1024KB<br />
Configured RAM : 192KB<br />
Search script stmicro/flash/f7_f4_f2.script in path: f:\software\EBlink\scripts<br />
Script found: stmicro/flash/f7_f4_f2.script<br />
Squirrel debug                          main&copy;[10]    {stmicro/flash/f7_f4_f2.script}<br />
Squirrel debug                          main&reg;[350]  {stmicro/flash/f7_f4_f2.script}<br />
Squirrel debug                  stm32_device&reg;[166]  {stmicro/stm32f4.script}<br />
Squirrel debug                    findDevice&reg;[114]  {stm32.script}<br />
Squirrel debug                        ebMain&reg;[27]    {auto.script}</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">&copy; = called function start</span><br />
<span style="font-weight: bold;" class="mycode_b">&reg; = return current function</span><br />
<span style="font-weight: bold;" class="mycode_b">(e) = exception</span><br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Example output trace level ( cli switch -v8)</span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Required script load: atmel.script<br />
Search script atmel.script in path: f:\software\EBlink\scripts<br />
Script found: atmel.script<br />
Squirrel trace                          main&copy;[13]    {atmel.script}<br />
Squirrel trace                          main(l)[13]    {atmel.script}<br />
Squirrel trace                          main(l)[14]    {atmel.script}<br />
Squirrel trace                          main(l)[15]    {atmel.script}<br />
Squirrel trace                          main(l)[17]    {atmel.script}<br />
Squirrel trace                          main(l)[20]    {atmel.script}<br />
Squirrel trace                          main(l)[21]    {atmel.script}<br />
Squirrel trace                          main(l)[22]    {atmel.script}<br />
Squirrel trace                          main(l)[24]    {atmel.script}<br />
Squirrel trace                          main(l)[30]    {atmel.script}<br />
Squirrel trace                          main(l)[58]    {atmel.script}<br />
Squirrel trace                          main(l)[119]  {atmel.script}<br />
Squirrel trace                          main(l)[154]  {atmel.script}<br />
Squirrel trace                          main&reg;[154]  {atmel.script}<br />
Squirrel trace                        ebMain(l)[26]    {auto.script}<br />
Squirrel trace                    findDevice&copy;[61]    {atmel.script}<br />
Squirrel trace                    findDevice(l)[61]    {atmel.script}<br />
Squirrel trace                    findDevice(l)[66]    {atmel.script}<br />
Squirrel trace                    findDevice(l)[105]  {atmel.script}<br />
Squirrel trace                    findDevice(e)[105]  {atmel.script}<br />
Squirrel trace                    findDevice&reg;[105]  {atmel.script}<br />
Squirrel trace                        ebMain(l)[31]    {auto.script}<br />
Squirrel trace                        ebMain(l)[34]    {auto.script}<br />
Squirrel trace                        ebMain(l)[24]    {auto.script}<br />
Squirrel trace                        ebMain(l)[25]    {auto.script}</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">&copy; = called function start</span><br />
<span style="font-weight: bold;" class="mycode_b">&reg; = return current function</span><br />
<span style="font-weight: bold;" class="mycode_b">(e) = exception</span><br />
<span style="font-weight: bold;" class="mycode_b">(l)  = script line</span><br />
<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Example output breakpoint hit</span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Squirrel trace                    findDevice(l)[99]    {stm32.script}<br />
Squirrel trace                    findDevice(l)[99]    {stm32.script}<br />
Squirrel trace                    findDevice(l)[100]  {stm32.script}<br />
Squirrel trace                    findDevice(l)[101]  {stm32.script}<br />
Squirrel trace                    findDevice(l)[104]  {stm32.script}<br />
<br />
== BREAKPOINT  ==<br />
*FUNCTION [findDevice()] stm32.script line [104]                        &lt;-- Call stack<br />
*FUNCTION [ebMain()] auto.script line [26]                                 &lt;-- Call stack<br />
-LOCALS:                                                                                 &lt;-- start local variable(s) list<br />
          [arch] ARRAY<br />
          [@INDEX@] INTEGER( 3 )<br />
          [devReg] INTEGER( 268526611 )<br />
          [this] TABLE<br />
            [vendor] "stm32.script"<br />
            [@INDEX@] INTEGER( 1 )<br />
            [this] TABLE<br />
Go, next Call, Return, Exception or Line? [g,c,r,e,l]                         &lt;-- Command line input </blockquote>
<br />
<span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Command line input:</span></span><br />
<span style="font-weight: bold;" class="mycode_b">g = continue (go)</span><br />
<span style="font-weight: bold;" class="mycode_b">c = run to next call of a function</span><br />
<span style="font-weight: bold;" class="mycode_b">r = run to the return of current function</span><br />
<span style="font-weight: bold;" class="mycode_b">e = run until exception trap</span><br />
<span style="font-weight: bold;" class="mycode_b">l = next script line</span>]]></description>
			<content:encoded><![CDATA[EBlink version 6.00 and beyond, does support Squirrel script debugging and tracing.<br />
<br />
To use the script debugger, place EBlink in verbose level 7 (debug info) for function level debugging or level 8 (trace info) for line level debugging. <br />
For verbose levels below 7, debugging is turned off and script breakpoints are ignored.<br />
<br />
Invocation:<br />
Debug level e.g.  <span style="font-weight: bold;" class="mycode_b">./eblink -v7 -G </span><br />
Trace   level e.g. <span style="font-weight: bold;" class="mycode_b"> ./eblink -v8 -G</span><br />
<br />
<br />
Example of breakpoint in script:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>    foreach(arch in STMICRO)<br />
      if(arch[0] == targetApi.getCpuName()){<br />
          foreach(addr in arch[1]) {<br />
              try{ <br />
                   devReg = intrfApi.read(addr)<br />
                   brkPt()                &lt;----------- Breakpoint<br />
                   if(devReg) break<br />
              }<br />
              catch(e){}<br />
          }</code></div></div><br />
If the program is halted, all the local variables are printed and the user get the option to: Single-step, step-out,  until exception or step to the end of current function<br />
If the execution is <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">main </span></span>this means that the script file itself (no functions) is handled.<br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-style: italic;" class="mycode_i">Example output debug level ( cli switch -v7 ) </span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Search script auto.script in path: f:\software\EBlink\scripts<br />
Script found: auto.script<br />
Squirrel debug                          main&copy;[9]    {auto.script}<br />
Squirrel debug                          main&reg;[42]    {auto.script}<br />
Squirrel debug                        ebMain&copy;[22]    {auto.script}<br />
Search script atmel.script in path: f:\software\EBlink\scripts<br />
Script found: atmel.script<br />
Squirrel debug                          main&copy;[13]    {atmel.script}<br />
Squirrel debug                          main&reg;[154]  {atmel.script}<br />
Squirrel debug                    findDevice&copy;[59]    {atmel.script}<br />
Squirrel debug                    findDevice(e)[105]  {atmel.script}<br />
Squirrel debug                    findDevice&reg;[105]  {atmel.script}<br />
Search script stm32.script in path: f:\software\EBlink\scripts<br />
Script found: stm32.script<br />
Squirrel debug                          main&copy;[17]    {stm32.script}<br />
Squirrel debug                          main&reg;[167]  {stm32.script}<br />
Squirrel debug                    findDevice&copy;[90]    {stm32.script}<br />
STmicro device : 0x413<br />
Search script stmicro/stm32f4.script in path: f:\software\EBlink\scripts<br />
Script found: stmicro/stm32f4.script<br />
Squirrel debug                          main&copy;[8]    {stmicro/stm32f4.script}<br />
Squirrel debug                          main&reg;[166]  {stmicro/stm32f4.script}<br />
Squirrel debug                  stm32_device&copy;[111]  {stmicro/stm32f4.script}<br />
STmicro family : STM32F4x5/4x7<br />
Detected FLASH : 1024KB<br />
Configured RAM : 192KB<br />
Search script stmicro/flash/f7_f4_f2.script in path: f:\software\EBlink\scripts<br />
Script found: stmicro/flash/f7_f4_f2.script<br />
Squirrel debug                          main&copy;[10]    {stmicro/flash/f7_f4_f2.script}<br />
Squirrel debug                          main&reg;[350]  {stmicro/flash/f7_f4_f2.script}<br />
Squirrel debug                  stm32_device&reg;[166]  {stmicro/stm32f4.script}<br />
Squirrel debug                    findDevice&reg;[114]  {stm32.script}<br />
Squirrel debug                        ebMain&reg;[27]    {auto.script}</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">&copy; = called function start</span><br />
<span style="font-weight: bold;" class="mycode_b">&reg; = return current function</span><br />
<span style="font-weight: bold;" class="mycode_b">(e) = exception</span><br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Example output trace level ( cli switch -v8)</span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Required script load: atmel.script<br />
Search script atmel.script in path: f:\software\EBlink\scripts<br />
Script found: atmel.script<br />
Squirrel trace                          main&copy;[13]    {atmel.script}<br />
Squirrel trace                          main(l)[13]    {atmel.script}<br />
Squirrel trace                          main(l)[14]    {atmel.script}<br />
Squirrel trace                          main(l)[15]    {atmel.script}<br />
Squirrel trace                          main(l)[17]    {atmel.script}<br />
Squirrel trace                          main(l)[20]    {atmel.script}<br />
Squirrel trace                          main(l)[21]    {atmel.script}<br />
Squirrel trace                          main(l)[22]    {atmel.script}<br />
Squirrel trace                          main(l)[24]    {atmel.script}<br />
Squirrel trace                          main(l)[30]    {atmel.script}<br />
Squirrel trace                          main(l)[58]    {atmel.script}<br />
Squirrel trace                          main(l)[119]  {atmel.script}<br />
Squirrel trace                          main(l)[154]  {atmel.script}<br />
Squirrel trace                          main&reg;[154]  {atmel.script}<br />
Squirrel trace                        ebMain(l)[26]    {auto.script}<br />
Squirrel trace                    findDevice&copy;[61]    {atmel.script}<br />
Squirrel trace                    findDevice(l)[61]    {atmel.script}<br />
Squirrel trace                    findDevice(l)[66]    {atmel.script}<br />
Squirrel trace                    findDevice(l)[105]  {atmel.script}<br />
Squirrel trace                    findDevice(e)[105]  {atmel.script}<br />
Squirrel trace                    findDevice&reg;[105]  {atmel.script}<br />
Squirrel trace                        ebMain(l)[31]    {auto.script}<br />
Squirrel trace                        ebMain(l)[34]    {auto.script}<br />
Squirrel trace                        ebMain(l)[24]    {auto.script}<br />
Squirrel trace                        ebMain(l)[25]    {auto.script}</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">&copy; = called function start</span><br />
<span style="font-weight: bold;" class="mycode_b">&reg; = return current function</span><br />
<span style="font-weight: bold;" class="mycode_b">(e) = exception</span><br />
<span style="font-weight: bold;" class="mycode_b">(l)  = script line</span><br />
<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Example output breakpoint hit</span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Squirrel trace                    findDevice(l)[99]    {stm32.script}<br />
Squirrel trace                    findDevice(l)[99]    {stm32.script}<br />
Squirrel trace                    findDevice(l)[100]  {stm32.script}<br />
Squirrel trace                    findDevice(l)[101]  {stm32.script}<br />
Squirrel trace                    findDevice(l)[104]  {stm32.script}<br />
<br />
== BREAKPOINT  ==<br />
*FUNCTION [findDevice()] stm32.script line [104]                        &lt;-- Call stack<br />
*FUNCTION [ebMain()] auto.script line [26]                                 &lt;-- Call stack<br />
-LOCALS:                                                                                 &lt;-- start local variable(s) list<br />
          [arch] ARRAY<br />
          [@INDEX@] INTEGER( 3 )<br />
          [devReg] INTEGER( 268526611 )<br />
          [this] TABLE<br />
            [vendor] "stm32.script"<br />
            [@INDEX@] INTEGER( 1 )<br />
            [this] TABLE<br />
Go, next Call, Return, Exception or Line? [g,c,r,e,l]                         &lt;-- Command line input </blockquote>
<br />
<span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Command line input:</span></span><br />
<span style="font-weight: bold;" class="mycode_b">g = continue (go)</span><br />
<span style="font-weight: bold;" class="mycode_b">c = run to next call of a function</span><br />
<span style="font-weight: bold;" class="mycode_b">r = run to the return of current function</span><br />
<span style="font-weight: bold;" class="mycode_b">e = run until exception trap</span><br />
<span style="font-weight: bold;" class="mycode_b">l = next script line</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Stm32L4: No reset exception catch after wakeup]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=220</link>
			<pubDate>Sun, 12 Jan 2025 19:34:34 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=247">Buzzwang</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=220</guid>
			<description><![CDATA[Hello,<br />
I have a battery powered project and want to test it with connected debugger. <br />
The system goes to state "shutdown" and exits it by RTC every15s.<br />
Exit means: "A power-on reset occurs when exiting from Shutdown mode."<br />
<br />
Here my issue is, that EB halts after exit of shutdown at the reset vector and I need to press "F5" to continue.<br />
I tried several debugger settings, like "don't stop at valid source info", "don't reset", "don't load app" and "don't run to main".<br />
But no effect. It always halts.<br />
<br />
What can I do ?<br />
Is it possible to "hot plug" ?]]></description>
			<content:encoded><![CDATA[Hello,<br />
I have a battery powered project and want to test it with connected debugger. <br />
The system goes to state "shutdown" and exits it by RTC every15s.<br />
Exit means: "A power-on reset occurs when exiting from Shutdown mode."<br />
<br />
Here my issue is, that EB halts after exit of shutdown at the reset vector and I need to press "F5" to continue.<br />
I tried several debugger settings, like "don't stop at valid source info", "don't reset", "don't load app" and "don't run to main".<br />
But no effect. It always halts.<br />
<br />
What can I do ?<br />
Is it possible to "hot plug" ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink Live variables with other IDE]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=194</link>
			<pubDate>Fri, 22 Mar 2024 15:49:23 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=477">dliebler</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=194</guid>
			<description><![CDATA[Hi,<br />
I think live variables are one of the biggest advantages of EBlink, and it works great with EmBitz.<br />
But i am trying to integrate it into my workflow, and got really stuck using live variables without EmBitz.<br />
Is there any information on how to use live variables with eblink?<br />
<br />
I guess a real documentation on this does not exist, but i think even only looking at the parts of the<br />
sourcecode where embitz does the live variables configuration and polling would help me greatly.<br />
<br />
Thanks in advance!]]></description>
			<content:encoded><![CDATA[Hi,<br />
I think live variables are one of the biggest advantages of EBlink, and it works great with EmBitz.<br />
But i am trying to integrate it into my workflow, and got really stuck using live variables without EmBitz.<br />
Is there any information on how to use live variables with eblink?<br />
<br />
I guess a real documentation on this does not exist, but i think even only looking at the parts of the<br />
sourcecode where embitz does the live variables configuration and polling would help me greatly.<br />
<br />
Thanks in advance!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[debug problem]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=193</link>
			<pubDate>Sat, 16 Mar 2024 10:16:43 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=205">Cseb84</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=193</guid>
			<description><![CDATA[Hi,<br />
When i put a breakpoint in while routine, embitz ide doesn't show runing row. how can i solve this ?]]></description>
			<content:encoded><![CDATA[Hi,<br />
When i put a breakpoint in while routine, embitz ide doesn't show runing row. how can i solve this ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[STLink Update]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=192</link>
			<pubDate>Fri, 08 Mar 2024 19:40:50 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=24">Aroyer</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=192</guid>
			<description><![CDATA[A piece of advice to all enthusiasts.<br />
<br />
When you work on a Discovery board or a Nucleo.. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">Always update your board with ST-Link Utility to the latest version.</span><br />
<br />
I got fooled again with a board with which EB-Link crashed every 2 minutes. After the update, no problem.<br />
<br />
<br />
Enjoy Embitz!!!!]]></description>
			<content:encoded><![CDATA[A piece of advice to all enthusiasts.<br />
<br />
When you work on a Discovery board or a Nucleo.. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">Always update your board with ST-Link Utility to the latest version.</span><br />
<br />
I got fooled again with a board with which EB-Link crashed every 2 minutes. After the update, no problem.<br />
<br />
<br />
Enjoy Embitz!!!!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBLink error:  no interface found]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=190</link>
			<pubDate>Wed, 21 Feb 2024 19:46:21 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=296">dave@idea-tech.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=190</guid>
			<description><![CDATA[Hi, I am a complete newbie. I have just loaded EmBitz 2.62 and EBlink 5.12 on Win 11 pro.<br />
<br />
I have an ST Nucleo board ( STM32F303 ) connected to my PC. This board has a built in ST-Link.<br />
<br />
I can compile a simple test program, but when I try to Flash Target, I get a 'No interface found' error.<br />
<br />
I would much appreciate being pointed in the right direction as to what steps I have missed in the<br />
installation or what I have not configured correctly.<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Hi, I am a complete newbie. I have just loaded EmBitz 2.62 and EBlink 5.12 on Win 11 pro.<br />
<br />
I have an ST Nucleo board ( STM32F303 ) connected to my PC. This board has a built in ST-Link.<br />
<br />
I can compile a simple test program, but when I try to Flash Target, I get a 'No interface found' error.<br />
<br />
I would much appreciate being pointed in the right direction as to what steps I have missed in the<br />
installation or what I have not configured correctly.<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[STM32L5/U5 Flash option restore]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=177</link>
			<pubDate>Wed, 03 Jan 2024 13:24:47 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=1">embitz</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=177</guid>
			<description><![CDATA[The STM32L5 and U5 devices have been added to the EBlink scripts. The scripts support both single- and dual-bank mode.<br />
<br />
The ability to switch from bank mode to the EBlink command line has also been added to the flash script of these devices.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>eblink -E setDualBank(0|1)  // 0 = single and 1 =  dual bank</code></div></div><br />
If you lost access to your device due to wrong flash options (even Cube programmer is not working) then you can restore the factory default with<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>eblink -E restoreDualBankMode()</code></div></div>]]></description>
			<content:encoded><![CDATA[The STM32L5 and U5 devices have been added to the EBlink scripts. The scripts support both single- and dual-bank mode.<br />
<br />
The ability to switch from bank mode to the EBlink command line has also been added to the flash script of these devices.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>eblink -E setDualBank(0|1)  // 0 = single and 1 =  dual bank</code></div></div><br />
If you lost access to your device due to wrong flash options (even Cube programmer is not working) then you can restore the factory default with<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>eblink -E restoreDualBankMode()</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink doesn't connect]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=156</link>
			<pubDate>Wed, 01 Feb 2023 14:04:56 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=131">Polarisru</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=156</guid>
			<description><![CDATA[Hello, I try to connect to ATSAMC21 MCU using EBlink but without success.<br />
<br />
<br />
Here are project settings:<br />
<img src="https://i.postimg.cc/qRspGxg6/eblink.png" loading="lazy"  alt="[Image: eblink.png]" class="mycode_img" /><br />
<br />
And this is a log:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>EBlink version 4.7-[13] by Gerard Zagema<br />
<br />
Using EB_SCRIPT_PATH = C:&#92;Program Files (x86)&#92;EBlink&#92;scripts<br />
<br />
Interface      : STlink<br />
Device found at bus 1:28<br />
Interface USB# : 55FF6C064883545237160887<br />
Interface at  1:28 - &lt;BUS&gt;:&lt;ADDR&gt;<br />
Interface type : STlink/V2<br />
STlink Frmware : V2.J29.S7<br />
STlink connect : Under reset<br />
Unknown/unexpected STLINK status code 0x9<br />
STlink connect : Try again with active reset<br />
Unknown/unexpected STLINK status code 0x9<br />
STlink connect : connect under reset failed, try without reset<br />
Error initializing interface STlink<br />
Target power perhaps?<br />
STlink connect : Hot plugging<br />
Unknown/unexpected STLINK status code 0x9<br />
Target voltage : 3.23V</code></div></div><br />
<br />
The PCB is definitely connected and powered, ST-Link is also Ok, I have tested it.<br />
<br />
What could be wrong here?]]></description>
			<content:encoded><![CDATA[Hello, I try to connect to ATSAMC21 MCU using EBlink but without success.<br />
<br />
<br />
Here are project settings:<br />
<img src="https://i.postimg.cc/qRspGxg6/eblink.png" loading="lazy"  alt="[Image: eblink.png]" class="mycode_img" /><br />
<br />
And this is a log:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>EBlink version 4.7-[13] by Gerard Zagema<br />
<br />
Using EB_SCRIPT_PATH = C:&#92;Program Files (x86)&#92;EBlink&#92;scripts<br />
<br />
Interface      : STlink<br />
Device found at bus 1:28<br />
Interface USB# : 55FF6C064883545237160887<br />
Interface at  1:28 - &lt;BUS&gt;:&lt;ADDR&gt;<br />
Interface type : STlink/V2<br />
STlink Frmware : V2.J29.S7<br />
STlink connect : Under reset<br />
Unknown/unexpected STLINK status code 0x9<br />
STlink connect : Try again with active reset<br />
Unknown/unexpected STLINK status code 0x9<br />
STlink connect : connect under reset failed, try without reset<br />
Error initializing interface STlink<br />
Target power perhaps?<br />
STlink connect : Hot plugging<br />
Unknown/unexpected STLINK status code 0x9<br />
Target voltage : 3.23V</code></div></div><br />
<br />
The PCB is definitely connected and powered, ST-Link is also Ok, I have tested it.<br />
<br />
What could be wrong here?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Program option bytes on STM32G4xx]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=145</link>
			<pubDate>Tue, 22 Nov 2022 11:59:13 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=198">matsb</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=145</guid>
			<description><![CDATA[I've previously been working with STM32F411 but recently switched to STM32G473, so I need to learn new things.<br />
STM32G473 have dual-bank FLASH, configurable via the option bytes as single- or dual-bank. Factory default is dual-bank.<br />
I will use singe-bank mode and therefore need to somehow program the option bytes.<br />
<br />
My first attempt was to embed the option bytes via the source code into the .hex file, to be flashed when writing/updating the firmware on the CPU. I was able to do this with the help of the linker script. STM32CubeProgrammer will take the generated .hex file and write the option bytes along with the rest of the firmware. This works. I copy/paste the code here in case someone else have use for it:<br />
<br />
In the source code:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;stdint.h&gt;<br />
#include "stm32g4xx_hal.h"<br />
<br />
/// User and read protection option bytes<br />
#define OPTR_CONTENT &#92;<br />
  (1 &lt;&lt; 31) |<br />
  OB_IRH_ENABLE |<br />
  OB_NRST_MODE_INPUT_ONLY |<br />
<br />
...<br />
<br />
/// Option byte array (single-bank or bank 1) located at the correct address in memory based on the section definition in the linker script<br />
uint32_t application_option_bytes_singlebank_or_bank1[6 * 2] __attribute__((section(".option_bytes_bank1_section"))) =<br />
{<br />
  (uint32_t)(OPTR_CONTENT),          ~(uint32_t)(OPTR_CONTENT), <br />
  (uint32_t)(PCROP1_START_CONTENT),  ~(uint32_t)(PCROP1_START_CONTENT), <br />
  (uint32_t)(PCROP1_END_CONTENT),    ~(uint32_t)(PCROP1_END_CONTENT), <br />
  (uint32_t)(WRP1A_CONTENT),         ~(uint32_t)(WRP1A_CONTENT), <br />
  (uint32_t)(WRP2A_CONTENT),         ~(uint32_t)(WRP2A_CONTENT), <br />
  (uint32_t)(SEC1_CONTENT),          ~(uint32_t)(SEC1_CONTENT),<br />
};<br />
<br />
/// Option byte array (bank 2) located at the correct address in memory based on the section definition in the linker script<br />
uint32_t application_option_bytes_bank2[5 * 2] __attribute__((section(".option_bytes_bank2_section"))) =<br />
{<br />
  (uint32_t)(PCROP2_START_CONTENT),  ~(uint32_t)(PCROP2_START_CONTENT), <br />
  (uint32_t)(PCROP2_END_CONTENT),    ~(uint32_t)(PCROP2_END_CONTENT), <br />
  (uint32_t)(WRP1B_CONTENT),         ~(uint32_t)(WRP1B_CONTENT), <br />
  (uint32_t)(WRP2B_CONTENT),         ~(uint32_t)(WRP2B_CONTENT), <br />
  (uint32_t)(SEC2_CONTENT),          ~(uint32_t)(SEC2_CONTENT),<br />
};</code></div></div><br />
<br />
In the linker script:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>MEMORY<br />
{<br />
...<br />
  OPT_B1 (rw) : ORIGIN = 0x1FFF7800, LENGTH = 48              /* Options bytes single-bank or bank 1 */<br />
  OPT_B2 (rw) : ORIGIN = 0x1FFFF808, LENGTH = 40              /* Options bytes bank 2 */<br />
...<br />
}<br />
<br />
SECTIONS<br />
{<br />
...<br />
  /* Options bytes single-bank or bank 1 */<br />
  .option_bytes_bank1_section : <br />
  {<br />
      KEEP(*(.option_bytes_bank1_section*))<br />
  } &gt; OPT_B1<br />
<br />
  /* Options bytes bank 2 */<br />
  .option_bytes_bank2_section : <br />
  {<br />
      KEEP(*(.option_bytes_bank2_section*))<br />
  } &gt; OPT_B2<br />
<br />
...<br />
}</code></div></div><br />
BUT, unfortunately this does not work with EBlink 4.7 in EmBitz 2.50:<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>EBlink version 4.7-[13] by Gerard Zagema<br />
<br />
Interface USB# : 54FF6A066684565547522187<br />
Interface type : STlink/V2<br />
STlink connect : Under reset<br />
Target voltage : 3.25V<br />
Interface speed: 4000KHz<br />
Target detected: Cortex-M4 (r0p1) with FPv4_SP<br />
HW breakpoints : 6<br />
HW watchpoints : 4<br />
Fault unwind  : Active break (level 2)<br />
STmicro family : STM32G47/48xx<br />
Detected FLASH : 0x80000<br />
Configured RAM : 0x20000<br />
Reset: system<br />
<span style="color: #ff4136;" class="mycode_color">Try to flash a non-flash region! Address 0x1FFF7800</span><br />
<span style="color: #ff4136;" class="mycode_color">Try to flash a non-flash region! Address 0x1FFFF808</span><br />
Checking current flash content <br />
Flash programming done<br />
Flash verify done<br />
Flasher starts target<br />
Reset: system</blockquote>
<br />
<br />
And I guess the reason is in EBlink/scripts/stmicro/stm32gx.script<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>/////////////////////////////////////////////////////<br />
//<br />
//                  STM32Gx<br />
//<br />
// ToDo: - option programming<br />
//</blockquote>
<br />
I've looked briefly at the script code and I would not know where to start, if I try to implement this myself.<br />
Are there any plans of implementing this anytime soon?<br />
<br />
What are my alternatives? Suggestions are appreciated as this is a new CPU for me and I'm learning.<br />
At the moment I'm in development, and can set the options with STM32CubeProgrammer, but eventually I will be getting factory empty CPU's and by then I need to get them flashed as conveniently as possible, that was why I initially tried to embed the option bytes directly in the .hex file.]]></description>
			<content:encoded><![CDATA[I've previously been working with STM32F411 but recently switched to STM32G473, so I need to learn new things.<br />
STM32G473 have dual-bank FLASH, configurable via the option bytes as single- or dual-bank. Factory default is dual-bank.<br />
I will use singe-bank mode and therefore need to somehow program the option bytes.<br />
<br />
My first attempt was to embed the option bytes via the source code into the .hex file, to be flashed when writing/updating the firmware on the CPU. I was able to do this with the help of the linker script. STM32CubeProgrammer will take the generated .hex file and write the option bytes along with the rest of the firmware. This works. I copy/paste the code here in case someone else have use for it:<br />
<br />
In the source code:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;stdint.h&gt;<br />
#include "stm32g4xx_hal.h"<br />
<br />
/// User and read protection option bytes<br />
#define OPTR_CONTENT &#92;<br />
  (1 &lt;&lt; 31) |<br />
  OB_IRH_ENABLE |<br />
  OB_NRST_MODE_INPUT_ONLY |<br />
<br />
...<br />
<br />
/// Option byte array (single-bank or bank 1) located at the correct address in memory based on the section definition in the linker script<br />
uint32_t application_option_bytes_singlebank_or_bank1[6 * 2] __attribute__((section(".option_bytes_bank1_section"))) =<br />
{<br />
  (uint32_t)(OPTR_CONTENT),          ~(uint32_t)(OPTR_CONTENT), <br />
  (uint32_t)(PCROP1_START_CONTENT),  ~(uint32_t)(PCROP1_START_CONTENT), <br />
  (uint32_t)(PCROP1_END_CONTENT),    ~(uint32_t)(PCROP1_END_CONTENT), <br />
  (uint32_t)(WRP1A_CONTENT),         ~(uint32_t)(WRP1A_CONTENT), <br />
  (uint32_t)(WRP2A_CONTENT),         ~(uint32_t)(WRP2A_CONTENT), <br />
  (uint32_t)(SEC1_CONTENT),          ~(uint32_t)(SEC1_CONTENT),<br />
};<br />
<br />
/// Option byte array (bank 2) located at the correct address in memory based on the section definition in the linker script<br />
uint32_t application_option_bytes_bank2[5 * 2] __attribute__((section(".option_bytes_bank2_section"))) =<br />
{<br />
  (uint32_t)(PCROP2_START_CONTENT),  ~(uint32_t)(PCROP2_START_CONTENT), <br />
  (uint32_t)(PCROP2_END_CONTENT),    ~(uint32_t)(PCROP2_END_CONTENT), <br />
  (uint32_t)(WRP1B_CONTENT),         ~(uint32_t)(WRP1B_CONTENT), <br />
  (uint32_t)(WRP2B_CONTENT),         ~(uint32_t)(WRP2B_CONTENT), <br />
  (uint32_t)(SEC2_CONTENT),          ~(uint32_t)(SEC2_CONTENT),<br />
};</code></div></div><br />
<br />
In the linker script:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>MEMORY<br />
{<br />
...<br />
  OPT_B1 (rw) : ORIGIN = 0x1FFF7800, LENGTH = 48              /* Options bytes single-bank or bank 1 */<br />
  OPT_B2 (rw) : ORIGIN = 0x1FFFF808, LENGTH = 40              /* Options bytes bank 2 */<br />
...<br />
}<br />
<br />
SECTIONS<br />
{<br />
...<br />
  /* Options bytes single-bank or bank 1 */<br />
  .option_bytes_bank1_section : <br />
  {<br />
      KEEP(*(.option_bytes_bank1_section*))<br />
  } &gt; OPT_B1<br />
<br />
  /* Options bytes bank 2 */<br />
  .option_bytes_bank2_section : <br />
  {<br />
      KEEP(*(.option_bytes_bank2_section*))<br />
  } &gt; OPT_B2<br />
<br />
...<br />
}</code></div></div><br />
BUT, unfortunately this does not work with EBlink 4.7 in EmBitz 2.50:<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>EBlink version 4.7-[13] by Gerard Zagema<br />
<br />
Interface USB# : 54FF6A066684565547522187<br />
Interface type : STlink/V2<br />
STlink connect : Under reset<br />
Target voltage : 3.25V<br />
Interface speed: 4000KHz<br />
Target detected: Cortex-M4 (r0p1) with FPv4_SP<br />
HW breakpoints : 6<br />
HW watchpoints : 4<br />
Fault unwind  : Active break (level 2)<br />
STmicro family : STM32G47/48xx<br />
Detected FLASH : 0x80000<br />
Configured RAM : 0x20000<br />
Reset: system<br />
<span style="color: #ff4136;" class="mycode_color">Try to flash a non-flash region! Address 0x1FFF7800</span><br />
<span style="color: #ff4136;" class="mycode_color">Try to flash a non-flash region! Address 0x1FFFF808</span><br />
Checking current flash content <br />
Flash programming done<br />
Flash verify done<br />
Flasher starts target<br />
Reset: system</blockquote>
<br />
<br />
And I guess the reason is in EBlink/scripts/stmicro/stm32gx.script<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>/////////////////////////////////////////////////////<br />
//<br />
//                  STM32Gx<br />
//<br />
// ToDo: - option programming<br />
//</blockquote>
<br />
I've looked briefly at the script code and I would not know where to start, if I try to implement this myself.<br />
Are there any plans of implementing this anytime soon?<br />
<br />
What are my alternatives? Suggestions are appreciated as this is a new CPU for me and I'm learning.<br />
At the moment I'm in development, and can set the options with STM32CubeProgrammer, but eventually I will be getting factory empty CPU's and by then I need to get them flashed as conveniently as possible, that was why I initially tried to embed the option bytes directly in the .hex file.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Use EBlink with ST-LINK2 on Atmel SAM3X8E CPU]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=139</link>
			<pubDate>Thu, 27 Oct 2022 01:03:49 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=92">Misc01</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=139</guid>
			<description><![CDATA[Hello<br />
<br />
I tri to use EBLink with an ST-Link2 connected to an old Arduino Due (Atmel SAM3X8E)<br />
<br />
When starting EBlink it seems to detect a Cortex M3, which is correct. But then there is an error:<br />
<br />
"Can't detect MCU vendor"<br />
<br />
There is also a message to eventually disable the "dr" option, but this has no effect (I started both the stm32gdg and stm32hotplug versions)<br />
<br />
How can I get the ST-Link to accept non ST hardware?]]></description>
			<content:encoded><![CDATA[Hello<br />
<br />
I tri to use EBLink with an ST-Link2 connected to an old Arduino Due (Atmel SAM3X8E)<br />
<br />
When starting EBlink it seems to detect a Cortex M3, which is correct. But then there is an error:<br />
<br />
"Can't detect MCU vendor"<br />
<br />
There is also a message to eventually disable the "dr" option, but this has no effect (I started both the stm32gdg and stm32hotplug versions)<br />
<br />
How can I get the ST-Link to accept non ST hardware?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink Install Fail]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=116</link>
			<pubDate>Wed, 09 Mar 2022 01:40:06 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=234">Workalot</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=116</guid>
			<description><![CDATA[At time of EBlink install (4.5, build 9) during Embitz 2.30 installation, a prompt dialog box appears with...<br />
<br />
"Cannot create target folder"<br />
"(Probably missing access rights)"<br />
<br />
I wonder what a fix could be, machine is Windows 10 Pro 21H1.<br />
<br />
Workalot]]></description>
			<content:encoded><![CDATA[At time of EBlink install (4.5, build 9) during Embitz 2.30 installation, a prompt dialog box appears with...<br />
<br />
"Cannot create target folder"<br />
"(Probably missing access rights)"<br />
<br />
I wonder what a fix could be, machine is Windows 10 Pro 21H1.<br />
<br />
Workalot]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to use default probe environment variable]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=98</link>
			<pubDate>Thu, 09 Dec 2021 02:52:00 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=228">bbennett</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=98</guid>
			<description><![CDATA[I am running Windows10 and attempted to set the default environment variables<br />
The one I am stuck on is EB_DEFAULT_PROBE<br />
The others seem to be working, but this one is troublesome.<br />
<br />
Any suggestions or help.<br />
<br />
many thanks.<br />
bri]]></description>
			<content:encoded><![CDATA[I am running Windows10 and attempted to set the default environment variables<br />
The one I am stuck on is EB_DEFAULT_PROBE<br />
The others seem to be working, but this one is troublesome.<br />
<br />
Any suggestions or help.<br />
<br />
many thanks.<br />
bri]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[programming 1.8V controller]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=93</link>
			<pubDate>Tue, 30 Nov 2021 16:26:44 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=222">mpetschke</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=93</guid>
			<description><![CDATA[Hi,<br />
<br />
I'm using STM32F466 at 1.8V with Embitz 2.0. Sometimes it happens that ST-Linkv2 reads out "only" 1.79V and EBlink refuses to program the chip.<br />
It would be nice if EBlink would accept 100mV tolerance here.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I'm using STM32F466 at 1.8V with Embitz 2.0. Sometimes it happens that ST-Linkv2 reads out "only" 1.79V and EBlink refuses to program the chip.<br />
It would be nice if EBlink would accept 100mV tolerance here.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBLink Debugger Problems]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=46</link>
			<pubDate>Fri, 06 Aug 2021 16:29:20 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=166">Droid32</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=46</guid>
			<description><![CDATA[Hello,<br />
<br />
currently i'm having some trouble with EBLink and debugging a nucleo board. (I tried with latest st-link fw and V2.J34.M25; I'm also using latest eblink 4.0.6)<br />
<br />
When i try to connect, i get an network error<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.embitz.org/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=63" target="_blank" title="">eblink.png</a> (Size: 42.83 KB / Downloads: 692)
<!-- end: postbit_attachments_attachment --><br />
<br />
When i change from port 4242 to 4244 (just tried this one number), i can connect and my application runs.<br />
<br />
<br />
But if i do anything in EB (Setting breakpoint, halting application etc), eblink crashes. (Error: Connection with target lost)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Exception condition detected on fd 580<br />
Debugger finished with status 1</code></div></div><br />
mfg]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
currently i'm having some trouble with EBLink and debugging a nucleo board. (I tried with latest st-link fw and V2.J34.M25; I'm also using latest eblink 4.0.6)<br />
<br />
When i try to connect, i get an network error<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.embitz.org/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=63" target="_blank" title="">eblink.png</a> (Size: 42.83 KB / Downloads: 692)
<!-- end: postbit_attachments_attachment --><br />
<br />
When i change from port 4242 to 4244 (just tried this one number), i can connect and my application runs.<br />
<br />
<br />
But if i do anything in EB (Setting breakpoint, halting application etc), eblink crashes. (Error: Connection with target lost)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Exception condition detected on fd 580<br />
Debugger finished with status 1</code></div></div><br />
mfg]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[STLink-V3MINI usage]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=38</link>
			<pubDate>Thu, 04 Mar 2021 08:34:32 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=18">vdaniel</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=38</guid>
			<description><![CDATA[I use STLink-V3MINI.  According to documentation, it needs VCC (3.3) from the target device to recognize it.<br />
<br />
But I noticed that the ST-LINK utility recognizes the target even when VCC is not connected.<br />
<br />
Is it possible for the EBlink to work in the same way, ignoring if the VCC presents or not?<br />
<br />
Thus the necessary number of STlink connector pins will become 3 instead of 4.<br />
For some miniature applications, it will be a great advantage.<br />
<br />
vdaniel]]></description>
			<content:encoded><![CDATA[I use STLink-V3MINI.  According to documentation, it needs VCC (3.3) from the target device to recognize it.<br />
<br />
But I noticed that the ST-LINK utility recognizes the target even when VCC is not connected.<br />
<br />
Is it possible for the EBlink to work in the same way, ignoring if the VCC presents or not?<br />
<br />
Thus the necessary number of STlink connector pins will become 3 instead of 4.<br />
For some miniature applications, it will be a great advantage.<br />
<br />
vdaniel]]></content:encoded>
		</item>
	</channel>
</rss>