Closed crteensy closed 7 years ago
Strange I just used on my 3.6, use the Serial Plotter also.
I tried again:
Is it possible that you made some changes locally that are not yet pushed to github?
I'll check, what speed and optimization levels are you using?
180 MHz, "Faster"
Just updated the library and tried the memory layout example on the 3.6/Faster/180MHz and it works for me.
Still doesn't work for me. I downloaded a fresh copy of the library, restarted arduino, replugged the Teensy - no luck. It might be my hardware then, or something totally different.
Same observations on a Teensy 3.2, 72 MHz, Faster!
Maybe try to increase the stack sizes, and what version of Teensyduino are you using, I'm using 1.38 beta2.
Teensyduino 1.39 release. I can't try it right now with increased stack sizes but I'll get back to it later today
I can confirm Teensyduino 1.39 breaks Zilch! I have to see what changed since 1.38 beta2. Kind of annoying!
funky: the simple Zilch example doesn't work either, but a sketch I wrote myself does. I even doubled the stack size in the simple example. Both the simple example and my sketch use AllocateMemoryPool(), task.create() and task.begin().
it's really obscure. I now use freeMemory() in my application and it works as intended. It's just the examples that don't run.
I think its all this event stuff paul added to the core which should be a library that gets added if I want it, now I have figure out some work around.
Yes there was a discussion about yield() which might be relevant but I wasn't sure
It was that yield problem, looks like paul going to have fix soon. But if you want to fix it now, FrankB's patch works.
With the linked patch applied it works on T3.6 (memory layout example, simple example and own sketch).
When I compile the memory usage example for the teensy 3.6 and download it, USB Serial is not available and I can't see any results.