Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS212 Compatibility request #47

Open
gbraad opened this issue Mar 13, 2020 · 5 comments
Open

DS212 Compatibility request #47

gbraad opened this issue Mar 13, 2020 · 5 comments

Comments

@gbraad
Copy link

gbraad commented Mar 13, 2020

The DS212 hasn't seen an update since ever... basically since release. The hardware is lilkely similar, if not same as mlst of the other Miniware DSOs. It is offered here: http://www.minidso.com/forum.php?mod=viewthread&tid=1816&extra=page%3D1

What can be done to help/assist to get this device up to date?


CPU: STM32F303VC
LCD: ILI 9341

@gbraad
Copy link
Author

gbraad commented Mar 13, 2020

@raenye
Copy link

raenye commented May 22, 2020

DS212 has no FPGA, and MCU is STM32F303, instead of STM32F103 as in DS203/DS213/LA104.
But maybe some apps not using FPGA are still possible.

@gabonator
Copy link
Owner

Could be possibly used as low end usb oscilloscope, or signal generator (DS203/DS213 generates the signal using internal DAC in STM32). But I think DS212 is discontinued and there is no big motivation to expand support for this device. If there is a C++ programmer who owns DS212 and wishes to port the LA104 operating system onto it, I am ready to provide support. Currently it would give more sense to spend time on DS213 compatibility, since the DS203 is discontinued as well (the FPGA chip is not produced anymore)

@gbraad
Copy link
Author

gbraad commented May 22, 2020

discontinued

This is not the case. http://www.miniware.com.cn/product/ds212-mini-oscilloscope-digital-oscilloscope/ I am willing to look into this, but would like to know what would be the best way to start with this; build instructions, etc, first file to touch/look at, etc. but also, how best to approach debugging.

@gabonator
Copy link
Owner

Start with this project:
https://github.com/gabonator/LA104
You need to build OS host: https://github.com/gabonator/LA104/tree/master/system/os_host
Llook inside the building scripts, there is download link to arm toolchain. Try building with "build_ds203.sh" If you are using windows platform, you need to rewrite it into batch file. It should be easy, the script is short

Then create folder ds212 here:
https://github.com/gabonator/LA104/tree/master/system/os_host/source/bios
and implement "imports.c", take inspiration from DS203 which should be most similar to DS212 (https://github.com/gabonator/LA104/blob/master/system/os_host/source/bios/ds203/imports.c)

Basically - you only need to implement pixel drawing functions, eeprom access and access to buttons and switches and the system should run on any device based on STM32F103.

  1. download arm toolchain (the only thing you need for building the os and applications)
  2. try building LA104 system in os_host folder (to verify if your toolchain works)
  3. implement your lcd/eeprom/button functions
  4. try building shell (file manager - https://github.com/gabonator/LA104/tree/master/system/apps_shell/test29_fileman)
  5. upload it to your device
  6. implement ADC functions and try building the oscilloscope application (https://github.com/gabonator/LA104/tree/master/system/apps_ds213/55_gabosc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants