I am having weird issues, adding a function call from one file (serial handler) to another file's function that just has a Serial.println in it causes my teensy4.1 to fail to "live". By live I mean the serial port (/dev/ttyACM0) doesn't show up and I get no response on the ethernet.
I'm using a makefile to build and upload, and there's this part of the output:
assuming those are in bytes, we're under the 8MB and 1MB flash/RAM limits shown here:
https://www.pjrc.com/teensy/techspecs.html
but I'm not sure I'm interpreting that correctly.
At this point since there's no JTAG interface, I'm at a loss for how to go about debugging where things are going (so horribly) wrong.
I'm using a makefile to build and upload, and there's this part of the output:
Code:
$ make upload
-e [CXX] src/serial.cpp
-e [LD] mytoy.elf
-e [HEX] mytoy.hex
text data bss dec hex filename
305456 39132 334756 679344 a5db0 mytoy.elf
assuming those are in bytes, we're under the 8MB and 1MB flash/RAM limits shown here:
https://www.pjrc.com/teensy/techspecs.html
but I'm not sure I'm interpreting that correctly.
At this point since there's no JTAG interface, I'm at a loss for how to go about debugging where things are going (so horribly) wrong.