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

[复制链接]
 楼主| 100058 发表于 2016-12-24 15:56 | 显示全部楼层 |阅读模式
有些地方程序升级不方面使用在线升级,考虑可以进行串口升级程序,因此特征求利用蓝牙将hex文件发送芯片进行升级,对这一块比较盲目,求指导?
dirtwillfly 发表于 2016-12-24 18:12 | 显示全部楼层
可以参考这个gprs升级的案例:http://www.docin.com/p-712211785.html
道理都是一样的,只不过gprs模块换成了蓝牙模块
dongbaohui 发表于 2016-12-24 20:50 | 显示全部楼层
本质上还是串口升级,搞定串口的升级就OK了。
chuntian2016 发表于 2016-12-25 21:02 | 显示全部楼层
蓝牙只是进行数据的传输的,升级的话还是MCU进行的
jimmhu 发表于 2016-12-26 22:35 | 显示全部楼层
好像是只能串口对C2000升级。
jimmhu 发表于 2016-12-26 22:36 | 显示全部楼层
需不需要修改BootLoader?
qiufengsd 发表于 2016-12-27 17:02 | 显示全部楼层
28xx可以通过串口进行程序下载。
qiufengsd 发表于 2016-12-27 17:03 | 显示全部楼层
楼主可以试试直接进行串口输出下载程序。
lefeng 发表于 2016-12-27 20:28 | 显示全部楼层
蓝牙用来数据传输,升级还是串口吧
pklong 发表于 2016-12-28 21:30 | 显示全部楼层
串口发送数据,实现更新升级。
pklong 发表于 2016-12-28 21:31 | 显示全部楼层
这个28xx可以通过串口进行程序升级。
myiclife 发表于 2016-12-28 22:12 | 显示全部楼层
串口能够升级程序吗?
myiclife 发表于 2016-12-28 22:14 | 显示全部楼层
想通过GPRS直接更新程序代码试试。
jkl21 发表于 2016-12-29 21:18 | 显示全部楼层
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,单击红色按钮。
jkl21 发表于 2016-12-29 21:24 | 显示全部楼层
是串口下载程序的代码。
sanfuzi 发表于 2016-12-30 21:47 | 显示全部楼层
串口升级程序速度怎么样?
sanfuzi 发表于 2016-12-30 21:48 | 显示全部楼层
需要后面加上校验码吗?
dzfansman 发表于 2016-12-31 16:59 | 显示全部楼层
串口输出的效果怎么样
dzfansman 发表于 2016-12-31 17:01 | 显示全部楼层
C2000的产品串口更新程序需要固定的程序才行。
selongli 发表于 2017-1-2 21:03 | 显示全部楼层
串口升级可以通过软件进行升级。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

2

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部