Other Parts Discussed in Thread: MSPM0C1104, UNIFLASH, LP-MSPM0C1104
器件型号: MSPM0C1104
Thread 中讨论的其他器件: UNIFLASH
您好的团队、
我的客户正在开发 M0C1104、他们发现问题如下。
重复步骤:
1.Compiled 是“flash_bsl“演示工程、并生成 flash_bsl.out 文件。
C:\ti\mspm0_sdk_2_10_00_04\examples\nortos\LP_MSPM0C1104\bsl\flash_bsl、 需进行以下修改。
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
index 99f26c0..81a6803 100644
--- a/.settings/org.eclipse.core.resources.prefs
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -1,2 +1,6 @@
eclipse.preferences.version=1
+encoding//Debug/makefile=UTF-8
+encoding//Debug/sources.mk=UTF-8
+encoding//Debug/subdir_rules.mk=UTF-8
+encoding//Debug/subdir_vars.mk=UTF-8
encoding/<project>=UTF-8
diff --git a/boot_config.h b/boot_config.h
index bff7dd4..3ae99b2 100644
--- a/boot_config.h
+++ b/boot_config.h
@@ -67,9 +67,10 @@
#define DEF_I2C_SDA_MUX ((uint8_t) 3)
:...skipping...
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
index 99f26c0..81a6803 100644
--- a/.settings/org.eclipse.core.resources.prefs
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -1,2 +1,6 @@
eclipse.preferences.version=1
+encoding//Debug/makefile=UTF-8
+encoding//Debug/sources.mk=UTF-8
+encoding//Debug/subdir_rules.mk=UTF-8
+encoding//Debug/subdir_vars.mk=UTF-8
encoding/<project>=UTF-8
diff --git a/boot_config.h b/boot_config.h
index bff7dd4..3ae99b2 100644
--- a/boot_config.h
+++ b/boot_config.h
@@ -67,9 +67,10 @@
#define DEF_I2C_SDA_MUX ((uint8_t) 3)
#define DEF_I2C_SCL_PAD ((uint8_t) 11)
#define DEF_I2C_SCL_MUX ((uint8_t) 4)
-#define BSL_CFG_I2C_SLAVE_ADDRESS ((uint8_t) 0x48)
+#define BSL_CFG_I2C_SLAVE_ADDRESS ((uint8_t) 0x61)
/* INVOCATION PIN Config */
+// btn
#define DEFAULT_BSL_PIN_INVOCATION_DATA0 ((uint8_t) 0x93)
#define DEFAULT_BSL_PIN_INVOCATION_DATA1 ((uint8_t) 0x12)
diff --git a/flashBSL_modules.h b/flashBSL_modules.h
index ea07489..b438d5b 100644
--- a/flashBSL_modules.h
+++ b/flashBSL_modules.h
@@ -44,8 +44,8 @@
* Interfaces available for BSL Communication
* Can select only one Interface
* */
-#define UART_INTERFACE ENABLE
-#define I2C_INTERFACE DISABLE
+#define UART_INTERFACE DISABLE
+#define I2C_INTERFACE ENABLE
/*
* Select invocation mechanisms for Flash BSL
(END)
2.using CCR20.5.0 将 FLASH_BSL.OUT 刷写到器件中
遇到以下错误:“闪存编程器错误:尝试在不擦除的情况下写入 NONMAIN。“
要恢复、我使用随附屏幕截图中所示的配置通过 UniFlash 重新刷写了完整的应用程序映像。

5.加载过程似乎已成功完成,没有报告任何错误。
但 M0C1104 无法检测任何 I2C 器件。 M0C1104 似乎无法正常工作。
6.但是,由于该操作,设备不再接受任何新的固件上传—每次后续尝试都会立即失败,并显示以下错误:

是否有办法恢复设备? 任何指导都将非常感谢!
