Can't upload to STM32F103C8 -

Hello,

When trying to upload to an STM32F103C8 I get the following error:

# A fatal error has been detected by the Java Runtime Environment

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=14788, tid=0x0000000000000a18

# JRE version: Java™ SE Runtime Environment (8.0_361) (build 1.8.0_361-b09)

# Java VM: Java HotSpot™ 64-Bit Server VM (25.361-b09 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

Can anyone help to fix this issue? Thanks a lot, in advance for your help.

Best,

Peter

platformio.ini is what?

Sorry, I don’t understand your question.

You wrote in the PlatformIO forum. I assume you’re thus using PlatformIO. Every PlatformIO project has a platformio.ini file in which you configure build and upload options. I want to see the contents of the platformio.ini with which the upload is failing for you.

1 Like

Ok! Thanks for the clarification. Following the platformio.ini:

[env:bluepill_f103c8]
platform = ststm32
board = bluepill_f103c8
framework = arduino
board_build.core = maple
upload_protocol = dfu

See

https://www.stm32duino.com/viewtopic.php?t=604

Thanks a lot for the link! I really appreciate it.

Hello

I could use a little more help to resolve the issue ‘EXCEPTION_ACCESS_VIOLATION (0xc0000005)’ while uploading to a STM32F108 on PIO.

The ‘maple_upload.bat’ and ‘platform.txt’ were modified according the description at ‘https://github.com/rogerclarkmelbourne/Arduino_STM32/commit/0484ef74ed1f98e4e67691c58470b06f538824d9’, but the error persists.

I get the same error when using the Arduino IDE 2.0.4. I would very much appreciate any help on this matter. Thanks a lot in advance!

Best,

Peter