GithubHelp home page GithubHelp logo

darkluntic / nand_programmer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bbogush/nand_programmer

0.0 0.0 0.0 3.79 MB

NANDO - NAND Open programmer

License: GNU General Public License v3.0

Shell 0.03% Makefile 0.28% C 74.05% Assembly 15.68% HTML 2.43% C++ 6.29% QMake 0.09% Objective-C 0.08% Batchfile 0.02% Python 1.00% Qt Script 0.06%

nand_programmer's Introduction

NANDO (NANDopen) programmer

General

NANDO is open source NAND programmer based on STM32 processor. It supports parallel NAND and SPI flash programming.

PCB boards:

Application:

Features

  • USB interface
  • PC client software for Linux & Windows.
  • TSOP-48 socket adapter for NAND chip (compatible with TL866 adapter)
  • TSOP-48 solder adapter for NAND chip
  • 8 bit parallel NAND interface
  • SPI interface
  • 3.3V NAND power supply
  • NAND read,write and erase support
  • NAND read of chip ID support
  • NAND read of bad blocks
  • NAND bad block skip option
  • NAND include spare area option
  • Open KiCad PCB & Schematic
  • Open source code
  • Read & Write LEDs indication
  • Write speed: 512KBytes/s
  • Read speed: 640KBytes/s
  • Erase speed: 256MBytes/s
  • Extendable chip database
  • Chip autodetection
  • Firmware update

Supported chips

Parallel NAND:

K9F2G08U0C, HY27US08121B, TC58NVG2S3E, F59L2G81A, MX30LF2G18AC and others.

See full list of supported chips qt/nando_parallel_chip_db.csv

SPI flash

AT45DB021D, MX25L8006E, W25Q16JV and others.

See full list of supported chips qt/nando_spi_chip_db.csv

Release binaries

You can download host application deb package for Ubuntu/Windows installer, firmware binary for STM32, schematic and gerber files from here:

https://drive.google.com/drive/folders/1d5hP6MKbkEBGQe_xIRl4-A5LPt_-9QIN

License

In general the sorce code, PCB and schematic are under GPLv3 license but with limitations of:

firmware/libs/spl/CMSIS/License.doc

firmware/libs/spl/STM32_USB-FS-Device_Driver/ - http://www.st.com/software_license_agreement_liberty_v2

firmware/usb_cdc - http://www.st.com/software_license_agreement_liberty_v2

Build

Requirements

Linux based OS

Build firmware

  1. Download compiler and documents from Google Drive:

Burn firmware via SWD (ST-Link)

  • sudo apt-get install libusb-1.0-0-dev
  • cd ~/dev/
  • git clone https://github.com/texane/stlink.git
  • cd stlink/
  • mkdir -p build && cd build
  • cmake -DCMAKE_BUILD_TYPE=Release ..
  • sudo make install
  • sudo cp ../etc/udev/rules.d/* /etc/udev/rules.d/
  • sudo udevadm control --reload-rules
  • sudo udevadm trigger
  • connect ST-Link to board
  • cd ~/dev/nand_programmer/nand_programmer/firmware
  • st-flash write ./obj/prog.bin 0x8000000

Build host application

Linux

  • sudo apt-get install libboost-all-dev
  • Install Qt5.x
  • Open ~/dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
  • Go to Projects->Build->Build Steps->Add Build Step->Make. Add "install" to "Make arguments".
  • Build->Run qmake
  • Build->Build All
  • Build->Run

Windows

  • Install boost library from GoogleDriver archive under C:/boost/ or compile.
  • Install Qt5.x
  • Open ~/dev/nand_programmer/nand_programmer/qt/qt.pro with QtCreator.
  • Go to Projects->Build->Build Steps->Add Build Step->Make. Add "install" to "Make arguments".
  • Build->Run qmake
  • Build->Build All
  • Build->Run

Schematic and PCB

  • Install KiCad 5.0.1
  • Open ~/dev/nand_programmer/nand_programmer/kicad/nand_programmator.pro

Adding new chip

  • Go to Settings->Chip database
  • Press "+" button and fill out parameters from datasheet.

WiKi

Check WiKi page for more information.

nand_programmer's People

Contributors

alexgrach avatar bbogush avatar coflery avatar hpo14 avatar pilatomic avatar ubis 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.