Forum Rule: Always post complete source code & details to reproduce any issue!
-
Senior Member
This is very strange. Without seeing the code, very hard to guess why it's doing this.
But I do see it's in the early stage where Arduino is running "gcc -E" to discover which libraries are needed. Maybe it's an issue with the arduino builder program?
Any chance you could give the latest Arduino 1.8.3 are try? On Windows, you can download the ZIP file and extract is somewhere else on your PC, so it doesn't uninstall the copy you already have. Just remember where you put it, since you'll need to navigate to it when running the installer. Also pay attention to the title bar which shows the version, since you'll have 2 copies of Arduino on your PC and they look similar except the title bar.
-
section `.bss' will not fit in region `RAM'
In Arduino Uno I launched the TinyBasic Plus program, although it worked with quite a bit of RAM.
I changed Uno to Teensy 3.2 with lots of SRAM. What was my surprise when after limiting the buffer for the SD card, I got to work the same SRAM as the UNO.
Where is the mistake. In Teensy 3.2 I use this program Tiny Basic Plus ver 1.3
https://github.com/DGxInfinitY/Teensy3.2
The problem is for 137beta4 and 138 beta2.
errors - ld.exe: region `RAM' overflowed by 1108 bytes
Teensy-TinyBASICPlus-v1.3.ino.elf section `.bss' will not fit in region `RAM'
Program data: Arduino: 1.8.3 (Windows 7), TD: 1.38-beta2, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"
Last edited by spairo; 07-04-2017 at 07:54 PM.
-
if file Sd_t3.h in line 35 is comment // #define USE_TEENSY3_OPTIMIZED_CODE
all software datalogger, dumpfile, files, listfile, readwrite and cardinfo is full working.
but Tiny Basic Plus not reading and writing to/from SD card.
example from ReadWrite:
Initializing SD card...initialization done.
Writing to test.txt., word 1, A, #.done.
read test.txt:
1000 testing 1, 2, 3.
63000 testing 1, A, 3.
testing 1, A, #.
- after uncomment Sd_t3.h in line 35 #define USE_TEENSY3_OPTIMIZED_CODE
Tiny Basic plus is reading, not writing.
all software datalogger, dumpfile, files, listfile, readwrite and cardinfo is reading but not writing to SD card.
example for this:
Initializing SD card...initialization done.
Writing to test.txt., word 1, A, *.done.
read test.txt:
1000 testing 1, 2, 3.
63000 testing 1, A, 3.
testing 1, A, #.
Testing on 137beta3.
-
Senior Member

Originally Posted by
spairo
but Tiny Basic Plus not reading and writing to/from SD card.
Are you sure reading isn't working?
The optimized versions does not support writing. But it does read. Have you tested with a program that only reads?
-
from tiny Basic Plus
// #define USE_TEENSY3_OPTIMIZED_CODE
HELLO
Teensy TinyBASICPlus v1.3.1
57636 bytes free.
2048 EEProm bytes total.
OK
>files
OK
#define USE_TEENSY3_OPTIMIZED_CODE
HELLO
Teensy TinyBASICPlus v1.3.1
57636 bytes free.
2048 EEProm bytes total.
OK
>files
0
AUTORUN.INF 16
TEST.TXT 65
1.BAS 41
11.BAS 13
DATALOG.TXT 1264
DATA1.TXT 635
TEST1.TXT 637
OK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules