# Error in external mode

**URL:** <https://forum.plexim.com/t/error-in-external-mode/2042>\
**Category:** STM32\
**Tags:** external-mode\
**Created:** [April 16, 2025, 2:04pm UTC](https://forum.plexim.com/t/error-in-external-mode/2042 "2025-04-16T14:04:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Jeroen\_Buitendijk](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/jeroen_buitendijk/32/1540_2.png) [@Jeroen\_Buitendijk](https://forum.plexim.com/u/Jeroen_Buitendijk)\
**Post date:** [April 21, 2025, 1:28pm UTC](https://forum.plexim.com/t/error-in-external-mode/2042/4 "2025-04-21T13:28:45Z")

</div>

Thank you for checking these points! I don’t have an immediate idea of what the problem could be. What version of PLECS and the STM32 TSP are you running?

In case you haven’t done this yet, you could try to connect external mode via serial instead of JTAG:

 ![Screenshot 2025-04-21 at 09.15.03](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/2X/1/1151398f02ac2985a0fa428884b855c6fd6d242a.png)

What environment are you running PLECS in? A few users have recently reported difficulties flashing the microcontroller on Windows 11 and circumnavigated the issue by installing STM32 Cube IDE (see [STM32 PLECS coder does not compile or flash - #2 by Jonas](https://forum.plexim.com/t/stm32-plecs-coder-does-not-compile-or-flash/2015/2)), but that already appears to work in your case.

---

_[View the full topic](https://forum.plexim.com/t/error-in-external-mode/2042)._
