HOME >>faq
back to faqtop
 
Programming manual for FLASH micro controller manufactured by NEC Electronics
Prepare the Interface between the micro controller (Target Board) and FLASH PRO

Prepare the following items to design a Target Board or a Programming (FA) board.

+Data sheet of programming subject micro controller (Request to our distributor, etc.)
+Manual of FLASH PRO or Manual of FLASH PRO Target design.


Treatments for terminals of Micro controller-side
For both of on-board programming and programming by programming (FA) adapter, treatments for terminals should be required on the Micro controller side.

Power supply/GND
Check for terminals, which should be connected to power supply line (Vdd, Vss, Analog power supply Clock power supply, etc.) as per micro controller data sheet.
To detect Target power supply, the power supply voltage is required to be input.

Clock input terminal
Check for the destination of clock input terminal as per micro controller data sheet.
*For the using of programming (FA) adapter, Clock can be supplied from FLASH PRO.

Serial channel for programming
As per micro controller data sheet and FLASH PRO manual, check for the destination of serial channels, especially for input/output direction of SI(RxD),SO(TxD),etc.
(Follow the load conditions by FLASH PRO manual)

Reset terminals
As per micro controller data sheet and FLASH PRO manual, check for the destination of reset terminals. (Follow the load conditions by FLASH PRO manual)
VPP terminals
As per micro controller data sheet and FLASH PRO manual, check for the destination of VPP terminals.
Disused terminals
As per micro controller data sheet and FLASH PRO manual, check for disused terminals, which need to be treated.
Connector for FLASH programming
As per micro controller data sheet and FLASH PRO manual, check for signals, which need to be wired to connector for FLASH programming.

Connecting Target Board and FLASH PRO
After terminals treatment and wiring to connector for FLASH programming, connect Target Board and FLASH PRO.

Setting of FLASH PRO programming conditions
About TYPE setting on FLASH PRO GUI (control software)
Parameter files of micro controller programming subject
Select [Setting]→[Device] at GUI menu, and then load the parameter file. (Unique setting for Micro controller can be completed by the parameter file.)
Setting of Serial channel for programming
Set the programming channel by VPP pulse number of serial for programming, which is described on the data sheet of micro controller.In TYPE setting, correspondence between the programming channels and VPP pulse number as below.

VPP pulse number Programming channel
VPP pulse number Programming channel
0 SIO ch-0 8 UART ch-0
1 SIO ch-1 9 UART ch-1
2 SIO ch-2 10 UART ch-2
3 SIO ch-3 11 UART ch-3
4 IIC ch-0 12 Port A
5 IIC ch-1 13 Port B
6 IIC ch-2 14 Port C
7 IIC ch-3  -  -

Setting of the serial clock

As per micro controller data sheet, set the serial clock.
(If set at extreme clock speed, micro controller may not operate properly.)
Setting of the CPU operational clock
Specify the clock mounted on the Target Board.
(In use of the programming (FA) adapter, set the value within the operational range of the micro controller, when the clock required to be supplied from FLASH PRO.)
If the Multiple Rate is already set by Target Board terminal treatments, set that value.
For 78K0 series or Micro controllers not having the Multiple Rate setting feature by terminal treatments, specify 1.00.

Connect Micro controller and FLASH PRO
Confirm that the access by FLASH PRO is possible.


Read out Micro controller’s SIGNATURE
Micro controller’s SIGNATURE can be read out by GUI menu, select [Other]→[Signature].
By reading out signature correctly, normal access to micro controller is confirmed.

If the miss-setting or malfunctions on the Target Board exist, the following errors will arise.
If the measure does not work effectively, please make inquiry.
For inquiries, you can contact with our distributors or send information mail to us, by completing the inquiries form about FLASH programmer.

Error message Situation Measures
「ER08 Target initialize error.」 Micro controller can not enter programming mode.

Please check for terminals treatment of Target Board, wiring of connector for programming, and TYPE setting.
Also, check that Vdd, Vpp output correctly. In use of UART, Communication synchronizing may loss due to UART error of micro controller. At that time, change CPU clock or change to SIO.

If the error caused by causes other than the above mentioned, it is conceivable that any fuse of Vdd lines or Vpp lines of programmer burned-out internally.
For further information, refer to here.
If applicable, please consult with our distributor, where you purchased our product.

「ER09 Target SIGNATURE error.」 Parameter file does not match to Signature information of the micro controller. Please specify a parameter file, which meets the micro controller’s name and specification.
「ER0B Target return error.」 Micro controller returns an error.
Due to noise occurrence or etc., Interface with the micro controller can not be established correctly.
Please check for TYPE setting.
Please check for noise of power supply lines and clocks, etc.
ER35 Cannot get SLAVE address.(1bit) IIC communication error Please check for wiring and other devices on IIC.
ER36 Cannot get SLAVE address.(9bit)
ER38 IIC WRITE error.(1bit)
ER39 IIC WRITE error.(9bit)
ER3B IIC READ error.(1bit)
ER3C IIC READ error.(9bit)
ER37 Cannot get SLAVE address.(ACK) IIC communication error Please check for Target micro controller.
ER3A IIC WRITE error.(ACK)
ER3D IIC READ error.(ACK)
「ER42 Illegal SW Target ON.」 [User VDD] is supplied in the situation that the power select switch is turned to be in [VDD OUT]. Please, switch the POWER SELECT SWITCH to [VDD IN].
「ER43 Illegal SW Target OFF.」 [User VDD] is not supplied in the situation that the power select switch is turned to be in [VDD IN]. ・Please supply [User VDD].
・If use the programming (FA) adapter, switch the POWER SELECT SWITCH to [VDD OUT].
「ER50 VPP OUT CURRENT error.」 VPP over current is detected. Check for VPP terminals of Target Board.
(Confirm that VPP terminals are not short-circuited with GND lines.)
「ER51 VDD OUT CURRENT error.」 VDD over current is detected.
Check for VDD terminals of Target Board.
(Confirm that power consumption of Target Board does not exceed the power supply ability of FLASH PRO.
「ER54 User VDD error.」 Abnormal voltage for Target is detected. Check for the voltage of Target Board.

◆About other errors, please confirm by the manual of FLASH PRO or On-line HELP.

Data programming to Micro controller
As per micro controller data sheet, program the desired data.
[Note]
The especially required items are drawn from the micro controller data sheet and Manual of FLASH PRO, in here. For further information, please refer to the related material and the document selectively.
About the individual information for FLASH Micro controller, please refer to NEC Electronics or our distributors.
 

 

▲back to top