KurtE
Senior Member+
I know yet another diversion,
but got tired of telling people for T3.x go edit serail1.c ... whenever they were finding their sketch did not work properly with the default buffer sizes, when in T4.x we have methods to increase the size on a per sketch basis.
So I am trying out adding this to the T3.x code base.
It is a little more of a pain as on T4, all of the hardware code is one class, so just needed to fix it once. Where as there is code and a class for each of the Hardware Serial objects so have to replicate the changes 7 times.
I have a first pass done, up in a branch: https://github.com/KurtE/cores/tree/T3X_SerialX_AddMemory
Right now I am in the process of debugging. Running into some strange things, which probably implies when duplicating the changes from one file to the next, I did not properly update something like the names of the MAX or registers or...
But hopefully soon.
One thing I running into now. Is the one case which reasonably different is Serial6 on T3.6 as it is it uses a completely different subsystem (LPUART instead of UART). And on the one T3.6 I have found in my box of stuff where I brought out the bottom pins, the USBToSerial is not echoing properly on this port. Actually even with the current released code. Maybe an issue on my one board, which may imply that I need to solder up another one...
But has anyone else have a T3.6 with the bottom pads brought out that can see if the current released Teensyduino works for Serial6 with the USBToSerial sketch?
Now back to debugging.
EDIT: Ran the pin test HiLow test and it does not see 48... So may try touch up of solder.
I have another one where the USB port is flaky... Does not work unless i press down certain spot of the USB... Will see if I have USB breakout board easily findable to plug into it.
But I may just punt and verify code still works when thumb on those for a couple of tests.
but got tired of telling people for T3.x go edit serail1.c ... whenever they were finding their sketch did not work properly with the default buffer sizes, when in T4.x we have methods to increase the size on a per sketch basis.
So I am trying out adding this to the T3.x code base.
It is a little more of a pain as on T4, all of the hardware code is one class, so just needed to fix it once. Where as there is code and a class for each of the Hardware Serial objects so have to replicate the changes 7 times.
I have a first pass done, up in a branch: https://github.com/KurtE/cores/tree/T3X_SerialX_AddMemory
Right now I am in the process of debugging. Running into some strange things, which probably implies when duplicating the changes from one file to the next, I did not properly update something like the names of the MAX or registers or...
But hopefully soon.
One thing I running into now. Is the one case which reasonably different is Serial6 on T3.6 as it is it uses a completely different subsystem (LPUART instead of UART). And on the one T3.6 I have found in my box of stuff where I brought out the bottom pins, the USBToSerial is not echoing properly on this port. Actually even with the current released code. Maybe an issue on my one board, which may imply that I need to solder up another one...
But has anyone else have a T3.6 with the bottom pads brought out that can see if the current released Teensyduino works for Serial6 with the USBToSerial sketch?
Now back to debugging.
EDIT: Ran the pin test HiLow test and it does not see 48... So may try touch up of solder.
I have another one where the USB port is flaky... Does not work unless i press down certain spot of the USB... Will see if I have USB breakout board easily findable to plug into it.
But I may just punt and verify code still works when thumb on those for a couple of tests.
Last edited: