📄 programflash.txt
字号:
烧写程序到Flash的修改:
1、修改工程配置项
i)在Flash 中运行程序
Project >Settings ->Linker >General category >Linker script file: set as ..\common\Flash.ld
注意:Project >Settings ->Linker >Image Entry Options 分类的Select entry file项设置为:
44binit.o,即从44binit.s 中启动;
ii)拷贝Flash 程序到RAM 中运行
Project >Settings ->Linker >General category >Linker script file: set as ..\common\ram_ice.ld
注意:Project >Settings ->Linker >Image Entry Options 分类的Select entry file项设置为:
44binit_flash.o,即从44binit_flash.s 中启动;
2、重新编译工程,使用elf2bin工具产生BIN文件;
3、运行Flash Programmer,按照实际情况配置调试设备:
Setting -> configure...
4、点击Open 菜单,打开配置文件S3CEV40\EmbestS3CEV40.cfg,给出烧写目标文件即可。
===============================================================================
How to program image into FLASH:
1) modify the Project settings:
i) run in Flash
Project >Settings ->Linker >General category >Linker script file: set as ..\common\Flash.ld
Note: Linker >Image Entry Options:
Select entry file as: 44binit.o, startup from 44binit.s
ii) copy Flash CODE to RAM
Project >Settings ->Linker >General category >Linker script file: set as ..\common\ram_ice.ld
Note: Linker >Image Entry Options:
Select entry file as: 44binit_flash.o (startup from 44binit_flash.s)
2) rebuild the project, then "Tools -> elf2bin" (or excute command base DOS system)
to gerate the flat bin format file (under current project directory \Debug);
3) "Tools -> Flash Programmer" (or excute the file EmbestIDE\Tools\FlashProgrammer\FlashProgrammer.exe),
Click "Setting -> configure..." to configure the remote target device settings.
4) After running Flash Programmer, click "File -> Open" to select the configuration file:
S3CEV40\EmbestS3CEV40.cfg
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -