You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2019/05/17 17:22:08 UTC

[mynewt-core] branch master updated: da1469x-dk-pro; 'mon reset' does not appear to reset the MCU completely at the end of download. Do that by writing to MCU register directly instead.

This is an automated email from the ASF dual-hosted git repository.

marko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 61caee0  da1469x-dk-pro; 'mon reset' does not appear to reset the MCU completely at the end of download. Do that by writing to MCU register directly instead.
     new 4862488  Merge pull request #1824 from mkiiskila/da1469x_dload_reset
61caee0 is described below

commit 61caee0ccf203eab71435b1887f3103a8902e177
Author: Marko Kiiskila <ma...@apache.org>
AuthorDate: Thu May 16 11:08:04 2019 -0700

    da1469x-dk-pro; 'mon reset' does not appear to reset the MCU
    completely at the end of download. Do that by writing to
    MCU register directly instead.
---
 hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh b/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh
index 4648fee..ecaf000 100755
--- a/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh
+++ b/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh
@@ -123,7 +123,9 @@ end
 fl_erase 0 $FLASH_OFFSET $FILE_SIZE
 fl_program $FILE_NAME 0 $FLASH_OFFSET
 
-mon reset
+# 'mon reset' does not appear to reset the board. Write to MCU register
+# directly instead.
+set *(int *)0x100C0050 = 1
 quit
 
 EOF