Giter Site home page Giter Site logo

smalixing / mcu_bsdiff_upgrade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruiwarn/mcu_bsdiff_upgrade

0.0 0.0 0.0 75 KB

适用于嵌入式单片机的差分升级库,通用所有单片机,如stm32、华大、复旦微、瑞萨等。适合嵌入式的差分升级又叫增量升级,顾名思义就是通过差分算法将源版本与目标版本之间差异的部分提取出来制作成差分包,然后在设备通过还原算法将差异部分在源版本上进行还原从而升级成目标版本的过程。 差分升级方案不仅可以节省MCU内部的资源空间、还可以节省下载流程及下载和升级过程中的功耗。技术支持vx 18219255930

Home Page: https://gitee.com/link?target=https%3A%2F%2Fblog.csdn.net%2Fqq_35333978%2Farticle%2Fdetails%2F128211763%3Fspm%3D1001.2014.3001.5501

License: GNU Affero General Public License v3.0

C 100.00%

mcu_bsdiff_upgrade's Introduction

简介

适用于嵌入式单片机的差分升级库,通用所有单片机,如stm32、华大、复旦微、瑞萨等。适合嵌入式的差分升级又叫增量升级,顾名思义就是通过差分算法将源版本与目标版本之间差异的部分提取出来制作成差分包,然后在设备通过还原算法将差异部分在源版本上进行还原从而升级成目标版本的过程。 差分升级方案不仅可以节省MCU内部的资源空间、还可以节省下载流程及下载和升级过程中的功耗。技术支持vx 18219255930,qq791314247

我将readme类似内容放在了我的博客:

代码说明:https://blog.csdn.net/qq_35333978/article/details/128211763?spm=1001.2014.3001.5501

PS:很多人调不通99%都是因为申请内存那里有问题,要么malloc是自己写的、移植的有问题,要么就是给的堆内存不够。该套源码很多人用了很多工程都没问题的,基本无bug,如果调不通,注意以下几点:

  1. 可以先用malloc测试,堆内存给20k以上,如果想缩减也是可以,需要修改源码每次还原的长度小一点,目前每次还原1k。
  2. 检查堆、栈,如果调不通,可以先给比较大的值测试,基本不是堆就是栈的问题,源码是没有问题的,大量人测试过的。

mcu_bsdiff_upgrade's People

Contributors

791314247 avatar urixie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.