求DSPF2806X系列通过蓝牙串口进行程序升级方法

2019-07-19 13:00发布

有些地方程序升级不方面使用在线升级,考虑可以进行串口升级程序,因此特征求利用蓝牙将hex文件发送芯片进行升级,对这一块比较盲目,求指导?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
19条回答
jkl21
1楼-- · 2019-07-20 20:27
F2812 串口烧写操作步骤及配置
1.      先安装sdf28xx_v3_3_serial,安装时按照默认路径安装,与CCS3.3安装路径相同;

2.      安装SDFlash 软件:SetupCCSPlatinum_v30329,安装路径与CCS3.3安装路径相同;

3. 编辑sdopts.cfg文件,此文件存放在你所安装的windows的System32目录下
  (1)用记事本的方式打开sdopts.cfg
  (2)在"# End of sdopts.cfg”前加入如下文本:

[EmulatorId=C1]
EmuPortAddr=0xC1
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH
[EmulatorId=C2]
EmuPortAddr=0xC2
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH

[EmulatorId=C3]
EmuPortAddr=0xC3
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH

[EmulatorId=C4]
EmuPortAddr=0xC4
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH

3.      利用串口线连接DSP与PC机;配置F2812为从SCI-A的启动模式,复位时:GPIOF4=0   GPIOF12=0 GPIOF3=1 GPIOF2=1;

4.      打开SDFlash,路径为:C:CCStudio_v3.3specdigsdflashbin下SDFlash.exe,如下图所示。




5.      打开F2812SerialFlash.sdp工程,

路径:C:CCStudio_v3.3specdigsdflashmyprojectssdf28xx_v3_3_serialf2812




6.      打开Project-Settings菜单,对工程进行配置,


_ Driver: This must point to F281xRS232Flash.dll (for F281x devices), to

F280xRS232Flash.dll (for F280x, F2801x, and F2804x), or to

F2833xRS232Flash.dll (for F2833x and F2823x devices).



_ Emulator Address/ID: This is the COM port on your PC that you are using to

connect to the DSP. If COM1, COM2, COM3 and COM4 do not appear as

options, modify the sdopts.cfg file as described previously in step 4.



_ Board file: Leave as ccBrd028x.dat



_ Processor name: Leave as cpu_0





Algorithm File: Use the same algorithm file that you specified on the Erase Tab.

_ Flash Data File: This is the .out file that you want to program into the flash.

_ Timeout: Leave as 0. This option has been superseded by Programming User

Options 4.

_ User Options 1 through 3: Unused.

_ User Options 4: : Program acknowledge retry specifier. After sending the DSP

a packet of data to program into the flash, the PC runs a loop that checks for a

program acknowledge from the DSP. This option controls the maximum number

of times the PC will loop. It can generally be left at the default value of 0.




Algorithm File: Use the same algorithm file that you specified on the Erase Tab.

_ Timeout: Leave as 0.

_ User Options 1 and 2: Unused.

Note: In the JTAG version of SDFlash, these options specify the wait-states for

the OTP and Flash memory to be set before the verify operation starts. The

serial version of SDFlash does not use these options however, and instead the

wait-states remain set to their reset defaults (which are the maximum values).

_ User Options 3 and 4: Unused



8.保存SDFlash工程,


9.DSP上电或复位,以启动SCI-A模式



10. 复位SDFlash,单击红 {MOD}按钮。
jkl21
2楼-- · 2019-07-20 21:05
是串口下载程序的代码。
sanfuzi
3楼-- · 2019-07-21 01:37
串口升级程序速度怎么样?
sanfuzi
4楼-- · 2019-07-21 06:58
 精彩回答 2  元偷偷看……
dzfansman
5楼-- · 2019-07-21 09:30
串口输出的效果怎么样
dzfansman
6楼-- · 2019-07-21 14:00
C2000的产品串口更新程序需要固定的程序才行。

一周热门 更多>