Announcement

Collapse
No announcement yet.

Problem accessing gen4-iod-32T SD Card from Workshop 4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pauleilio
    replied
    Hi,

    I can't seem to find a datasheet fro the Gigastone SD but the criteria for the SD to work correctly is that they should be SPI compatible.
    Kingston may be for the same reason but they do state SPI compatible.
    With the SD card being OK from the uLCD-70DT it may be that the SD card needs to be formatted to FAT16. You can try this by using the RMPet Tool under the Tools tab in Workshop with on of the Kingston cards.

    The SD Library card has had many changes in the ESP8266 core and previously it did support FAT32 but this may have changed with the recent update but I will have to test to confirm.

    Regards

    Paul

    Leave a comment:


  • Thierry MIS
    replied
    Hi,
    the first is 2G Gigastone(read write OK on the computer) but fail
    2: Kingston (W/R OK on the computer) but Fail
    3 : 16Gb no name (W/R Ok) : fail
    i try with a old sd card on uld70dt and IT IS OK
    i don't know why
    if you have an idea on the problem of the sd .....
    Regards

    Leave a comment:


  • pauleilio
    replied
    Hi,

    Thanks for that,

    I would initially suspect the SD card but you mentioned previously that you tried 3 SD cards. Are all the SD cards from the same manufacturer ?

    Best regards

    Paul
    Last edited by pauleilio; 21 June 2021, 08:06 PM.

    Leave a comment:


  • Thierry MIS
    replied
    Hello Paul,
    the result is SD Mount Fail

    Leave a comment:


  • pauleilio
    replied
    Thank you for the images, everything looks fine. Could you please try entering the following code and upload to the IoD


    Code:
    #include "ESP8266WiFi.h"
    #include "GFX4d.h"
    
    GFX4d gfx = GFX4d();
    
    void setup() {
    
    gfx.begin();
    gfx.Cls();
    gfx.ScrollEnable(true);
    gfx.BacklightOn(true);
    gfx.Orientation(PORTRAIT);
    gfx.SmoothScrollSpeed(5);
    gfx.TextColor(WHITE); gfx.Font(2); gfx.TextSize(1);
    if(gfx.CheckSD()){
    gfx.print("SD Mount Success");
    } else {
    gfx.print("SD Mount Fail");
    }
    
    }
    
    void loop() {
    
    yield();
    
    }

    Leave a comment:


  • Thierry MIS
    replied
    Click image for larger version

Name:	IMG_20210618_115848_606.jpg
Views:	57
Size:	2.85 MB
ID:	76136
    Attached Files

    Leave a comment:


  • pauleilio
    replied
    Ok Thanks

    Would it be possible to send me a photo of the display on and also an image of the rear of the IoD

    Leave a comment:


  • Thierry MIS
    replied
    hi,
    the version is OK (3.0.0)
    the GFX is https://github.com/4dsystems/GFX4d
    no errors and the files are on the SD
    there is no image before and after reset

    Regards

    Leave a comment:


  • pauleilio
    replied
    Hi,

    Thank you for the update. The example works fine for me so there may be another issue.
    The GFX4d lirary has been updated to be compatible with ESP8266 core 3.0.0 so if your core isn't 3.0.0 could you please try to update.
    When the project compiles and you remove the SD card from the display and insert it into your PC the Copy Confirmation box appears and you click on uSD Copy are there any errors at this stage ?
    If not and you re-insert the SD card in the IoD do the images appear after a reset or power cycle ?

    Best regards

    Paul

    Leave a comment:


  • Thierry MIS
    replied
    Hi,
    i test the other ewample and it is the same : no picture,
    Regards

    Leave a comment:


  • pauleilio
    replied
    Ok, thanks for letting me know. I will test the Demo and update you as soon as possible. You will find another example in,

    C:\Program Files (x86)\Arduino\libraries\GFX4d\src\Examples\coolgaugeiod

    There are also some other examples in the Arduino IDE Examples/GFX4 section some of which use SD graphics also which need to be copied onto the SD card.

    Best regards

    Paul
    Last edited by pauleilio; 18 June 2021, 06:38 PM.

    Leave a comment:


  • Thierry MIS
    replied
    Hi,
    the project is your demo project :WidgetsWSDemo
    i just receive the IOD card to day but i don't have the picture on the screen
    i test with 3 usd card but it is the same ...
    teh compile is ok, the file is on the card, but noting, only the text "M"

    Leave a comment:


  • pauleilio
    replied
    Hi Thierry,

    Welcome to the forum,

    Would it be possible to send me your project so I can test here. You can zip your project by clicking on File then Zip Project and just send the zip to me.

    Best regards

    Paul

    Leave a comment:


  • Thierry MIS
    replied
    Hello,
    i follow this discuss but on my kit i have an other problem,
    the picture of the usd card don't want to display on the screen !
    i have the text but none picture
    Have you an idea ?
    Regards
    Thierry

    Leave a comment:


  • James_4DSystems
    commented on 's reply
    Thanks Colin - This is a fairly recent App Note, and yes it was not quite right with the keywords, thanks for pointing that out. More have been added and its been added to the Product page too. Its not really a Getting Started Manual like we typically do them, which likely is why it didnt get put on the product page, as its an Appnote. Anyway, hopefully now its a bit more searchable. Thanks for the feedback.
Working...
X