[SOLVED] Does J-Flash skip writes 0xFF if the all of one block data are 0xFF at WorkFlash of Traveo2?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Does J-Flash skip writes 0xFF if the all of one block data are 0xFF at WorkFlash of Traveo2?

    Hello,
    I try to write 0xFF to WorkFlash of Traveo2 MCU to avoid the ECC error by using J-Flash.
    But I got verify error after write 0xFF to WorkFlash. (See attached JFlash.log line 151-158, 302-309)

    Test case1 : All WorkFlash area is 0xFF.
    address 0x14000000 - 0x14017FFF are 0xFF.
    -> Verify Error at address 0x14000000.
    Test case2 : Part of WorkFlash area is 0xFF.
    address 0x14000000 - 0x1400FFFF are 0x01(not 0xFF data).
    address 0x14010000 - 0x14017FFF are 0xFF.
    -> Verify Error at address 0x14010000).

    Q1:Does J-Flash skip writes 0xFF if the all of one block data are 0xFF at WorkFlash of Traveo2?
    According to above test result, it seems that the J-Flash skip the 0xFF writing, if all of the one block data is 0xFF.
    Q2:If Q1 is YES, Can I write 0xFF to WorkFlash of Traveo2 by J-Flash?

    J-Flash Version : V8.10c, V8.10b, V7.98c
    Target MCU : Infineon CYT2B73CAD

    I attached my test environment. To know the detail refer to this files.
    T2GDownload.jflash
    JFlash.log
    Files
    • T2GDownload.jflash

      (2.22 kB, downloaded 839 times, last: )
    • JFlash.log

      (15.06 kB, downloaded 1,142 times, last: )
  • Hello,

    By default, J-Flash skips writing 0xFF to an erased area when the erase value is also 0xFF.
    You can disable this option by unchecking "Skip Blank Data" under Options -> Project Settings -> Performance.

    Best regards,
    Simon
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.