Announcement

Collapse
No announcement yet.

Writing to a specific byte in a Flashbank

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

  • Writing to a specific byte in a Flashbank

    Hello,

    I'm currently programming a Gen4-uLCD-70DCT-CLB and i want to be able to access and write to specific bytes in for example flashbank 4 (FLASHBANK_4).

    Is this possible?

    I'm imagining that there should be a writing equivalent to the function flash_GetByte() (used to read a specific byte in a flashbank).

  • #2
    Hi CDang,

    Welcome to the forum!

    This forum post can help you: How implement List in 4DGL
    In the forum example, it uses the flash function flash_WriteBlock. This function copies a 2kbyte buffer to the required flashbank in block 0-15.

    For for more information about flash functions, you may look at the DIABLO16 Internal Functions Manual under Flash Memory Chip Functions Section.

    Hope this helps and Best Regards,
    Eran

    Comment

    Working...
    X