This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] EK-TM4C123GXL:使用 UniFlash 对 UserRegister0和 UserRegister1进行编程失败..

Guru**** 2465700 points
Other Parts Discussed in Thread: UNIFLASH

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/660394/ek-tm4c123gxl-programming-userregister0-and-userregister1-with-uniflash-fails

器件型号:EK-TM4C123GXL
主题中讨论的其他器件:UNIFLASH

大家好、我正在尝试  使用命令行对 UserRegister0和 UserRegister1寄存器进行编程。 我有以下 int 命令:

/dlite -c user_files/configs/tm4c123gh6a.ccxml -s FlashUserRegister0Input=12345678 -s FlashUserRegister0Commit=true -s FlashUserRegister1Input=87654321 -s FlashUserRegister1Commit=true -b UserRegister0 -b UserReadRegister1 -a UserReadRegister1 -a UserRegister1 -a UserReadUserRegister1 

我的第一个问题是大部分时间命令崩溃。 这是典型会话的输出、在该会话中、我必须运行命令三次才能完成。

第一次尝试:

执行以下命令
:>"C:\Users\Workbench\Desktop\Lars\uniflash_windows_64\CCS_base\DebugServer\bin\DSLite" flash -c user_files/configs/tm4c123gh6M.ccxml -s FlashRegister0Input=12345678 -s UserFlashRegister0Commit=true -c UserRegistered/configs/tm4c123gh6b.ccxml -UserRegisterRegister0Input=true -0_UserRead_UserRegister0_0_UserRegister0Commit=true -0_0_UserRead_0_UserRead_0_UserRead_0_UserRead_0_UserRead_0_0_0Commit=true

processors.wiki.ti.com/.../UniFlash_v4_Quick_Guide



,用户读数-0=0=true,用户名-UserRead_4_0_UserRead_0_UserRead_0_0_0_UserRead_0=0_User
INFO:Cortex_M4_0:将0x12345678写入用户寄存

器0信息:Cortex_M4_0:已编程的值被提交到用户寄存器0信息:Cortex_M4_0:操作成功完成。
INFO:Cortex_M4_0:用户寄存器操作...
INFO:Cortex_M4_0:将0x87654321写入用户寄存器 

然后它就会退出。

第二次尝试;

执行以下命令
:>"C:\Users\Workbench\Desktop\Lars\uniflash_windows_64\CCS_base\DebugServer\bin\DSLite" flash -c user_files/configs/tm4c123gh6M.ccxml -s FlashRegister0Input=12345678 -s UserFlashRegister0Commit=true -c UserReadRegister/configs/tm4c123gh6b.ccxml -UserRegisterRegister0Input=true -0_UserReadUserRegister0 -4c.0_UserRead_UserRead_0Commit=true -0_0_UserRead_0=true

,有关详细信息,请访问 UserReadUserReadUserReadUserRead_0_1M1M=0_0_UserRead_0_UserRead_0=0_UserRead_0_UserRead_UserRegister processors.wiki.ti.com/.../UniFlash_v4_Quick_Guide


然后它就会退出。  

第三次尝试;

执行以下命令
:>"C:\Users\Workbench\Desktop\Lars\uniflash_windows_64\CCS_base\DebugServer\bin\DSLite" flash -c user_files/configs/tm4c123gh6M.ccxml -s FlashRegister0Input=12345678 -s UserFlashRegister0Commit=true -c UserRegistered/configs/tm4c123gh6b.ccxml -UserRegisterRegister0Input=true -0_UserRead_UserRegister0_0_UserRegister0Commit=true -0_0_UserRead_0_UserRead_0_UserRead_0_UserRead_0_UserRead_0_0_0Commit=true

processors.wiki.ti.com/.../UniFlash_v4_Quick_Guide



,用户读数-0=0=true,用户名-UserRead_4_0_UserRead_0_UserRead_0_0_0_UserRead_0=0_User
INFO:Cortex_M4_0:将0x12345678写入用户寄存

器0信息:Cortex_M4_0:已编程的值被提交到用户寄存器0信息:Cortex_M4_0:操作成功完成。
INFO:Cortex_M4_0:用户寄存器操作...
INFO:Cortex_M4_0:将0x87654321写入用户寄存

器1信息:Cortex_M4_0:已编程值提交到用户寄存器1信息:Cortex_M4_0:操作已成功完成。
INFO:Cortex_M4_0:用户寄存器操作...
INFO:Cortex_M4_0:用户寄存
器0值:0xFFFFFFFF 信息:Cortex_M4_0:操作成功完成。
INFO:Cortex_M4_0:用户寄存器操作...
INFO:Cortex_M4_0:用户寄存
器1值:0x2244220 INFO:Cortex_M4_0:操作成功完成。 

这次它完成了命令、但寄存器未被成功写入。

如果我使用 LM 闪存编程器、我可以毫无问题地对两个寄存器进行编程和回读。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    此问题最近由另一个用户报告、Uniflash 似乎有错误-我将检查是否已提交错误报告。

    参考:
    e2e.ti.com/.../2411329

    很抱歉、
    拉斐尔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    已提交错误编号 CCBT-2207。 在大约1小时内、您可以在下面我的签名中的链接 SDOWP 中查看其状态。

    给您带来的不便、我深表歉意、
    拉斐尔