The Integrate worked for the IDE 1.x installation.
The use with platform.local.txt is very good and the added --delegate still uses the PJRC Loader for upload. Got that added when the T_4.x LOCKABLE went into Beta. Though @Koromix has recently...
I added the platform.local.txt to the Arduino AppData\Local\... with
tools.teensyloader.cmd.path=C:\Program Files (x86)\TyTools\TyCommanderC.exe
tools.teensyloader.upload.pattern="{cmd.path}" upload --autostart --wait --delegate...
Sorry for taking so long to get back. I have a 121GW multimeter from EEVBlog. It's an awesome meter and a little pricey.
For the specific task you are looking at this video does a good job of explaining the issues. The 121GW does the same...
Hi everyone,
I’d like to share a failure case I ran into, in the hope it helps someone else.
About a week ago I received my new Teensy 4.1 (ordered from Antratek, model TEENSY41-NE-PINS). I’ve been experimenting with it since then and was very...
Yikes, that is unexpected and unfortunate!
Anything in particular going on at the time? Is that specific to Program/PCB Flash?
The 'Test Integrity' in examples ran some series of read write verify with file create and delete for hours and...
Except for RAM they all call out to that?
static int static_erase(const struct lfs_config *c, lfs_block_t block) {
//Serial.printf(" flash er: block=%d\n", block);
return ((LittleFS_SPIFlash *)(c->context))->erase(block);
}
Good! :: formatUnused() was written with that 'Pre-Erase' in mind!
Odd there is a perf diff as the code already has blockIsBlank() check before erase? Maybe there is another path?
int LittleFS_SPIFlash::erase(lfs_block_t block)
{
if (!port)...
Well I got it working... but the results aren't great. Here's the reason why:
This is the timing for the flash memory's suspend command. tSUS is defined as a "maximum" (meaning it has to be implemented as a minimum delay) of 20 microseconds...
Yup, I agree. Once I get the first include to find the correct SD.h, the rest should follow.
I wish that I understood where it WAS going to and why. I'll keep working on it. Christmas is coming and more free time!
Thanks.
Have any alternate source PSRAM been acquired or seen to work?
After some years of PSRAM use this is the first note where this type of issue was reported.
The only occasionally recurring issue was due to unclean soldering where good soldering...
Having an alternate copy of the SD files when it properly works should never be needed, and will prove the solution.
it would be best to work through this without any efforts toward sabotage of the expected use.
Those alternate errors will point...
I'm running a quick test here on the board with both chips. Monitoring current with the simple display on my bench power supply.
Here's a photo when I started. The current has increased slightly over about an hour, now showing 0.111 and...
Sounds like good sleuthing on your part.
An increase in current could indicate that the chip is going into latch-up. If that happens it would probably get warm or hot due to the increased current flow. If it doesn't destroy the chip, that...
Yes, but don't expect the battery to last more than a couple of months. It's ok for keeping the clock over short power outages but for long term preservation a dedicated RTC is still better.
As per https://github.com/PaulStoffregen/USBHost_t36/issues/87, devices should be given 2ms to process a SetAddress request before sending more requests. That lines up with the timing here.
Now I've committed the second part which restructures the enumeration code to be able to recover from errors.
So far it doesn't do anything fancy, just retries any failed communication up to 25 times. That seems to be plenty for Raspberry Pi...
Haven't looked in some time - but goal was to keep same what could be. Only 3.3V signals welcome.
Compare the PJRC cards - they are more alike than different as far as the pins - though ALT/secondary options not so much maybe?
LOCKABLE is special...
Is the build setting the appropriate teensy one of these to have BUILTIN_SD defined?
#if defined(__MK64FX512__) || defined(__MK66FX1M0__) || defined(__IMXRT1062__)
#define BUILTIN_SDCARD 254
#endif
As FreeRTOS has already overridden yield(), that’s not going to work, just cause a linker error…
I’m not a big fan of all the yield calls buried in the various libraries. I believe the reasoning is that they ensure some (rather specific) set of...
see p#3 - following not applicable to RTOS usage.
yield() calls process background Serial and EventResponder items. It has been optimized and really shouldn't be anything like 1 or 2 ms as it can be called millions of times per second when there...
I wonder if they're sanding the labelling off 1.8V parts? That would probably cause issues, which might take a while to show up. It doesn't really matter - I'd be contacting DigiKey for a refund, they really shouldn't be shipping sanded-off chips...
Using the 16 MB PSRAM units just delivered - quick sketch edit from p#20 is below. Changed LittleFS, added print of external_psram_size.
> LittleFS_QSPI myfsFlash;
One is 16+16 and the other is 16 plus 2Gb FLASH - with the edit NAND or NOR...
Quick test - seems the p#127 code - two T_4.1's 16 and 16+16 PSRAM installed by @KenHahn:
EXTMEM Memory Test, 32 MByte (16+16)
CCM_CBCMR=95AE8304 (105.6 MHz)
Pre-fetch is disabled
...
test ran for 145.28 seconds
All memory tests passed :)...
I am running your test in post #20 on a setup with an 8MB PSRAM and the same Flash as you have.
It has been running for 45 minutes so far without any issue. I'll let it run for awhile to see if anything shows up.
The PSRAM that Adafruit...
PSRAM is Adafruit sold by Digikey; the code is in my first post. I'm using Teensyduino 1.59 with both Arduino 1.8.16 and Arduino 2.3.6 with the same results. I have attached a basic connection test
re p#143:: Indeed, PJRC did first 8MB PSRAM (and FLASH) with functional safe conservative settings.
Doing the same to allow 16 MB to be "usable" would be a best starting point. Users can edit as needed before a next release if it works for them...
For the 8MB parts, the datasheet says:
For the ISSI 16MB parts, we're told:
So the stress test needs to ensure that there are plenty of burst reads or writes which could cross the 1024-byte page boundaries. The original PSRAM test doesn't...
You haven't yet said which Teensyduino version you're using - this is quite important.
Also, looking at your image of the parts you've fitted, the PSRAM part number is unreadable, so much so that it appears to have been deliberately removed. I...
@KenHahn sent a dual 16MB PSRAM T_4.1 that should arrive in the next 12-24 hours.
I noted a planned alternate test here, and to Ken, that using the PJRC PSRAM test on #1 16MB then doing a copy of #1 to #2 and then doing the verify on the #2 16MB...
After a number of frustrating delays, these 16MB PSRAM parts are finally available. The chip mfr had to do a chip run to complete the order which took longer than they originally planned.
ProtoSupplies.com will add these as additional order...
I delayed as long as I could!
@h4yn0nnym0u5e and @jmarsh were working on the prefetch stuff as noted above starting in post #127 and captured in https://github.com/PaulStoffregen/cores/pull/708. Prefetch is a nice speed improvement, but the...
not sure about part #'s - but looking at the Mathy parts 128 .vs. 64
??? https://www.digikey.com/en/products/detail/winbond-electronics/W25Q128JVSIQ/5803943
Memory Size
128Mbit
Memory Organization
16M x 8...
Is this the same sketch on both - or a unique sketch?
One way is install IDE 1 and IDE 2 and build the unique Teensy in each.
7 years ago this https://github.com/Defragster/Tset was a good way to use an external editor that could execute batch...
Not just EDGE - other browser here is BRAVE - both built on g00gle chromium - Just checked and it reports the same. Only diff is the TIME as reported on the same date.
Vivaldi: Built using Chromium, but different from Chrome
What should you make...
@defragster - if you want a large test case / challenge, you could try using it with the AudioPlatform software. I think Donald said it was getting close to running out of RAM
I've been seeing some odd browser issues involving multiple sites, including this one. It's affecting multiple PCs on my home network.
It's only affecting MS Edge, when not using inPrivate mode.
What typically happens is I'll either enter the URL...
I've added the following utility option in QNEthernet to link in this function:
Change QNETHERNET_PROVIDE_GNU_VERBOSE_TERMINATE_HANDLER from 0 to 1 in src/qnethernet_opts.h.