You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/06/13 21:48:02 UTC
[GitHub] [mynewt-core] iandmorris opened a new pull request #1877:
bsp/dialog_da1469x-dk-pro: Fix download to empty flash
iandmorris opened a new pull request #1877: bsp/dialog_da1469x-dk-pro: Fix download to empty flash
URL: https://github.com/apache/mynewt-core/pull/1877
If a valid image is present in flash then the ROM based bootloader
configures the QSPI controller using values found in the product header.
If an image is not present this configuration does not take place. This
causes problems if an application is running out of RAM and needs to
read the flash in QSPI automode. For example if the flash loader
application is loaded into RAM on a board containing a blank flash then
it is able to erase and program the flash as these operations take place
in SPI mode. However it is not able to read the flash as a memory mapped
device because the QSPI controller has not been configured with valid
read commands for use in automode. The inability to read the flash
causes the verify performed as part of the programming process to fail.
This fix resolves this issue by writing the read commands into the
relevant registers when the download script is exected.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services