-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ruiwarn/mcu_bsdiff_upgrade …
…into master
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# 简介 | ||
适用于嵌入式单片机的差分升级库,通用所有单片机,如stm32、华大、复旦微、瑞萨等。适合嵌入式的差分升级又叫增量升级,顾名思义就是通过差分算法将源版本与目标版本之间差异的部分提取出来制作成差分包,然后在设备通过还原算法将差异部分在源版本上进行还原从而升级成目标版本的过程。 差分升级方案不仅可以节省MCU内部的资源空间、还可以节省下载流程及下载和升级过程中的功耗。技术支持vx 18219255930,qq791314247 | ||
|
||
我将readme类似内容放在了我的博客: | ||
|
||
[代码说明:https://blog.csdn.net/qq_35333978/article/details/128211763?spm=1001.2014.3001.5501](https://blog.csdn.net/qq_35333978/article/details/128211763?spm=1001.2014.3001.5501) | ||
|
||
PS:很多人调不通99%都是因为申请内存那里有问题,要么malloc是自己写的、移植的有问题,要么就是给的堆内存不够。该套源码很多人用了很多工程都没问题的,基本无bug,如果调不通,注意以下几点: | ||
1. 可以先用malloc测试,堆内存给20k以上,如果想缩减也是可以,需要修改源码每次还原的长度小一点,目前每次还原1k。 | ||
2. 检查堆、栈,如果调不通,可以先给比较大的值测试,基本不是堆就是栈的问题,源码是没有问题的,大量人测试过的。 | ||
2. 检查堆、栈,如果调不通,可以先给比较大的值测试,基本不是堆就是栈的问题,源码是没有问题的,大量人测试过的。 |