NanoFlashProg: Difference between revisions

From lechacal
Jump to navigation Jump to search
Line 52: Line 52:
We recommend downloading uboot from [http://projects.dymacz.pl/?dir=u-boot_mod pepe2k] repository. [https://github.com/pepe2k/u-boot_mod Github link].
We recommend downloading uboot from [http://projects.dymacz.pl/?dir=u-boot_mod pepe2k] repository. [https://github.com/pepe2k/u-boot_mod Github link].


You must erase the chip before flashing uboot. At the prompt type '''e''' and enter. Then answer '''y''' at confirmation. This will take around 6 seconds to complete.
You must erase the chip before flashing uboot. At the prompt type '''e''' and enter. Then answer '''y''' to confirm (or anything else to cancel). This will take around 6 seconds to complete.


  > e
  > e

Revision as of 18:18, 20 July 2018

Overview

link to the shop

The NanoFlashProg is an Flash programmer using Arduino Nano.

Currently supported chips are:

  • Winbond 25Q128FV

This has been particularly designed to flash uboot bootloader on SPI Flash chips.

Hardware

The NanoFlashProg shield fit on an Arduino Nano. The full kit has:

  • Mini USB port for serial comm.
  • 8 pin connector for connection with socket programmer.

Sketch

Software

A terminal emulator is required to communicate with the programmer. We recommend Cutecom. HyperTerminal or similar will also work as long as the emulator is able to send a file.

Usage

Connect to the programmer using settings 115200 8N1.

On connection the programmer will introduce itself and offer a prompt.

NanoFlashProg v1.0.0
Type h for help
> 

Pressing h and enter will show the help.

> h
R - Read page
D - Dump page
W - Write File
I - Chip Info
E - Chip Erase
H - Help
>

Flashing Uboot

We recommend downloading uboot from pepe2k repository. Github link.

You must erase the chip before flashing uboot. At the prompt type e and enter. Then answer y to confirm (or anything else to cancel). This will take around 6 seconds to complete.

> e
Erase Entire Chip? (y/n): y
Erasing chip.
>