NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
MC-16LX RS232 MB90F543 MB90F553 MB90F583 MB90F591 MB90F594A MB90F598 MB90F574 - Datasheet Archive
Programming Adapter Cable for Fujitsu Flash Microcontroller F²MC-16LX Family © Fujitsu Microelectronics INC. San Jose,
Application Note Programming Adapter Cable for Fujitsu Flash Microcontroller F²MC-16LX MC-16LX Family © Fujitsu Microelectronics INC. San Jose, CA, Microcontroller Application Group Version: 1.0 Date: 08/25/00 1 1 Overview The following application note is intended to give the idea about in circuit serial programming of the Fujitsu F2MC 16LX family flash Microcontroller with an adapter cable. This method allows the user to program the microcontroller directly on the target system without some additional circuit. This solution saves some space on the target board and minimizes the cost of the system required for serial programming. 1.1 Serial Interface of the Microcontroller to the PC via Cable The diagram (figure1) below gives the brief idea about the all-necessary connections, which has to be done to program the Flash memory. RS232 RS232 Driver Target Board Adapter Module Adapter/Cable Figure 1- Interface Diagram Serial Interface Cable PC with Flash programming utility To connect the Microcontroller to the PC, only the serial interface lines SOT (Transmit) and SIN (Receive) are necessary. On the PC side to establish a connection to the Microcontroller the RTS and CTS line should be connected together. Also the DTR should be connected to the DSR line in order to avoid the communication error. The RD line has to be connected to the SOT, and the TD line has to be connected to the SIN via the RS232 RS232 driver to the microcontroller for voltage level conversion. This requires the extra component such as RS232 RS232 driver and supporting components for RS232 RS232 driver on target board. The adapter cable provides the above complete solution, and hence no need of extra component on the user system for in circuit programming the Flash Microcontroller. The Schematic of the adapter cable is shown in figure 2. The following steps need to be taken to set up the Hardware and software for the flash programming. 1. Download the FLASH programming utility Flash361.exe. 2. Connect the one side of the cable/Adapter (J1) to the user board (Note: The user board should have the 10pin header for the cable. The pin outs for the header is shown in the figure 4, and table1). The other side of the adapter cable (J2) should be connected to the PC via serial cable. Take proper care to connect the cable in the right direction. 3. Set all DIP switches (MD0, MD2, P00, and P01) position as ON, as indicated in the DIP switch. 4. Connect the power supply to the target board (Power supply on the adapter board comes from the User target Board via header) launch the flash programming utility on the PC. 2 5. Select the devices from the CPU list, and select the COM port (It depends on which port serial cable is connected to). 6. Switch on the power supply. Execute the < download> command from the Flash-programming interface. 7. If download is okay select the .mhx file (this file has been created after compiling the program) from the user application software. Now select the command. A complete programming sequence will be executed (Erase complete flash memory, blank check write file to flash memory and verify data). These commands can be executed individually as well. 8. After successful execution of this command, set the DIP switches position as all switches off, or disconnect the programming cable. 9. The power on reset or pressing the reset button will start the application in the flash memory. SW1 1 SIN 2 NC 3 MD0 4 GND C2 100nf C3 100nf 5 MD2 6 SOT 1 C1+ 1 2 10 T2IN +5V 9 +Vcc 10 NC C1 100nf C4 100nf T2OUT 7 12 R1OUT R1IN 13 9 R2OUT 7 P00 8 P01 T1OUT 14 R2IN 8 2 +V 6 -V To Target Board 4 DTR 5 GND 6 DSR 7 RTS CTS 9 11 T1IN TD 8 5 C2- RD 3 3 C14 C2+ CD RI To PC Serial Port Figure 2: Schematic Diagram 3 Requirement on Target Board In order to connect this adapter cable to target board, Target Board should have 10-pin standard Header. The pin out details is shown in Table1 and for details refer figure 3. 47K SOT P01 GND 2 4 1 3 6 8 10 Pin Header 5 7 10 9 P00 SIN MD2 MD0 470 +Vcc Figure 3: Schematic Diagram on the Target Board Note: - Pull up and pull down resistor value shown above in MD0 and MD2 line is for reference only. It is recommended to connect the low value of pull up resistor (Approx 470 ohm) to mode pins if required or connect these pins directly to Vcc or Vss directly as per the logic shown in the above diagram. MD1 should be connected to the power supply on the target board, as there is no change in the signal status for normal and flash-programming mode. - The schematic diagram shown above is for reference only. If necessary, consider the 10-pin header pin out as a top view. 4 Table-1 Pin description of the 10 pin Header on Target Board Pin No. Description Details 1 SIN Connected to the SIN of the Microcontroller. Refer table-2 shown below. 2 NC 3 MD0 Connected to the MD0 pin of the MCU 4 GND Ground of the Target board and MCU 5 MD2 Connected to the MD2 pin of the MCU 6 SOT Connected to the SOT of the Microcontroller. Refer table-2 shown below. 7 P00 P00 of the MCU 8 P01 P01 of the MCU 9 +Vcc Supply to the MCU 10 NC - Table- 2 Microcontroller Pin-number used for the Flash Programming Target Device Asynch. Com. SIN SOT MD0 MD2 P00 P01 MB90F543 MB90F543 UART0 Pin No. 20 Pin No.18 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 MB90F553 MB90F553 UART0 Pin No. 20 Pin No. 19 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 MB90F583 MB90F583 UART0 Pin No.18 Pin No. 19 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 MB90F591 MB90F591 UART0 Pin No. 16 Pin No. 14 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 MB90F594A MB90F594A UART0 Pin No. 16 Pin No. 14 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 MB90F598 MB90F598 UART1 Pin No. 21 Pin No. 24 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 MB90F574 MB90F574 UART0 Pin No. 9 Pin No. 10 Pin No. 89 Pin No. 87 Pin No. 95 Pin No. 96 MB90F425/A MB90F425/A UART1 Pin No. 88 Pin No. 89 Pin No. 49 Pin No. 51 Pin No. 85 Pin No. 86 5 Cross-references: 1 2 Application note "Flash programming" from Fujitsu CD 3.1 or later. Data sheet and Hardware manual of the corresponding Microcontroller. 6