Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • SteveSFX's Avatar
    07-09-2022, 07:51 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Thought I should update on this thread. Been working a lot of hours, so only got back to it this morning. DEAD. Teensy 4.0 appears to be zapped and I have no idea why. Barely anything on the breadboard. So, I...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-30-2022, 08:03 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    I am completely re-breadboarding the whole project, and drawing the circuit diagram as I go to post here. I decided maybe the better option was to utilise the SPI1 and SPI2 ports on the Teensy 4, but now not so sure...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-29-2022, 05:59 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    OK. I thought I was explaining my issue well enough, but I will endeavour to draw out the circuit later tonight and put that up. To be fair, this thread is the whole project and not just this issue! I will return
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-28-2022, 10:09 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    It would appear that this flash IC is not behaving at all. All connected with a 10k pullup on the CS pin. All OK. Connect the SCK and the bus freezes. I'll grab some more 10k's tomorrow and look at that thread,...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-28-2022, 09:59 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    OK. I will grab some resistors in the morning and have a go. It must be the flash acting up, as the SD and screen play together fine (well.. that's my logic) Thanks
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-28-2022, 09:28 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    My concern is that it causes issues with any one of the SPI pins connected. Surely that would not be the case?
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-28-2022, 09:07 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    eh? Me thick. Not sure what is occuring. I have an SD module and the screen connected to the SPI pins. Each have their own CS. Added the flash IC and literally any of the flash SPI connections throws the...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-28-2022, 08:40 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Display working fine..... but Add in my W25Q128JV flash memory IC and the screen corrupts. Seems to be when I connect any of the SPI pins Just for sanity: W25Q128JV 1 = CS (has it's own chip select pin) 2 =...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-25-2022, 09:22 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    OK. SD card and filenames all sorted. Binned it all, found another system I have used before and we are all working. Gave up on the new screen library. The one I have works, so I will stick with that.
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-25-2022, 08:29 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Well I have a library called 'ILI9341_fonts-master' and it contains font_Arial.h. Yet... duplicate libraries and no compiling. Think my IDE is broken / a mess. Time to play Minecraft instead Multiple...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-25-2022, 08:20 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    This is what I had ... char PNG_FILENAME = "/TG2.png"; This is what I get In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:38:0, from...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-25-2022, 05:32 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Thanks. I think I sounded ungrateful there! I am not.... thank you for all your time and attention. It's user error 99.9% of the time!
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-25-2022, 04:45 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    OK. I did Google. I believe my method using char was correct, it just doesn't work with the png image display routine. Been fun, but progress is slow so time to park this for a while I think. Post 32.... New...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-24-2022, 09:50 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Err... stupid here again In my post #16 There is a line: #define PNG_FILENAME "/TG2.png" // Temp PNG file to load How the heck do I change that to a variable I can...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-22-2022, 08:56 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    OK. A bit of fiddling, and declaring the includes in a different order has resulted in success so far. I have managed to get it to compile with the code in post #15 with littleFS.h and MTP_teensy.h. New flash...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-22-2022, 08:43 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Deleted the repeated SD.h folder, so I assume it's using the correct one now. But, throws this up? AudioStreams? Eh? Build options changed, rebuilding all C:\Program Files...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-22-2022, 08:37 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Oh.... should have known I hadn't actually got it working. I will break it later then!
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-22-2022, 07:42 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Quite possibly it is using the wrong sd library, but does that matter? I hate changing things when it's working! As for all that faff trying to use other versions of the IDE..... life's too short! lol
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 09:06 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Arduino 1.8.9 Teensy 1.57 Beta1 (As required by the #include <MTP_Teensy.h> suggested above) Loathed to update my Arduino IDE because it breaks so many things. Above this version breaks quite a lot of my...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 06:58 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    As soon as I try to #include <MTP_Teensy.h> (I have upgraded to the latest Teensy loader) .... I get this faceful In file included from C:\Program Files...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 06:27 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Thanks for that. I will look into that further. After an afternoon of bashing through library after library with different issues with each one, I managed to cobble something together that works... Ignore all the...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 02:39 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Well I was tinkering with the Adafruit image loader that didn't complile. After Googling away, it turns out it also needs this library to work: https://github.com/adafruit/Adafruit_EPD Would be really helpful if...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 01:56 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    I didn't want to repeat what is being discussed on another thread.... but OK: This is the screen: GC9A01 https://www.amazon.co.uk/gp/product/B08V5538C6/ref=sw_img_1?smid=A3U321I9X7C9XA&th=1 This is my...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 12:53 PM
    Does anyone know what this commented code is for in the example? /*************************************** Start of Canvas (framebuffer) WHAT THE...
    38 replies | 1310 view(s)
  • SteveSFX's Avatar
    06-21-2022, 12:49 PM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Don't know! Lol I have an odd round display that is lovely, but being a pain to work with. I don't really know enough about flash comms to do this properly, so I am stabbing around in the dark a bit. The main...
    54 replies | 1582 view(s)
  • SteveSFX's Avatar
    06-21-2022, 12:46 PM
    Sorry... had the flu. Totally knocked for six it's 240x240. Just going to sit here now and see if I can make any headway
    38 replies | 1310 view(s)
  • SteveSFX's Avatar
    06-20-2022, 11:42 AM
    Can anyone point out what is wrong here (clearly alot).... #include <Arduino_GFX_Library.h> #include "flashloader.h" #include <SD.h> File root; #if defined(__IMXRT1052__) || defined(__IMXRT1062__) // PJRC...
    38 replies | 1310 view(s)
  • SteveSFX's Avatar
    06-20-2022, 10:46 AM
    I sent a whole evening on the LVGL stuff and got nowhere. I could not get anything to work (or even compile correctly). Trouble is, people have a go and then it's not kept up to date (at least that is what I find). ...
    38 replies | 1310 view(s)
  • SteveSFX's Avatar
    06-20-2022, 10:42 AM
    SteveSFX replied to a thread SD card on a 4.0 in Project Guidance
    Sorry... I was fishing... Direct connection to the SPI pins didn't work and stopped the Oled working (which is still playing up). I didn't want to use the direct SD card connections under the 4.0, as they are pain...
    54 replies | 1582 view(s)
No More Results
About SteveSFX

Basic Information

Statistics


Total Posts
Total Posts
233
Posts Per Day
0.22
Last Post
SD card on a 4.0 07-09-2022 07:51 PM
General Information
Last Activity
07-10-2022 04:09 PM
Join Date
09-16-2019