I'm getting the following error when trying to upload code to a STM32 "Bluepill" board using the STM32duino Bootloader
aka DFU
method:
maple_loader v0.1
Resetting to bootloader via DTR pulse
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=1720, tid=0x0000000000000c98
#
# JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [jSSC-2.8_x86_64.dll+0xb5db]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
This doesn't happen in another one of my computers. What's happening?
Found a strange fix.
Had to change the path to the Java binary to point to the provided version inside Arduino installation folder.
This is done through Environment Variables in Windows Control panel. You may also need to uninstall any other Java versions if you have any.