Quantcast
Channel: C2000™︎ 微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 12199

关于LAUNCHXL-F28377S FLASH烧写

$
0
0

首先导入controlSUITE\device_support\F2837xS\v210\F2837xS_examples_Cpu1\blinky

然后选择LAUNCHXL_RAM,编译写入RAM,运行正常。

接下来改成LAUNCHXL_FLASH,编译正常,写入会出现:

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
C28xx_CPU1: Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 6.0.14.5)
IcePick_C_0: Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 6.0.14.5)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Breakpoint Manager: Unable to remove requested AET job
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
IcePick_C_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

或者卡在void InitFlash_Bank1(void)中的    Flash1EccRegs.ECC_ENABLE.bit.ENABLE = 0xA;

以前用相同内核的28075也是不能FLASH烧写。

请专家给予解释指导。


Viewing all articles
Browse latest Browse all 12199

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>