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...
Type: Posts; User: defragster
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...
As long as there is a clean and easy way to include or enable it it sells itself - having a lib in the CORES would be awesome to just add #include 'something'. As noted I started working on it in...
As noted in p#23 - if I'm reading the 'picture' right and the notes about no active components: I don't see that as an option - to use the ribbon without a magjack - or cabling punchdown wires direct...
Interesting - well it is an otherwise empty function - may it gets optimized away :) ???
Could do a normal non-debug build and add a static var and use a stack var to get it and change it in some...
Interesting that is failing to trigger on code over filling the stack? It is a 32 Byte(?) region? Maybe the recursive code isn't reading|writing to it to trigger but just stepping over it?
Have...
@KurtE - just came back here to read the posting below - wonder if this is what is bugging the T_4.x remote memory PCB? The solder is there but 'iffy'?
Odd the icon hover 'text' says "Thumbs...
<edit>: I agree this should be provided in the core with a way to activate it for display on boot. Working on this in prior Beta's (with debug_tt) it seemed like it would be useful - but there were...
Based on only the included image - that looks like just a way to panel mount a connector to take signals to a punch down block - or like a wall socket fixture - an alternative to in wall wiring -...
Quite welcome. The comments in bold are not in the code - added for help with clarification - easier to read than 700 preceding posts as it all developed.
Look at the LFSintegrity sketch - it has #ifdef for all the known MEDIA types:
//#define TEST_RAM // can be PSRAM or smaller in processor RAM1 or RAM2
//#define TEST_SPI // this is Propshield...