Next Previous Contents

3. Usage

Pcnec must be invoked with root permissions!

Typing pcnec -h the list of available options will be displayed.
For example, -n option specify that blank check control is not required (this speed-up programming for the high-volume stage).
Another important option is -c clock which permit to set the target oscillator clock in KHz: this is needed because erase/program feature is performed by the Nec microcontroller built-in firmware, which need several instruction-cycles to be execute, so all timings are related to the clock applied to the microcontroller. To speed up microcontroller programming, higher clock is preferred. Default is 8MHz, but if you are using 7.372800 MHz clock, you must specify -c 7372 option.

The correct syntax is pcnec [options] <hexfile>, for example pcnec -c 7372 devel/osd.hex where osd.hex is an Intel-Hex file.

3.1 General Usage


Next Previous Contents