Announcement

Collapse
No announcement yet.

SD card corruption in field

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

  • byndhlptom
    replied
    Paul

    Just an update.....

    The gods must be smiling, it seems to be working as needed now.

    It was a combination of updating the PmmC on the display (from R20 to R25), getting the correct version of the genie library loaded in the right directory, and typos in the geni. commands. I appreciate you hanging in there.

    Again, THANKS!

    Leave a comment:


  • pauleilio
    replied
    Great,

    Ok, let me look into that. I'll update you as soon as possible

    Paul

    Leave a comment:


  • byndhlptom
    replied
    I have the latest PmmC (R25) installed. That appears to fix the loading problem.

    Now I have to figure out why the Genie code to write to WriteIntLedDigits is erroring out in the Arduino compile. I have Genie Library 1.52 loaded, deleted earlier version, still getting a "class Genie has no member named "WriteIntLedDigits" ". It is never easy.....

    Leave a comment:


  • pauleilio
    replied
    Hi Tom,

    This appnote should help.

    https://docs.4dsystems.com.au/app-note/4D-AN-00036

    Best regards

    Paul

    Leave a comment:


  • byndhlptom
    replied
    Searching 4D website, I am getting no useful hits on "PmmC" updating" (they all are referencing display details). Is there a document that provides instructions for standalone updating?

    Leave a comment:


  • byndhlptom
    replied
    Not sure what I doing wrong then.... I define the new ILedDigits, run the Build, then power cycle then no displayed ILedDigits. Is there a different sequence for programming the Flash data?

    Ref the PmmC, the displays are new, purchased within the last 60 days. I will try to get the update done first of week, I'm on my friday..... the pc I'm using has no internet connection, so I will have to figure that one out

    Question 1. All the references I am finding are using ViSi as the programming examples. I have been using Genie for this project, but I can't seem to get this change to run on the display. Does Genie support the ILedDigitst functions 100%?

    Question 2. When using the ILedDigits, do they act the same as the LedDigits function? i.e, display a 0 with no input, etc.

    Thanks for being here.....

    tom

    Leave a comment:


  • pauleilio
    replied
    Hi,

    Thanks for sending the project. That works fine for me. It's possible that the PmmC of your display needs updating as you have updated Workshop.

    You can update the PmmC by clicking on PmmC Loader under the Tools tab.

    Leave the Mode set to Automatic and choose the Com Port of your display before clicking on Auto Update.

    Best regards

    Paul

    Leave a comment:


  • byndhlptom
    replied
    I have attached file

    Attached Files

    Leave a comment:


  • pauleilio
    replied
    Hi,

    Sorry to hear that.

    I'm not sure why that happened. Would you like zip your project and send it to me again and I will test it here.

    Best regards

    Paul

    Leave a comment:


  • byndhlptom
    replied
    I have replaced the LedDigits w/ the ILedDigits in the Workshop IDE. When I do a build, I get no errors, Loads files for text/strings to uSD. When repowering the 43D, I get the following error on 43D screen

    ADDRESS TRAP
    PS=543
    SP=-303
    UserHeap 29798
    SysHeap 11984

    I tried using /tools/Load Inherents into Flash5, it closes active Workshop4 window and does not appear to do anything. I'm suspecting that the internal digits are not getting loaded.....

    how far off am I?

    Leave a comment:


  • pauleilio
    replied
    Hi,

    You will need to use this to write to the Internal Led Digits

    genie.WriteIntLedDigits(x, value); // Sets ILedDigits x to integer value

    You may need to update your genieArduino library to the version on Github for this to work.

    Best regards

    Paul

    Leave a comment:


  • byndhlptom
    replied
    OK.....

    I was previously using this command line to update the values in LedDigitsxx "genie,WriteObject(GENIE_LEDDIGiTS, x , value)"

    If I add an "I" before LedDigits, I get a "IGENIE_LEDDIGITS not declared" error message when trying to compile (Arduino code)

    What hoops do I have to do to write to the ILedDigits widget?

    Since I am no longer loading the old LedDigits to the uSD, are they (ne ILedDigits) automatically loaded to the display during the build operation?

    I have done a search on your site for "Workshop4 Widgets Refence Manual", get no hits, so obviously I'm looking in wrong place.....

    Leave a comment:


  • byndhlptom
    replied
    Thank you, looks like I have some reading to do ;<)

    Leave a comment:


  • pauleilio
    replied
    Hi,

    Yes thats correct. I would imagine that the Led Digits updated more frequently and it's possible that your project will work better with these being handled internally

    This appnote may help with the ILedDigits

    https://docs.4dsystems.com.au/app-note/4D-AN-00204

    The GenieArduino library has been updated recently and is available here

    https://github.com/4dsystems/ViSi-Genie-Arduino-Library

    Also there is some additional information on this page that describes the writing to Internal Led Digits.

    Best regards

    Paul

    Leave a comment:


  • byndhlptom
    replied
    Just to make sure I am understanding.....

    I can use ILedDigits to reduce the read hits on the uSD, but the StaticText/Strings will still need be on the uSD?

    Is there something more than what's in the Workshop for Widgets manual as to how to use them (ILedDigits). The Widget manual doesn't explain the definition options at all (font options, size options, etc). Is there a specific Application note that explains this better?

    Can I write to the display like I was previously to update the ILedDigits?

    Do I have to add any Arduino code to enable the PmmC stuff?

    Thanks for hanging with me on this.......MUCH appreciated!

    Leave a comment:

Working...
X