Yes, just back to desk and I see email arrived. Will be a couple hours and I'll give it a look. 107 is free here ...
Type: Posts; User: defragster
Yes, just back to desk and I see email arrived. Will be a couple hours and I'll give it a look. 107 is free here ...
Thought so - but had to ask if is was near done and might line up with TD 1.54 now it is incorporated for awesome improvement - those write rates in P#33 are better than the old SD read rates.
...
Started to write ... that but the p#6 SNIPPET showed attachInterrupt() after pinMode()'s there - yes - that is how it should be done
Great news Paul - big difference supporting a known system with (fixed) BOM for in house builds - versus supporting a generic range of items like FLASH chips.
@Bill Greiman - is there a feel for the coincidence of the 2.0.5 b1 timeline being weeks away from release that might coincide with TD 1.54 for use as SD.h ? ... both of course being unknown? Or is...
Snippets are usually a distraction - better to have the whole code posted if it can't be cut down to a smaller sketch that effectively shows the problem - that's why this :: Forum Rule: Always post...
Not indicated how many RGB LED's are in use? A photo showing the connections might help.
Quick guess based on something observed here : that GND wire may be feeding large return current through...
With this edit in ...\hardware\teensy\avr\libraries\SdFat\src\SdCard\SdioTeensy.cpp:
static void enableGPIO(bool enable) {
const uint32_t CLOCK_MASK = IOMUXC_SW_PAD_CTL_PAD_PKE |
#if...
Good luck, if you get a working example posting it may help others and show how to use this feature.
Had hope that AN would show the 'enable' KurtE mentions, even if for wrong processor - if it...
My EE buddy did that for a high school science project in 1980. Put his TRS-80 on a wheeled robot platform he built - focused light on an open top chip and navigated based on the chip's view of the...
First glance it should be easier on the 1062 with external flash? As long as all needed code for the Flash writes is RAM resident - which user code is by default. But again that is not how the...
As noted in p#6 - Frank personally wrote such a 'code from SD' - so that was based on experience doing that and a great understanding of the Teensy programming process, not a coin toss - or anything...
Quick note - the T_4.0 doesn't have a separate AGND - so the other note to 'throw in another' would be needed.
Not seen this come up before - but did find this app note for a different freescale/NXP processor : nxp.com/docs/en/application-note/AN5245.pdf
If the 1062 can support it as desired those notes...
not crushed, i.e. discarded without reason - just noting a few hurdles making it non-trivial. One of which is the bootloader has one function and limited connectivity only to processor and none to...
Tested to work - Using a T_4.0 with loglow/TallDog T_4.0 board PCB to present SDIO pins to an SD socket.
That does not have PSRAM - but with reduced BUFFER it will use processor memory instead...
Indeed - even if that were a supported way to upload - where today it only via USB upload - it would take some orchestration overhead to ONLY do it once and not reProgram every time if the SD card...
Added #ifdef note to the PR on the Greiman repository ... tested compile on T_4.1 - but not to run on T_4.0
Indeed that change makes this work in setup():
while(runTest(1));
So this need changed and also the :: "#if defined(ARDUINO_TEENSY41) "
Should also include :: #if...
That is in the spot of code noted in p#14.
Those "#if defined(ARDUINO_TEENSY41) " in "static void enableGPIO(bool enable) {" would preclude that from working on Teensy 4.0 with SDIO soldered on...
Closest is the below in : ...\hardware\teensy\avr\libraries\SdFat\src\SdCard\SdioTeensy.cpp
#elif defined(__IMXRT1062__)...
Not finding : SDHC_ReleaseGPIO()
In TD 1.54 sources here?
Edited the code to work with TD 1.54 b5:
#include <SD.h>
#include <SPI.h>
//...
Also note - there have been posts like "tried Paul's PSRAM test and it passed" - but then other usage fails until solder joints are reflowed or cleaned.
Noted as: "large file named TESTFILE.BIN" -...
Have not seen this noted as done or tried or done it here.
The TeensyDuino 1.54 Beta 5 has integrated a release version ( not Beta ) of the Greiman SdFat to replace the standard SD library.
Not...
The T_4.1 uses 480 Mbps USB. As presented (if I read right) by @KD5RXT-mark there is less disturbance and rerouting of the USB 'D' signal lines where it seems they are uninterrupted from the original...
That's great. When the version to release is assembled I'll look to get back and test it out when the code to be included is known and in one place.
Having the 1062 bootloader chip ready for the...
Anything that provides simple info logging would be cool. As noted your On_Restart T_4 display is an awesome extension for HardFaults.
That's where I got bogged down - tying to add generic debug...
Things like that seem like a good addition to take the mystery out of a Teensy that 'just stops' - it doesn't generally happen - but when such things do happen it is an opaque puzzle.
And future...
Forum search on "SCB_AIRCR" will find it liberally noted back to T_3.0 days IIRC - one might have comforting details - again IIRC from reading it is the common ARM way to do it.
For an advanced view of 1062's DMA and GPIO see : (arduino)\hardware\teensy\avr\libraries\OctoWS2811\OctoWS2811_imxrt.cpp
There are some other comments - but this is the biggest one:
//...
Nice work! >> and colon >> characters: ":/0123456789" and space.
Updated Post #1 -
PJRC/Paul has indicated it is NOT planning to produce a public WIKI.
There is a GROWING USER WIKI :: TeensyUser/doc/wiki
> please look and participate there.
@Paul - possible to add a note for NativeEthernet on the T_4.1 hardware page? The hardware is discussed - but no link to the library to use for support ... recent user post made note of that ...
Here is that library thread :: T4-1-Ethernet-Library
There is a software reset function FrankB just noted in this post:
That need to send the 'address array' is where the Teensy's MAC will be written when the code shown above is executed. 'just supply' means allocate the needed 6 byte variable and pass to the...
That is impressive and clean, nice looking hand work on the panel cover graphic!
There is overhead with the tests and I/O write/read, mask shift and test - I should have looked more at the code before guessing speed. Also it isn't using FAST versions ( given the pin isn't CONST...
I had not seen that before - interesting - it might clock near or above 60 MHz for each byte?
Did not look at the data sheet either to see how fast it can cycle - or the daisy chain setup -...
That code is 2013 and looks like it refers to bit banging the exchange in the second code snippet? If it can work manually and not using the SPI engine for the transfer then the bit bang code is in...
Okay, I had just glanced at the comments on the pin #'s (and saw i2s comments) before posting - then the 'red notes' on the FLEXIO mux set. So potential issue is not because the are mux'able to...
Just to make sure at a glance what that is showing - the issue is using those pins 35,36,37 is in conflict because they have FLEXIO2 conflict with QSPI usage?
TD 1.54 Beta 6 will be out in some days and will have some stable version of LittleFS included - maybe by the time the chip arrives. That will have all the setup and operation commands needed to...
No, PSRAM is not needed to add FLASH. They are independent and either or both can be used.
Hopefully the comments in this code snippet point to a chip that has been tested and used that can be...
That looks to be the needed change in what looks to be the correct file.
Unless there are multiple copies of TeensyDuino installed and the edit was not made in the location used? Or for some...
There is this library that allows working with the On/Off :: github.com/FrankBoesing/T4_PowerButton
The examples show usage - it was recently updated to catch and show FAULTS as well.
Good work @mjs513 - I typed on github asking about that ... but never hit post I saw today ... too many distractions ...
Wish I had known about the 2Gb NAND digikey had with last order so I don't...
Indeed maybe not ... I think you'd have to hook the warn callback and make a note of that in the static RAM. Then if it went OVERTEMP and restarted - not sure if that is a reported FAULT? If it is...
Pretty sure Panel mount for the ethernet was not considered. It was just a desktop test proof of concept/function that works in that situation.
No those boards don't offer any good mounting...