Digi 9P 9360/9750 manual Updating a corrupted system using a debugger

Page 54

U p d a t i n g a c o r r u p t e d s y s t e m u s i n g a d e b u g g e r

Updating a corrupted system using a debugger

ConnectCore 9P 9360/9750

If the Flash memory has become corrupted and the system cannot boot anymore, then the Flash memory must be re-programmed using the JTAG interface and the JTAG-Booster.

Connect the JTAG-Boosters 8-pin connector to the development board (JTAG X12). The two black cables point to pin 1.

Set DIP-switch S4-1 to "on" and S4-2 to S4-8 to "off".

Copy the JTAG tools from the LxNETES-3.2 CD to the host system. A detailed manual how to setup the JTAG-Booster can be found on the LxNETES-3.2 CD, hardware/jtag.

On a Linux system use a tool like dosemu to get the JTAG tools running.

Once you have installed the JTAG tools on your host computer, copy the U-Boot image that you want to program into the Flash memory, to the same directory and execute the batch file to flash U-Boot.

After a successful programming of U-Boot, the kernel and the Root File System can be updated (if they were corrupted, too).

5 4

L x N E T E S U s e r ’ s G u i d e

Image 54
Contents LxNETES User’s Guide ConnectCore 9P 9360/9750 Page Page Page Contents Building the First Project Interfaces & Devices Appendix B Introduction OverviewCross-development environment Linux kernel sources Template projectExample applications Features General featuresWhat’s new in LxNETES 3.2? RTC Gpio Conventions used in this manual This is a tip. It contains useful information about a topicAcronyms and abbreviations Requirements System Requirements/PrerequisitesSystem requirements Disk space Optional but recommended componentsApplications & Services Tftp daemonNFS server JTAG-Booster N E T E S U s e r ’ s G u i d e Connecting host PC with development board Getting StartedIntroduction Minicom SeyonConnect power Seyon SettingsTest Ethernet configuration Installing LxNETES # ifconfig eth0Guided Installation Manual Installation N u a l Installation Building the Default Project Run configureBuilding the First Project Run make install Run makeApplication Development Writing applicationsAdding your own applications Using C++ Included example applicationsDisplay Proc/cpuinfo contents Debugging applications Choose the right architecture for your target Telnet daemon utelnetd Included pre-built applicationsShell applications busybox Web server BoaNano-X/microwindows Embedded QtUseful applications MemWriting kernel modules What is a kernel module?Kernel Development Writing your own kernel modulesAdd the module to the build environment Building and loading of kernel modulesIncluded Kernel modules Minimal Modifying the default project Advanced TopicsD i f y i n g t h e d e Fault p r o j e c t Building a custom project Boot process BootIntroduction ConnectCore 9P 9360/9750 Bank # 0 00000000 32 MBLinux boot methods NAND-FlashNOR Flash USBLinux boot process MMUV a n c e d T o p i c s Passing arguments to the kernel Automating the image downloadUpdating the Flash memory Updating a running system the easy way Updating a running system manuallyDownload the new image file to RAM Erase the Flash partitionWrite the image to Flash Boot KernelRoot File System Updating a corrupted system using a debugger Root File System Types Set bootargs to be passed to the kernel Download the kernel to RAM via TftpLaunch the kernel from RAM JFFS2 Copy the kernel to RAM O t F i l e S y s t e m T y p e s N E T E S U s e r ’ s G u i d e Interfaces & Devices Serial interfaceSPI interface USB host interfaceI2C interface LCD interfaceSD card interface How to set the initial system date and timeCompact flash interface Real time clock RTCPCI interface CD contents Appendix aRelated documentation RelNotes.txt Install.shReadme.txt Docs ImagesConnectCore 9P 9750 CC9P9750 SetupConnectCore 9P 9360 CC9P9360 HardwareConnectCore 9P 9360 / ConnectCore 9P Memory layoutsFlash memory layout Sdram memory layoutTextbase N E T E S U s e r ’ s G u i d e Boot command reference Appendix BO o t c o m m a n d r e f e r e n c e Skipped CC9C CCXP270 UNC90 User keys Example A9M24x0