Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

m16c-flash(1) [debian man page]

M16C-FLASH(1)						      General Commands Manual						     M16C-FLASH(1)

m16c-flash - Flash programmer for Renesas M16C and R8C microcontrollers SYNOPSIS
m16c-flash is a flash programmer for the Renesas M16C and R8C microcontrollers which operates in asynchronous mode. OPTIONS
COM_DEV The serial device to use for flashing, e.g. /dev/ttyS0 or /dev/ttyUSB0. CPU_TYPE The CPU type you want to flash to (currently M16C or R8C). FILE The filename of the binary you want to flash. ID1:...:ID7 The device ID. --help Show a help text and exit. --version Show version information and exit. EXAMPLES
Flash the simple.s file onto an M16C microcontroller via the first serial port (/dev/ttyS0) using 0:0:0:0:0:0:0 as the device ID: m16c-flash /dev/ttyS0 M16C simple.s 0:0:0:0:0:0:0 Flash the test.mot file onto an R8C microcontroller via the USB serial device /dev/ttyUSB0, and using ff:ff:ff:ff:ff:ff:ff as device ID: m16c-flash /dev/ttyUSB0 R8C test.mot ff:ff:ff:ff:ff:ff:ff BUGS
Please report any bugs to Thomas Fischl <>. LICENCE
m16c-flash is covered by the GNU General Public License (GPL). AUTHORS
Greg Reynolds <> Jim Hawkridge <> Thomas Fischl <> This manual page was written by Uwe Hermann <>, for the Debian GNU/Linux system (but may be used by others). August 20, 2006 M16C-FLASH(1)

Check Out this Related Man Page

FLASH(9)						   BSD Kernel Developer's Manual						  FLASH(9)

flash -- subsystem for flash-like memory devices SYNOPSIS
#include <dev/flash/flash.h> device_t flash_attach_mi(const struct flash_interface *fl, device_t dev); DESCRIPTION
Flash-like devices can register themselves to the flash layer with the flash_hw_if structure. This structure has function pointers and other fields. The attachment can be done by calling flash_attach_mi() with this structure and the device's device_t as an argument. Return value is the flash layer device. The flash_interface structure is shown below. struct flash_interface { int (*erase) (device_t, struct flash_erase_instruction *); int (*read) (device_t, off_t, size_t, size_t *, uint8_t *); int (*write) (device_t, off_t, size_t, size_t *, const uint8_t *); int (*block_markbad)(device_t, uint64_t); int (*block_isbad)(device_t, uint64_t); int (*sync) (device_t); int (*submit)(device_t, struct buf *); /* storage for partition info */ struct flash_partition partition; /* total size of mtd */ flash_addr_t size; uint32_t page_size; uint32_t erasesize; uint32_t writesize; uint32_t minor; uint8_t type; }; SEE ALSO
flash(4), nand(9) AUTHORS
Adam Hoka <> BSD
March 31, 2011 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Our First Flash Intro ?

(13 Replies)
Discussion started by: Neo
13 Replies

2. Post Here to Contact Site Administrators and Moderators

Our First Flash Intro ?

Well, someone created a flash intro for us (their first attempt at SWiSH!) OK, SECOND DRAFT: --------------------------- FIRST DRAFT: Notice it says "Search before posting a question"..... Well????... (24 Replies)
Discussion started by: Neo
24 Replies

3. UNIX for Dummies Questions & Answers

How Many "Falling Unix Commands" are in the Flash Header?

(7 Replies)
Discussion started by: Neo
7 Replies

4. Solaris

Solaris Jumpstart and Flash Archives

Ladies and Gentlemen: I am short on time and need to get up to speed fast on the use of flash archives. I am very familiar with Jumpstart and have used it successfully for the past 5 years. The current project I am working on requires optimization of time and speed when deploying systems which is... (4 Replies)
Discussion started by: rambo15
4 Replies

5. Solaris

Flash Archive built on a 490 going to a 890

I am going to build a flash archive on a v490 and put it on 3 890's I have coming in. Someone had mentioned to me that they thought I might have a problem booting, something about the wrong boot block. Has anyone heard this before , or do you think I would have any other issues. I know of... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

6. Solaris

USB flash Drive

Hello all.. I have a Verbatim 2 GB flash drive. I also have Solaris 10 running on my workstation. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in solaris, nothing happens. How will solaris 10 detect my flash drive? What do I have to do? any... (4 Replies)
Discussion started by: vr76413
4 Replies

7. Shell Programming and Scripting

BASH Script to Detect and List USB Flash Drives

Hello. This is my first post to this forum. I've read many of the posts over the last two or three years and I've learned a lot. I'm creating a live Linux distribution using the Linux Live Scripts -- just as a hobby project -- and I'm wanting to create an automated way for a user to copy the... (7 Replies)
Discussion started by: godzillarama
7 Replies

8. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

9. Solaris

Flash Archives - A little bit of help :-)

Hi all Okay, I know how to make flash archives, and I even know how to split them and extract files. But, Ive never used one to restore an OS drive and I might have to. Ive search around google, and seen different ideas / ways, but havent really come to a definate answer. So, lets... (3 Replies)
Discussion started by: sbk1972
3 Replies

10. Filesystems, Disks and Memory

Flash disk problem

Hi, I have USB flash drive. I have formated this one on windows ( fdisk /dev/sdb showed me that this is WIN95 FAT32 ) ok When I tried to copy some data from /media/cdrecord I get IO error. and dvice automaticly unmount. And kernel Oops is called: CPU: 0 EIP: 0060: Not tainted... (4 Replies)
Discussion started by: marcintom
4 Replies

11. Shell Programming and Scripting

Copy file to SD card from internal flash.

Hi, At first I have to say that I know nothing about Linux :( But I am looking for solution how to copy one file from internal Lowrnace HDS flash memory. Lowrance HDS is Linux based device. Here is the link for firmware update files for this unit. At the end of main firmware file there... (62 Replies)
Discussion started by: PouchX
62 Replies

12. What is on Your Mind?

Idea: selling Puppy Linux flash drives

What do you think of the idea of selling flash drives already prepared to boot Puppy Linux on PCs? (I still need to see if I can boot on Macs using online instructions I've found.) I know it's not too hard to prep your own flash drive, even if you have to buy one first, but just think about why... (8 Replies)
Discussion started by: MrMormon
8 Replies

13. Ubuntu

Need help in making bootable USB flash with customized 12.04

I'd like to make bootable USB flash with 12.04 desktop on it with some additional packages and customizations, such as added language. What I tried so far - I went through ISO to USB program and have working bootable USB with 12.04 desktop on it. The problem is all my changes... (8 Replies)
Discussion started by: migurus
8 Replies

14. AIX

PowerHA; Import flash copy of VG?

Hey guys, wondering if this is possible to accomplish. PowerHA SystemMirror7.1 active/passive cluster. Restored a clustered system in test and upgraded to the latest version of PowerHA. Things are working great. However in the interest of time during cut over to the new system, I was hoping to... (4 Replies)
Discussion started by: j_aix
4 Replies

15. Shell Programming and Scripting

Row alignment

*1 flash read test(*do_test1*) PASS *2 xxxxxxxxxxx flash write test(*do_test2) FAIL ------>xxxxx *1 flash read test(*do_test1*) PASS *2 xxxxxxxxxxx flash write test(*do_test2) FAIL ------>xxxxx I want pass and Fail to be aligned if each line uses printf or echo to print, is... (5 Replies)
Discussion started by: yanglei_fage
5 Replies