This thread appears to have a life of its own! Here is my 2 cents worth... Probably worth about that much:
If your arrays are initialized as part of the build process and are larger than can fit into RAM1 and as such you need to put them into...
It was always claimed 'Read Only' but worked when last checked with this code last edit Feb 2023.
...
// LAST PRINT
printf( "End of Free ITCM = %u [%X] \n", ptrFreeITCM + sizeofFreeITCM, ptrFreeITCM + sizeofFreeITCM);
// This now causes...
It is (mostly) transparent; when you fetch a byte from PSRAM, the entire 32-byte cacheline containing that byte will be fetched into the cache. Subsequent reads/writes will use the cache until the cacheline is evicted, either manually or by being...
Any idea how this cache works? I'm assuming it would only cache specific memory that it has accessed.
My completely untested theory (and probably wrong) was if you were even accessing only 50% of the items out of order in the array on psram it...
A one line CORES edit can make the unused RAM1/ITCM 'padding' available as "READWRITE".
In the example above that area is over 30 KB - but can be less than 1KB depending on the build.
This risks self(virus)-modifying code or the dangers of...
@jmarsh - was it a post you made showing at least one build/source edit that dropped ITCM code by some measurable amount? Having to do with C++ reservation or other [fault or output stubs?]?
It would be best to work on building to reduce the...
@jmarsh p#37 notes details on the cache - ideally the 32KB cache is designed to most effectively afford efficient access with minimal overreading and only writing back changed blocks. Profiling and use case might show the cache being less than...
@Lesept ...
@Dogbone06 has put forth a design with 32 MB of SDRAM with PJRC Bootloader. There is a thread or two dedicated to that, as well as some other with display and camera usage. It is based on Teensy MicroMod since it uses a 16 MB Flash...
Hey folks, I'm happy to report I was able to create a custom teensy with sdram using this thread as a reference 😁
I was already in the throws of designing a custom teensy board that had usb host, usb device, and microsd all on a single edge...
Normally I don't comment on future products, but I can in this case confirm no new Teensy is currently in development. The focus for 2024 is software, both new features and catching up to a massive backlog of contributions and suggestions and...
@KurtE - Finally have the shield soldered up except for the three 14 pin single inline female connectors. Still waiting for them (Aug 15th). Took me a while but it's working. Had lot's of soldapult usage :D It's nice to be able to have just one...
Thanks for the heads up. Maybe we should use your config file as the standard config to work off of. It's more inline with the shield and other variations. What do you think?
I know that feeling!
Note: if you look at my schematic for the board, you will see two pins swapped (in names only)
Sorry not very good drawing letters with mouse..
I have a mucked up version of your RA8876_config_8080.h file:
/*...
Had the same thought - makes it easier especially since this morning I got nailed with the pin swap because I forgot about it. We had it defaulted correctly in the sketches
The Teensy has had a lot of display options, including: ILI9341, ILI948x, HX8357, ST7735/ST7789, RA8875, RA8876, ...
But most of our support up till now has only been using the SPI interface. 😉
But if you have the shield assembled, you can simply plug the RA8876 into the connector on it :D
Also hopefully Monday should have my order from OSHPark, that is new attempt at adapter to convert that RA8876 connection
into an Buydisplay ILI9488...
I think I can cut a small notch in the plastic between the 28 and 4 pin connectors. If I am right, that should allow the tension of the bending PCB to close the gap. Hopefully;) Right now I am in the middle of finishing up the RA8876 24-bit color...
I've been a fan of the Samtec SSQ line of sockets for a couple decades now. When I started ordering more than a few parts, I found Samtec to be very small-business-friendly. I still have a few dozen socket strips left from production runs...
If it worked for you it will work for me:D Thanks Kurt. I new I should not have been so quick to wire it back up again:oops:
Been working on 32-bit color...
It's because both the threading library and the sdram library use startup_middle_hook. I submitted a PR for this (to allow multiple hooks) and was told libraries shouldn't use the startup hooks at all, but there is no other feasible option to...
@jmarsh - Finally got to test your latest USBHost library on the MicroMod and DevBoard 5 with device type set to Micromod in Arduino. It works on both boards:D
LUN 0: 241660916 sectors of 512 bytes each
LUN 0: 241660916 sectors of 512 bytes each...
Yes, bridge the center to the pad near the other USB to power it from the 5V supply, or to the other pad to power it from the PD chip (which requires external power).
Has anybody tried to get USBHost working yet? I see three pads by the UBC connector that are unconnected. One outer pad seems to go to USB OTG connector and the outer pad on the other side seems to the power supply next to the blue connector. Am...
Been slowly testing the cameras - so far only 3 tested since we have both CSI and FLEX. Will add to this list as I go through them
Camera
Flex
CSI
OV5640
Works
Works
OV7675
Works
Only 'n' option works reliably, Video Pixelates fast like...
Just programmed it with variant DB5 Code4Code @582 MHz and it's running happily with the enhanced MCU Volt clockspeed.
15028110 nor ns: @582 Completed CASCADE Count 4000 deg C=46 Pass#77
Cascading took 5880247 us [3400431752 piCycles]...
Been using the DevBrd5 with @KurtE's shield to test the propshield and RA8876 with no issues. So next step was to test the Audio Adapter with the DB5. Ran the play wav file example which reads from the SDCard on the adapter and plays wav files...
So lengths of 32 are available? I assumed 28+4 was used because the run of pins was shortened (from ~40 or whatever the earlier boards had) and those were the only lengths available to make up the required size.
Been there... Done that.....
What I did was to start the header pins like you, but don't push them all the way in. Then position the shield. Then sort of force the 4 pin parts into the proper place to get into the holes.... Then push the...
Ran into a problem with the DB5 and @KurtE DB5 shield :(
On the DB5 the long female headers have two 28 pin and two 4 pin connectors. On each side is a 28 pin and a 4 pin connector. Unfortunately the point where the two connector housings meet...
@wwatson - @KurtE
Was curious about adapting some of the existing graphics libraries like @KrisKasprzak ILI9341_t3_controls library that allows drawing of graphs, bar charts etc, found here
https://github.com/KrisKasprzak/ILI9341_t3_controls...
Assumed that was the case on seeing the @wwatson posted error ... Would be nice to have the 'best' resolution for SDRAM init in common use - if possible. Not sure if there is any real difference - though recall @jmarsh noted early LUT programming?
I believe I just copied the linker script from what your earlier stuff was... If there is an error with it, if there is a problem with it
or something was updated after that point, let me know,,,