Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
msproul opened this issue Dec 4, 2011 · 4 comments
Open

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

msproul opened this issue Dec 4, 2011 · 4 comments

Comments

@msproul
Copy link
Contributor

msproul commented Dec 4, 2011

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

@msproul
Copy link
Contributor Author

msproul commented Dec 4, 2011

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

Mark

@guymc
Copy link

guymc commented Dec 6, 2011

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

@sunilhalvi
Copy link

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

@EmbeddedMan
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants