<?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 - Development]]></title>
		<link>https://www.embitz.org/forum/</link>
		<description><![CDATA[EmBitz - https://www.embitz.org/forum]]></description>
		<pubDate>Mon, 06 Jul 2026 21:25:23 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Flashing main application overwrites bootloader for STM32F413 (solved elf reader bug)]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=237</link>
			<pubDate>Tue, 23 Jun 2026 13:58:59 +0200</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=237</guid>
			<description><![CDATA[Hello friends!<br />
<br />
We recently ported from STM32G473 (natively supported by EmBitz/EBlink) to STM32F413 (not natively supported). So I added CPU ID 0x463 and the new 1.5 MByte memory map to EBlink scripts. Attached .zip files for EBlink version 6.21.<br />
<br />
The linker scripts memory map looks like this:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>MEMORY<br />
{<br />
  PAGE0            (rx) : ORIGIN = 0x08000000, LENGTH = 16K                  /* FLASH page 0                                */<br />
  BOOTLOADER_START (rx) : ORIGIN = 0x08000000, LENGTH = 16K - 20              /* Bootloader startup code + interrupt vectors  */<br />
  BOOTLOADER_FW_ID (rx) : ORIGIN = 0x08003FEC, LENGTH = 20                    /* Bootloader firmware identification block    */<br />
  PAGE1            (rx) : ORIGIN = 0x08004000, LENGTH = 16K                  /* FLASH page 1 - Misc parameters              */<br />
  PAGE2            (rx) : ORIGIN = 0x08008000, LENGTH = 16K                  /* FLASH page 2 - Misc parameters              */<br />
  MAINAPP_FLASH    (rx) : ORIGIN = 0x0800C000, LENGTH = 16K + 64K + (10 * 128K) /* Main Application FLASH memory 1360 kByte  */<br />
  BOOTLOADER_FLASH (rx) : ORIGIN = 0x08160000, LENGTH = 128K                  /* Bootloader FLASH memory 16 + 128 kByte      */<br />
  OPT_B            (rw) : ORIGIN = 0x1FFFC000, LENGTH = 16                    /* Options bytes single-bank                    */<br />
  RAM            (rwx) : ORIGIN = 0x20000000, LENGTH = 320K                  /* Main RAM memory                              */<br />
}</code></div></div><br />
I.e. Bootloader lives on pages 0 and 15.<br />
Misc. user data is on pages 1...2.<br />
Main application lives on pages 3...14.<br />
<br />
When compiling both Bootloader and Main application, the produced .hex files are correct. When flashing the .hex files with STM32CubeProgrammer, it will write to the expected pages and leave the other untouched. This is working correctly.<br />
<br />
When writing Bootloader with EmBitz / Flash / Flash target, everything goes fine.<br />
But when writing Main application, also page 0, 1, and 2 are overwritten. When looking more closely at those 3 overwritten pages, they seems to contain the raw content of the main application .elf file. For example the ".ELF" signature is stored at address 0x08000000. Attached picture of the beginning of 0x08000000.<br />
<br />
This happens for both EmBitz 2.63 and 2.65 that I have been using.<br />
<br />
Any help appreciated!<br />
<br />
<br />
Here is the EBlink output when writing Bootloader:<br />
<br />
EBlink version 6.21-[299] by Gerard Zagema<br />
<br />
Interface USB# : 54FF6A066684565547522187<br />
Interface type : STlink/V2<br />
Target voltage : 3.24V<br />
Interface speed: 4000KHz<br />
<br />
Target detected: Cortex-M4 (r0p1) with FPv4_SP<br />
HW breakpoints : 6<br />
HW watchpoints : 4<br />
Fault unwind  : Active (level 2)<br />
STmicro family : STM32F413<br />
Detected FLASH : 1536KB<br />
Configured RAM : 320KB<br />
Reset: system<br />
Checking current flash content <br />
Reset: system<br />
Flashing sector  0, address: 0x08000000, length: 0x4000<br />
Flashing sector 15, address: 0x08160000, length: 0x1710C<br />
Flash verify<br />
Flasher starts target<br />
Reset: system<br />
<br />
<br />
<br />
Here is the EBlink output when writing main application:<br />
<br />
EBlink version 6.21-[299] by Gerard Zagema<br />
<br />
Interface USB# : 54FF6A066684565547522187<br />
Interface type : STlink/V2<br />
Target voltage : 3.24V<br />
Interface speed: 4000KHz<br />
<br />
Target detected: Cortex-M4 (r0p1) with FPv4_SP<br />
HW breakpoints : 6<br />
HW watchpoints : 4<br />
Fault unwind  : Active (level 2)<br />
STmicro family : STM32F413<br />
Detected FLASH : 1536KB<br />
Configured RAM : 320KB<br />
Reset: system<br />
Checking current flash content <br />
Reset: system<br />
Flashing sector  0, address: 0x08000000, length: 0x4000<br />
Flashing sector  1, address: 0x08004000, length: 0x4000<br />
Flashing sector  2, address: 0x08008000, length: 0x4000<br />
Flashing sector  3, address: 0x0800C000, length: 0x4000<br />
Flashing sector  4, address: 0x08010000, length: 0x10000<br />
Flashing sector  5, address: 0x08020000, length: 0x20000<br />
Flashing sector  6, address: 0x08040000, length: 0x20000<br />
Flashing sector  7, address: 0x08060000, length: 0x20000<br />
Flashing sector  8, address: 0x08080000, length: 0x20000<br />
Flashing sector  9, address: 0x080A0000, length: 0x3090<br />
Flash verify<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.embitz.org/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=221" target="_blank" title="">STM32F413_EBlink_6.21_scripts.zip</a> (Size: 3.82 KB / Downloads: 3)
<!-- end: postbit_attachments_attachment --><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=222" target="_blank" title="">after_application_flashing.png</a> (Size: 59.41 KB / Downloads: 28)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello friends!<br />
<br />
We recently ported from STM32G473 (natively supported by EmBitz/EBlink) to STM32F413 (not natively supported). So I added CPU ID 0x463 and the new 1.5 MByte memory map to EBlink scripts. Attached .zip files for EBlink version 6.21.<br />
<br />
The linker scripts memory map looks like this:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>MEMORY<br />
{<br />
  PAGE0            (rx) : ORIGIN = 0x08000000, LENGTH = 16K                  /* FLASH page 0                                */<br />
  BOOTLOADER_START (rx) : ORIGIN = 0x08000000, LENGTH = 16K - 20              /* Bootloader startup code + interrupt vectors  */<br />
  BOOTLOADER_FW_ID (rx) : ORIGIN = 0x08003FEC, LENGTH = 20                    /* Bootloader firmware identification block    */<br />
  PAGE1            (rx) : ORIGIN = 0x08004000, LENGTH = 16K                  /* FLASH page 1 - Misc parameters              */<br />
  PAGE2            (rx) : ORIGIN = 0x08008000, LENGTH = 16K                  /* FLASH page 2 - Misc parameters              */<br />
  MAINAPP_FLASH    (rx) : ORIGIN = 0x0800C000, LENGTH = 16K + 64K + (10 * 128K) /* Main Application FLASH memory 1360 kByte  */<br />
  BOOTLOADER_FLASH (rx) : ORIGIN = 0x08160000, LENGTH = 128K                  /* Bootloader FLASH memory 16 + 128 kByte      */<br />
  OPT_B            (rw) : ORIGIN = 0x1FFFC000, LENGTH = 16                    /* Options bytes single-bank                    */<br />
  RAM            (rwx) : ORIGIN = 0x20000000, LENGTH = 320K                  /* Main RAM memory                              */<br />
}</code></div></div><br />
I.e. Bootloader lives on pages 0 and 15.<br />
Misc. user data is on pages 1...2.<br />
Main application lives on pages 3...14.<br />
<br />
When compiling both Bootloader and Main application, the produced .hex files are correct. When flashing the .hex files with STM32CubeProgrammer, it will write to the expected pages and leave the other untouched. This is working correctly.<br />
<br />
When writing Bootloader with EmBitz / Flash / Flash target, everything goes fine.<br />
But when writing Main application, also page 0, 1, and 2 are overwritten. When looking more closely at those 3 overwritten pages, they seems to contain the raw content of the main application .elf file. For example the ".ELF" signature is stored at address 0x08000000. Attached picture of the beginning of 0x08000000.<br />
<br />
This happens for both EmBitz 2.63 and 2.65 that I have been using.<br />
<br />
Any help appreciated!<br />
<br />
<br />
Here is the EBlink output when writing Bootloader:<br />
<br />
EBlink version 6.21-[299] by Gerard Zagema<br />
<br />
Interface USB# : 54FF6A066684565547522187<br />
Interface type : STlink/V2<br />
Target voltage : 3.24V<br />
Interface speed: 4000KHz<br />
<br />
Target detected: Cortex-M4 (r0p1) with FPv4_SP<br />
HW breakpoints : 6<br />
HW watchpoints : 4<br />
Fault unwind  : Active (level 2)<br />
STmicro family : STM32F413<br />
Detected FLASH : 1536KB<br />
Configured RAM : 320KB<br />
Reset: system<br />
Checking current flash content <br />
Reset: system<br />
Flashing sector  0, address: 0x08000000, length: 0x4000<br />
Flashing sector 15, address: 0x08160000, length: 0x1710C<br />
Flash verify<br />
Flasher starts target<br />
Reset: system<br />
<br />
<br />
<br />
Here is the EBlink output when writing main application:<br />
<br />
EBlink version 6.21-[299] by Gerard Zagema<br />
<br />
Interface USB# : 54FF6A066684565547522187<br />
Interface type : STlink/V2<br />
Target voltage : 3.24V<br />
Interface speed: 4000KHz<br />
<br />
Target detected: Cortex-M4 (r0p1) with FPv4_SP<br />
HW breakpoints : 6<br />
HW watchpoints : 4<br />
Fault unwind  : Active (level 2)<br />
STmicro family : STM32F413<br />
Detected FLASH : 1536KB<br />
Configured RAM : 320KB<br />
Reset: system<br />
Checking current flash content <br />
Reset: system<br />
Flashing sector  0, address: 0x08000000, length: 0x4000<br />
Flashing sector  1, address: 0x08004000, length: 0x4000<br />
Flashing sector  2, address: 0x08008000, length: 0x4000<br />
Flashing sector  3, address: 0x0800C000, length: 0x4000<br />
Flashing sector  4, address: 0x08010000, length: 0x10000<br />
Flashing sector  5, address: 0x08020000, length: 0x20000<br />
Flashing sector  6, address: 0x08040000, length: 0x20000<br />
Flashing sector  7, address: 0x08060000, length: 0x20000<br />
Flashing sector  8, address: 0x08080000, length: 0x20000<br />
Flashing sector  9, address: 0x080A0000, length: 0x3090<br />
Flash verify<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.embitz.org/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=221" target="_blank" title="">STM32F413_EBlink_6.21_scripts.zip</a> (Size: 3.82 KB / Downloads: 3)
<!-- end: postbit_attachments_attachment --><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=222" target="_blank" title="">after_application_flashing.png</a> (Size: 59.41 KB / Downloads: 28)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Linux Ubuntu 24.04/Mint 22.1 Instalation Problem (solved  > 6.21)]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=236</link>
			<pubDate>Thu, 11 Jun 2026 16:30:08 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=572">Plinio Barbosa da Silva</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=236</guid>
			<description><![CDATA[Hello everyone!<br />
<br />
I trying to install EBlink on a machine running Linux Mint 22.1 and the dpkg return some errors. Tested on Ubuntu 24.04 and return the same errors.<br />
<br />
<img src="https://i.imgur.com/7YHwa7L.png" loading="lazy"  alt="[Image: 7YHwa7L.png]" class="mycode_img" /><br />
<br />
Despite the error, Eblink appears to be installed correct and works correctly. After installation, we might encounter some problems trying to use the debugging tools because the udev rules were not installed. I didn't have any problems because I already had the udev rules installed for stlink. I found a workaround to remove the error after a reinstallation by tricking the installer into running the command "touch /usr/share/eblink/80-eblink.rules". After that the reinstallation runs without errors.]]></description>
			<content:encoded><![CDATA[Hello everyone!<br />
<br />
I trying to install EBlink on a machine running Linux Mint 22.1 and the dpkg return some errors. Tested on Ubuntu 24.04 and return the same errors.<br />
<br />
<img src="https://i.imgur.com/7YHwa7L.png" loading="lazy"  alt="[Image: 7YHwa7L.png]" class="mycode_img" /><br />
<br />
Despite the error, Eblink appears to be installed correct and works correctly. After installation, we might encounter some problems trying to use the debugging tools because the udev rules were not installed. I didn't have any problems because I already had the udev rules installed for stlink. I found a workaround to remove the error after a reinstallation by tricking the installer into running the command "touch /usr/share/eblink/80-eblink.rules". After that the reinstallation runs without errors.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Installation without admin rights]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=233</link>
			<pubDate>Tue, 14 Oct 2025 11:49:24 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=561">jack133</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=233</guid>
			<description><![CDATA[Hello,<br />
Is it possible to have an installation process without admin rights on Windows ?<br />
Thank you for your great job !<br />
Stéphane]]></description>
			<content:encoded><![CDATA[Hello,<br />
Is it possible to have an installation process without admin rights on Windows ?<br />
Thank you for your great job !<br />
Stéphane]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[STM32H5xx HighCycle memory flashing from file]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=217</link>
			<pubDate>Fri, 06 Dec 2024 18:04:16 +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=217</guid>
			<description><![CDATA[The script files support HighCycle memory programming from production files.<br />
If you use this data will debugging, it will every time be reflashed at every debug session because it is bypassing the cache manager. The HighCycle data is defined as 'virtual' sectors so that we don't have read errors of unused highCycle memory.<br />
<br />
You can find the modified script files on github and from version EBlink 6.00 they will be included into the package.]]></description>
			<content:encoded><![CDATA[The script files support HighCycle memory programming from production files.<br />
If you use this data will debugging, it will every time be reflashed at every debug session because it is bypassing the cache manager. The HighCycle data is defined as 'virtual' sectors so that we don't have read errors of unused highCycle memory.<br />
<br />
You can find the modified script files on github and from version EBlink 6.00 they will be included into the package.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink V5.30 - CubeIDE compatible with Live Variables]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=212</link>
			<pubDate>Wed, 13 Nov 2024 14:50:24 +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=212</guid>
			<description><![CDATA[Version 5.30 is now compatible with CubeIDE and supports live variables. <br />
Just select one of the three available probe types and use EBlink as your GDB server.<br />
<br />
- Launch EBlink from context menu (windows) of from CLI (linux or remote)<br />
- Launch CubeIDE<br />
- Select the probe<br />
- Configure CubeMX probe as a remote probe ( localhost or remote IP)<br />
<br />
Start using CubeIDE with STlink probe and make use of:<br />
- EBlink  Caching <br />
- EBlink fault unwind<br />
<br />
Have fun!]]></description>
			<content:encoded><![CDATA[Version 5.30 is now compatible with CubeIDE and supports live variables. <br />
Just select one of the three available probe types and use EBlink as your GDB server.<br />
<br />
- Launch EBlink from context menu (windows) of from CLI (linux or remote)<br />
- Launch CubeIDE<br />
- Select the probe<br />
- Configure CubeMX probe as a remote probe ( localhost or remote IP)<br />
<br />
Start using CubeIDE with STlink probe and make use of:<br />
- EBlink  Caching <br />
- EBlink fault unwind<br />
<br />
Have fun!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink V5.20 released]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=211</link>
			<pubDate>Mon, 11 Nov 2024 14:34:23 +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=211</guid>
			<description><![CDATA[<span style="text-decoration: underline;" class="mycode_u">5.20</span><ul class="mycode_list"><li>Modified flow, increased speed and bandwidth by using the cache more consistently <br />
</li>
<li>Reset strategy as cube programmer, more robust initialization<br />
</li>
<li>Semihost repair for EmBitz, now also printing in target window if not standalone<br />
</li>
<li>Fault unwind is enhanced with an additional setting "fc" to define the fault catch vectors<br />
</li>
<li>Enhanced cache control (virtual,nocache,read-through etc)<br />
</li>
<li>Enhanced memory access algorithm, useful for 16 and 32 bit access (high cycle H5 memory etc) <br />
</li>
<li>Bugfix: fault unwind at startup<br />
</li>
<li>Bugfix: Multicore debugging unexpected fault unwind's<br />
</li>
<li>Bugfix: Target control on linux<br />
</li>
<li>Bugfix: unhandled exceptions<br />
</li>
<li>Bugfix: don't trap on nvic_reset<br />
</li>
<li>And a lot of minor bug fixes<br />
</li>
</ul>
<br />
The code is rewritten to make it more robust and the STlink initialization is copied from Cube programmer (except hotplugging)<br />
<br />
The fault unwind levels are renamed to 0=off, 1=passive and 2=active. This reflects the real meaning better.]]></description>
			<content:encoded><![CDATA[<span style="text-decoration: underline;" class="mycode_u">5.20</span><ul class="mycode_list"><li>Modified flow, increased speed and bandwidth by using the cache more consistently <br />
</li>
<li>Reset strategy as cube programmer, more robust initialization<br />
</li>
<li>Semihost repair for EmBitz, now also printing in target window if not standalone<br />
</li>
<li>Fault unwind is enhanced with an additional setting "fc" to define the fault catch vectors<br />
</li>
<li>Enhanced cache control (virtual,nocache,read-through etc)<br />
</li>
<li>Enhanced memory access algorithm, useful for 16 and 32 bit access (high cycle H5 memory etc) <br />
</li>
<li>Bugfix: fault unwind at startup<br />
</li>
<li>Bugfix: Multicore debugging unexpected fault unwind's<br />
</li>
<li>Bugfix: Target control on linux<br />
</li>
<li>Bugfix: unhandled exceptions<br />
</li>
<li>Bugfix: don't trap on nvic_reset<br />
</li>
<li>And a lot of minor bug fixes<br />
</li>
</ul>
<br />
The code is rewritten to make it more robust and the STlink initialization is copied from Cube programmer (except hotplugging)<br />
<br />
The fault unwind levels are renamed to 0=off, 1=passive and 2=active. This reflects the real meaning better.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink override the default halt on Reset_Handler]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=209</link>
			<pubDate>Wed, 06 Nov 2024 14:41:43 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=506">Mate</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=209</guid>
			<description><![CDATA[Dear EmBitz,<br />
I have one custom Bootloader project which is performing a runtime software Restart: NVIC_SystemReset(); on STM32 (tried on different families: F1, F4 and F0).<br />
While debuggins session is running EmBitz stops the CPU at Reset_Handler eventough there are no breakpints and inside the debug interface settings all relevant options are unchecked (See images in attachments).<br />
I Would expect that the poper behavior would be that the CPU doesn't stop after executing NVIC_SystemReset(); (like it was on the EmBitz 1.11).<br />
<br />
Note: I am using:<br />
- Embitz 2.62 <br />
- EBlink 5.13 (Build 193)<br />
- Win11<br />
- ST Link V2<br />
<br />
Best Regards,<br />
Mate<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=198" target="_blank" title="">2024-11-06 14_10_56-startup_stm32f401xe.s [Bootloader] - EmBitz 2.62.png</a> (Size: 380.2 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment --><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=199" target="_blank" title="">2024-11-06 14_31_32-Debug interface options - Bootloader (F4_ReleaseBT).png</a> (Size: 68.45 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment --><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=200" target="_blank" title="">2024-11-06 14_32_26-Debug interface options - Bootloader (F4_ReleaseBT).png</a> (Size: 93.17 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Dear EmBitz,<br />
I have one custom Bootloader project which is performing a runtime software Restart: NVIC_SystemReset(); on STM32 (tried on different families: F1, F4 and F0).<br />
While debuggins session is running EmBitz stops the CPU at Reset_Handler eventough there are no breakpints and inside the debug interface settings all relevant options are unchecked (See images in attachments).<br />
I Would expect that the poper behavior would be that the CPU doesn't stop after executing NVIC_SystemReset(); (like it was on the EmBitz 1.11).<br />
<br />
Note: I am using:<br />
- Embitz 2.62 <br />
- EBlink 5.13 (Build 193)<br />
- Win11<br />
- ST Link V2<br />
<br />
Best Regards,<br />
Mate<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=198" target="_blank" title="">2024-11-06 14_10_56-startup_stm32f401xe.s [Bootloader] - EmBitz 2.62.png</a> (Size: 380.2 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment --><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=199" target="_blank" title="">2024-11-06 14_31_32-Debug interface options - Bootloader (F4_ReleaseBT).png</a> (Size: 68.45 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment --><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=200" target="_blank" title="">2024-11-06 14_32_26-Debug interface options - Bootloader (F4_ReleaseBT).png</a> (Size: 93.17 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Examine high-cycle flash STM32H573 [solved]]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=205</link>
			<pubDate>Tue, 17 Sep 2024 17:53:16 +0200</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=205</guid>
			<description><![CDATA[I am working with a STM32H563ZI currently.<br />
This device also has a high-cycle flash.<br />
<br />
The memory region for the high-cycle flash is located from 0x09000000 and can only be accessed by 16-bit or by 32-bit.<br />
8-bit reads to this addresses are not allowed.<br />
<br />
Now the problem is, I cant examine this memory via eblink. I tested the exact same configuration with eblink and with stlink-gdbserver.<br />
<br />
eblink:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>x/1xb 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xh 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xw 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xg 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000</code></div></div><br />
stlink-gdbserver:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>x/1xb 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xh 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;0x1e0f<br />
x/1xw 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;0x3c2d1e0f<br />
x/1xg 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;0x78695a4b3c2d1e0f</code></div></div><br />
As you can see, stlink-gdbserver is able to examine the memory as long as I dont make it read only one byte.<br />
But eblink is not able to examine it at all. I suspect eblink treats every memory access as byte reads?<br />
Is this the intended behavior?<br />
<br />
This is not an important bug to me, I can fall back on stlink-gdbserver, I just stumbled over it.]]></description>
			<content:encoded><![CDATA[I am working with a STM32H563ZI currently.<br />
This device also has a high-cycle flash.<br />
<br />
The memory region for the high-cycle flash is located from 0x09000000 and can only be accessed by 16-bit or by 32-bit.<br />
8-bit reads to this addresses are not allowed.<br />
<br />
Now the problem is, I cant examine this memory via eblink. I tested the exact same configuration with eblink and with stlink-gdbserver.<br />
<br />
eblink:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>x/1xb 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xh 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xw 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xg 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000</code></div></div><br />
stlink-gdbserver:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>x/1xb 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;<br />
Cannot access memory at address 0x9000000<br />
x/1xh 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;0x1e0f<br />
x/1xw 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;0x3c2d1e0f<br />
x/1xg 0x09000000<br />
0x9000000:&nbsp;&nbsp;&nbsp;&nbsp;0x78695a4b3c2d1e0f</code></div></div><br />
As you can see, stlink-gdbserver is able to examine the memory as long as I dont make it read only one byte.<br />
But eblink is not able to examine it at all. I suspect eblink treats every memory access as byte reads?<br />
Is this the intended behavior?<br />
<br />
This is not an important bug to me, I can fall back on stlink-gdbserver, I just stumbled over it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[STM32U0 support [solved]]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=202</link>
			<pubDate>Tue, 27 Aug 2024 01:28:23 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=9">dalbert</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=202</guid>
			<description><![CDATA[It increasingly makes sense to use the STM32U0 series over the STM32L0.  Unfortunately, EBlink doesn't seem to support it.  For example with an STM32U073CCT6: EBlink - Error dialog: Error unsupported STM32 ID: 0x489<br />
<br />
Is there any chance EBlink might add support for the U0 series soon?<br />
<br />
Changes seem to be:<br />
stm32.script:<br />
    Add to the M0+ block:<br />
                ["u0", [ 0x459, 0x489 ]],<br />
<br />
Add an stm32u0.script  (see attached - work in progress)<br />
Add a flash/u0.script (still working on this)]]></description>
			<content:encoded><![CDATA[It increasingly makes sense to use the STM32U0 series over the STM32L0.  Unfortunately, EBlink doesn't seem to support it.  For example with an STM32U073CCT6: EBlink - Error dialog: Error unsupported STM32 ID: 0x489<br />
<br />
Is there any chance EBlink might add support for the U0 series soon?<br />
<br />
Changes seem to be:<br />
stm32.script:<br />
    Add to the M0+ block:<br />
                ["u0", [ 0x459, 0x489 ]],<br />
<br />
Add an stm32u0.script  (see attached - work in progress)<br />
Add a flash/u0.script (still working on this)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Support for Zbit]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=204</link>
			<pubDate>Tue, 16 Jul 2024 12:59:23 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.embitz.org/forum/member.php?action=profile&uid=290">sp9skp</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.embitz.org/forum/showthread.php?tid=204</guid>
			<description><![CDATA[I just received this module and suprise, there is CX32L003 - with CortexM0+]]></description>
			<content:encoded><![CDATA[I just received this module and suprise, there is CX32L003 - with CortexM0+]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink digital signed]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=185</link>
			<pubDate>Tue, 23 Jan 2024 19:36:05 +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=185</guid>
			<description><![CDATA[From now on, all the windows binaries of EBlink are signed with a certificate for increased security.<br />
It is signed with an OV certificate so still the windows warnings but it's more a service to the users to check instantly all the windows binaries.<br />
<br />
<br />
Embitz will follow soon.]]></description>
			<content:encoded><![CDATA[From now on, all the windows binaries of EBlink are signed with a certificate for increased security.<br />
It is signed with an OV certificate so still the windows warnings but it's more a service to the users to check instantly all the windows binaries.<br />
<br />
<br />
Embitz will follow soon.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBlink 5.12 available]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=183</link>
			<pubDate>Mon, 15 Jan 2024 11:18:10 +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=183</guid>
			<description><![CDATA[- Renesas M33 flashing included<br />
- Added sector attribute "gdb_nc". With this sector attribute, GDB will read from chip rather than cache. Used e.g. with Renesas data flash (EEProm emulation) so that any data flash modifications are visible in the IDE.<br />
<br />
The RV40 flash script will skip dataflash (EEprom) erase on chip erase. This is to retain config data between chip erase cycles. <br />
If a full chip erase is needed then comment the lines in the rv40 script at the erase function (see code)]]></description>
			<content:encoded><![CDATA[- Renesas M33 flashing included<br />
- Added sector attribute "gdb_nc". With this sector attribute, GDB will read from chip rather than cache. Used e.g. with Renesas data flash (EEProm emulation) so that any data flash modifications are visible in the IDE.<br />
<br />
The RV40 flash script will skip dataflash (EEprom) erase on chip erase. This is to retain config data between chip erase cycles. <br />
If a full chip erase is needed then comment the lines in the rv40 script at the erase function (see code)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Latest EBlink - 6.3]]></title>
			<link>https://www.embitz.org/forum/showthread.php?tid=141</link>
			<pubDate>Tue, 01 Nov 2022 09:46:46 +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=141</guid>
			<description><![CDATA[The latest version are on Github<br />
<br />
<a href="https://github.com/embitz" target="_blank" rel="noopener" class="mycode_url">Embitz on Github</a>]]></description>
			<content:encoded><![CDATA[The latest version are on Github<br />
<br />
<a href="https://github.com/embitz" target="_blank" rel="noopener" class="mycode_url">Embitz on Github</a>]]></content:encoded>
		</item>
	</channel>
</rss>