Skip to content

Change flash write to always use word write (_USE_WORD_WRITE_) #1

Description

@msproul

In the initial debugging, there was a problem with some chips did not work the write way for flash timing. Originally this was limited to certain lots of chips that MIKROE had. The work around was to use word_write instead of block write (NVMProgram).

Since this problem seems to be occurring on more versions of the chips it has been suggested (by Rich T and Jacob C) to make it the default

Mark

Activity

  1. msproul commented on Dec 4, 2011

    @msproul
    ContributorAuthor

    This has been primarily a problem on the USB bootloader but may need fixing here as well

    Mark

  2. guymc commented on Dec 6, 2011

    @guymc

    This work-around probably results in much slower programming than is actually necessary.

    As I recall, the PIC32 programming spec has been updated to specify a 6 uS delay that solves the block write problem. If you need help chasing down this documentation, please let me know.

    Guy

  3. sunilhalvi commented on May 2, 2017

    @sunilhalvi

    6uS delay works, is there any explanation for this, why does flash driver APIs doesn't function well if USB drivers are used?

  4. EmbeddedMan commented on May 2, 2017

    @EmbeddedMan
    Member

    Sunilhalvi, - can you be more specific about what doesn't work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions