Table of Contents CHAPTER 1 SYSTEM INFORMATION....................4 1.1 S EVKM-MXM-6410.......................4 TARTING 1.2 J ..........................5 UMPER ETTING 1.3 C ..........................10 ONNECTORS CHAPTER 2 FIRMWARE ARCHITECTURE.................13 2.1 F ............................13 IRMWARE 2.2 S NAND.................13 WITCHING BOOT OPTION FROM 2.3 F NAND ................15 IRMWARE...
System Information This Chapter gives an introduction of system information to let users quickly pick up how to setting up the system. Section include: System Setup Jumper Setting Firmware architecture in NAND flash...
Figure 1.1 shows the steps. Figure 1.1 Starting EVKM-MXM-6410 1. Press the MXM-6410 module and screw it tightly. 2. Connect the console port (UART0, CN20 on figure 1.3) to the console cable, then to a null modem cable and then connect to your PC. Open up the DNW 0.6c (Click “Connect”...
These include a description of the switches, jumper settings, connectors and connector pin outs. Jumpers The EVKM-MXM-6410 SBC has a number of jumpers that allow you to configure your system to suit your application. All use 2mm shorting blocks (shunts) to select settings. Turn off power of the EVKM-MXM-6410 before changing the position of a shunt.
Page 6
List of Jumpers The table below lists the function of various jumpers. Table 1.1 Jumpers Table 1.1 Jumpers Label Function NOR boot or NAND boot Setting and LCD Scan Direction Setting LCD Power Setting (3.3V or 5V for both TTL and LVDS) RS232/422/485 Setting...
Page 7
Reset Button Jumper Settings The following tables describe how the jumper shunts to various configurations. JP1: Location on Board, D1 Table 1.2 NOR Boot or NAND Boot and LCD Scan Direction Setting (JP1) Table 1.2 NOR Boot or NAND Boot and LCD Scan Direction Setting Setting Function...
Page 8
Note: If JP3 jumper set to be RS232, the RS232 connector will be CN20 (UART1) header. If JP3 jumper set to be RS422 and RS485, the connector will be CN22 header. User can only choose one (RS232 or RS422 or RS485) at the same time.
Page 9
A pair of needle-nose pliers may be helpful when working with jumpers. If you have any doubts about the best hardware configuration for your application, contact your local distributor or sales representative before you make any change. Generally, you simply need a standard cable to make most connections.
1.3 Connectors Onboard connectors link the EVKM-MXM-6410 to external devices such as LCD panel, a keyboard, an audio headset or CompactFlash and to external communication such as 802.11, USB or Ethernet link. The table below lists the function of each of the board’s connectors.
Page 11
List of Connectors Table 1.6 List of Connectors Table 1.6 Connector Label Function JTAG CF Type I/II Connector SATA Connector Power Connector LCD Backlight Inverter Connector RTC Battery Connector CN10 Audio (Microphone in, Headphone out, Line in) Connector CN11 CN12 Buzzer CN13 S-Video and CVBS Video Connector...
Firmware Architecture This Chapter gives background information on the firmware architecture of MXM-6410 computer on module. Section include: Firmware Switching boot option from NOR or NAND Firmware architecture in NAND flash...
Page 13
Chapter 2 Firmware Architecture This Chapter gives an overall picture in regarding to the firmware architecture of MXM-6410 computer on module. This helps users understand what they are doing when upgrade or restore the firmware. 2.1 Firmware There are NOR flash (on carrier board) and NAND flash (on the module) reside in the system and play different roles.
Page 14
Following figure shows the jumper setting of NAND boot and NOR boot. Figure 2.1 Jumper Settings of NOR Boot and NAND Boot...
2.3 Firmware Architecture in NAND flash Figure 2.2 shows the firmware architecture in NAND flash. Figure 2.2 Firmware Architecture in NAND Flash When power on, the processor will copy the first 4K of BootStrap Loader (stepldr.nb0) to internal RAM. The stepldr will initialize the memory mapping and load the eboot from the 2 block (0x2, 1 block = 128K) of NAND flash.
Page 16
Figure 2.3 Flash Information The purposes of this document are to tell users how to restore or upgrade the firmware in NAND flash. The next chapter will detail that.
Page 17
Restore the Firmware in NAND flash This Chapter details how to restore the firmware in NAND flash of MXM-6410 computer on module. Section include: Restore Stepldr.nb0 and EBOOT.bin from NOR flash Restore NK image from EBOOT Restore firmware in NAND flash from SD boot...
NAND flash from SD boot. Before going on, users need to install two kinds of USB drivers that Embedian provided with on your Windows PC first. The “secusb2” is for the USB download during the NOR boot configuration and the “wceusbsh”...
Page 19
Figure 3.1 COM and USB Port Setting of DNW Program...
Page 20
Step 1 Power on the device and you should see the following screen in your DNW programs as shown in figure 3.2. Figure 3.2 NOR Boot Splash Screen...
Page 21
Step 2 Press any key and you will enter the main menu as shown in figure 3.3. Figure 3.3 NOR Boot Menu...
Page 22
Step 3 Select the function "0: Download & Run" and press "Enter". You will see the following screen. Figure 3.4 Download & Run...
Page 23
Step 4 At “USB Port” Tab, Select "Tramsmit" “Transmit” as figure 3.5 shown. Figure 3.5 USB Transmit for Download & Run A file browser will pop up and select the folder where you put the EBOOT.nb0 file. Then the EBOOT will be download the DDR RAM and run. You will see the EBOOT “initiating image download in 5 seconds”...
Page 24
Figure 3.6 EBOOT Menu Step 5 First of all, we recommend you press A) Erase All Blocks to erase everything in NAND flash. Next, press T) Download Target: [*Download to RAM] and change to T) Download Target: [Write to NAND Storage]. (By pressing “T” and you can change back and forth.) This is to tell EBOOT that we are going to write image to NAND flash instead of DDR RAM.
Page 25
Step 6 Figure 3.7 Writing image to NAND flash At “USB Port” Tab, select UBOOT UBOOT as shown in figure 3.7. (Note: because we are going to write image to NAND flash, choose UBOOT instead Transmit. Here is different from that in step 4.) A file browser will ask you to select a file that you would like to write to NAND flash.
Page 26
Figure 3.8 Write STEPLDR.nb0 to NAND Now you have successfully write the STEPLDR.nb0 file to NAND flash. Next, we would like to write EBOOT.bin to NAND flash. Step 7 Repeat steps 1~6, but DON’T erase all blocks at step 5 because you have already written the STEPLDR.nb0 to NAND flash.
Page 27
Figure 3.9 Write EBOOT.bin to NAND As of now you have successfully written the STEPLDR.nb0 and EBOOT.bin files to NAND flash. You can turn the power off and set the JP1 jumper to NAND boot and turn the power on again. You should able to hear a short beep sound and see the splash screen on the LCD as shown in figure 3.10.
Same as section 3.1, first, you need to connect the serial console cable from serial console port (UART 0 in CN20 of Embedian SBC) of device to the COM port of your Windows PC. And connect a USB cable from USB device port (CN19 of Embedian SBC) to USB host port of your Windows PC.
Page 29
Following is a step-by-step guide. Step 1 Set the JP1 to NAND boot (open 1-2 pin of JP1) and power up the devices. You should be able to hear a short beep sound and splash screen in the LCD. You will see the EBOOT “initiating image download in 5 seconds” messages. Press [Space] bar to enter the EBOOT menu during these 5 seconds as shown in figure 3.12.
Page 30
And next, press F) Format Boot Media for BINFS with BadBlock Marking to Reserved Block. This is to format the NK area as BinFS file system and mark the bad blocks in NAND flash. You will see the following message shortly and then enter into the EBOOT menu again.
Page 31
Step 3 At “USB Port” Tab, select UBOOT UBOOT as shown in figure 3.13. (Note: because we are going to write image to NAND flash, choose UBOOT instead Transmit.) A file browser will ask you to select a file that you would like to write to NAND flash.
Page 32
Figure 3.15 ActiveSync Program Select “No” and click “Next” of your ActiveSync program.
Page 33
If you have LCD connected to the device, you should be able to see the Windows CE 6.0 desktop screen as following now. You can also use the remote desktop tool to see the desktop. Figure 3.16 Windows CE 6.0 Desktop Now, we have done the firmware restore/upgrade of the Windows CE system.
3.3 Restore firmware in NAND flash from SD Boot Embedian also provides a very useful way to recover the firmware in NAND flash from SD card. To brief how this be done, use needs to use the PC tool to write the EBOOT bootable file to a SD card first and then plug that SD card into the device.
Figure 3.18 Use PC Tool to Fusing SD Done 6. If there is the message box like that shown in figure 3.18, it’s done. 7. Remove the SD/MMC card on you PC and put it to APC-6410’s SD card slot. 8.
Page 36
Figure 3.19 SD Boot Up Menu Once you saw the menu shown in figure 3.19. The fusing procedure will be exactly the same as described in section 3.1 to restore the NAND flash firmware from NOR flash. The following are the detail step-by-step procedures. Step 1 First of all, we recommend you press 3) Erase All Blocks to erase everything in NAND flash.
Page 37
Step 2 Figure 3.20 Writing image to NAND flash at SD Boot At “USB Port” Tab, select UBOOT UBOOT as shown in figure 3.20. A file browser will ask you to select a file that you would like to write to NAND flash. Find the file "STEPLDR.nb0"...
Page 38
Figure 3.21 Write STEPLDR.nb0 to NAND at SD Boot Now you have successfully write the STEPLDR.nb0 file to NAND flash. Next, we would like to write EBOOT.bin to NAND flash. Step 3 Repeat steps 1~2, but DON’T erase all blocks at step 1 because you have already written the STEPLDR.nb0 to NAND flash.
Page 39
Figure 3.22 Write EBOOT.bin to NAND at SD boot As of now you have successfully written the STEPLDR.nb0 and EBOOT.bin files to NAND flash. You can turn the power off and set the jumper to NAND boot and turn the power on again.
Page 40
Users now can go back to section 3.2 to see how to restore/upgrade the NK image from NAND flash by using EBOOT at NAND.
Need help?
Do you have a question about the MXM-6410 and is the answer not in the manual?
Questions and answers