Programming Flash Memory with JTAG Cable
 
Install GIVEIO driver
    on Windows XP
  1. Copy the included giveio.sys file to C:\WINNT\system32\drivers directory
  2. Choose "Add Hardware" from the Control Panel
  3. Choose "Next" when the Add Hardware Wizard appears
  4. Check "Yes, I have already added the hardware", then choose "Next"
    5. Select "Add a new hardware device", then choose "Next"
    6. Select "Install hardware manually from list", then choose "Next"
    7. Select "Ports" from the hardware list and then choose "Next"
    8. Select "Have Disk" and browse to the giveio.inf file
    9. Choose "OK", then "Next", then "Next", then "Continue anyway" when the digital signing warning message appears
    10. Confirm and finish the installation by choosing "Next" and then "Finish"
     
    on Windows 2000
    1. Copy the included giveio.sys file to c:\WINNT\system32\drivers directory
    2. Open the Control Panel and select "Add/Remove Hardware Wizard"
    3. Follow the directions for adding a new device
    4. Select "Select hardware from list" and then choose "Next"
    5. Select "Ports" from the hardware list and then choose "Next"
    6. Select "Have Disk" and browse to the giveio.inf file
    7. Confirm and finish the installation by choosing "Next" and then "Finish"
     
  Program ClabSys bootstrap code
    1. Run jflash.exe with provided LN2410SBC_bootstrap.bin
    2. Select NOR, then 2Mbytes, and then 0 address offset.
   

  D:\JFlash>jflash /f:LN2410SBC_bootstrap.bin

  ...


  Usage: JFLASH /f:<filename>
  > LN2410SBC(ID=0x0032409d) is detected.

  [SJF Main Menu]
  0:NAND prog 1:NOR Prog 2:Memory Rd/Wr 3:Exit
  Select the function to test:1

  [NOR Writing Program]
  1:2MByte ( AM29LV160EB, M29W160DB )
  2:4MByte ( AM29LV320DB, M29W320DB, A29DL320FUV )
  Select the function : 1
  Manufacture ID= 1, Device ID=2249

  AM29F160DB(2MByte)

  Image Size:0h~24d8h

  Available Target Offset:
  0x0, 0x4000, 0x6000, 0x8000, 0x10000, 0x20000, 0x30000, 0x40000,
  0x50000, 0x60000, 0x70000, 0x80000, 0x90000, 0xa0000, 0xb0000, 0xc0000,
  0xd0000, 0xe0000, 0xf0000,0x100000,0x110000,0x120000,0x130000,0x140000
  0x150000,0x160000,0x170000,0x180000,0x190000,0x1a0000,0x1b0000,0x1c0000
  0x1d0000,0x1e0000,0x1f0000
  Input target offset:0

  SectorOffset=0x0
  SectorSize =0x4000
  Erase the sector:0x0.
  Sector Erase is started!
  Start of the sector data writing.
  0 100 200 300 400 500 600 700 800 900 a00 b00 c00 d00 e00 f00 1000 1100 1200 130
  0 1400 1500 1600 1700 1800 1900 1a00 1b00 1c00 1d00 1e00 1f00 2000 2100 2200 230
  0 2400
  End of the sector data writing!!!

 
     
  Program u-boot
   

1. Run jflash.exe with provided uboot.bin

    2. Select NOR, then 2Mbytes, and then 0x10000 address offset.
    3. Press reset button on the board
     

 

© 2004-2008 LittleChips.com. All Rights reserved.