Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash over 64K #1

Open
AntonioFromBrazil opened this issue Aug 18, 2020 · 0 comments
Open

Crash over 64K #1

AntonioFromBrazil opened this issue Aug 18, 2020 · 0 comments

Comments

@AntonioFromBrazil
Copy link
Owner

I am using an STM32F103CBT6 generic board, with 128K Flash and 20K RAM. My sketchs are being compiled with the Arduino IDE 1.8.13, using the Roger Clark's core. The compiller recognoize 20480 bytes of RAM (I am using only ~5K) and 131072 bytes as the maximum memory for programm but if the programm size go over 64k it crashs... It did not even start... It seams that the compiller is not managing address over 0x0800FFFF since the sketch crashs as soon as it sizes cross over that border. Bellow is a output issued at end of compillation (less than 64k). Is it possible to be a bug in the core ? Tks, Antonio


http://stm32flash.googlecode.com/
Using Parser : Raw BINARY
Interface serial_w32: 115200 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)

  • RAM : 20KiB (512b reserved by bootloader)
  • Flash : 128KiB (sector size: 4x1024)
  • Option RAM : 16b
  • System RAM : 2KiB
    Write to memory
    Erasing memory
    Wrote address 0x0800fb38 (100.00%) Done.
    Starting execution at address 0x08000000... done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant