Git Product home page Git Product logo

ds213_echo's Introduction

DS213_ECHO

This is a customized DS213 APP firmware with Roll Mode support. Based on the official app firmware v1.27, and fixed some bugs.

What is Roll Mode?

On an oscilloscope, roll mode is a method of displaying acquired waveform data without waiting for the complete waveform record. For example, if a sweep was 10 divisions long with a rate of one second per division, and roll mode wasn’t available, it would take 10 seconds to fill the waveform record. But using roll mode, the oscilloscope will immediately begin displaying results rather than waiting the full 10 seconds.

Video Demo

Toolchain

The firmware is built on GNU Arm Embedded Toolchain. Both Windows and Linux are tested.

on Windows:

arm-none-eabi-gcc --version
arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.
2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

on Linux(Ubuntu 18.04):

arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

FLASH Layout

The MCU of DS213 is STM32F103VET6, with 512kB(0x80000) FLASH. The FLASH layout is as follows:

Name Start Length
DFU 0x08000000 0x08000
APP 0x08008000 0x68000
FPGA 0x08070000 0x0D800
LOGO 0x0807D800 8310

Firmware Update Procedure

  1. Enter DS213 DFU mode.
  2. Copy FPGA_CFG.ADR to DFU disk, Then the DFU disk will restart.
  3. Copy STMU_213_018.bin to DFU disk, Then the DFU disk will restart.
  4. Copy DS213_ECHO_v20.12.25.hex to DFU disk.
  5. Restart DS213.

There are no address information in the .bin file, so we put a .ADR file to DFU disk to setup the firmware start address. That's what step 2 did. However, the .hex file contains address information, we don't need a .ADR file. If your DS213 is using the official latest firmware, the FPGA is latest 018 version, you can omit step 2 and 3.

ds213_echo's People

Contributors

xjtuecho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ds213_echo's Issues

ROLL mode reset Xpos to the beginning

When ROLL mode is selected while scrolling through the modes. The Xpos (viewing windows x position) is reset to the beginning/left. All other modes keeps Xpos as is and it's not wanted behavior

Latest Firmware

Hello, the manual says:
Copy DS213_ECHO_v20.12.25.hex to DFU disk.
The Release folder contains DS213_ECHO_v20.11.25.hex and DS213_ECHO_v20.11.26.hex.
Which one do I end up installing?

update failure - README text mistake

hi @xjtuecho

really appreciate the work and effort :)

I have just checked out your latest update and it didn't flash correclty.
I get an error on the final part (DS213_ECHO_v20.11.25) and I think it's because you might ahve not pushed a new hex.
Your read me clearly states DS213_ECHO_v20.12.25.hex but the last checked in hex is 20.11.26

everything else goes through:

  • FPGA_CFG.USE
  • STMU_213_018.rdy

hope you have some new binaries to push

thanks
ubi

[Solved] How to build the firmware?

Hey,
I'm not familiar with arm-none-eabi-gcc or how to build SMT32 firmware. Could you give some link to a tutorial or maybe write guide how to build this repository? Do I need STM32CubeIDE or VSCode is just as good and building is done through CLI?

If I'd figure out I would update README with step by step tutorial for others too. Also I want to do some minor changes to the code.

Any help is appreciated

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.