Digi 9P 9360/9750 manual Useful applications, Mem

Page 38

U s e f u l a p p l i c a t i o n s

Useful applications

mem

With this application you can read and write the contents of the SDRAM.

All the options of this tool are accessible through a command line. Just type an 'h' to list all the available commands:

#mem

-> h

c <addr> [<len>]: Display char at

w <addr> [<len>]: Display word at

i <addr> [<len>]: Display int at

s <addr>: Display string at

B <addr> <val> [<len>]: Write byteval at addr

W <addr> <val> [<len>]: Write wordval at addr

I <addr> <val> [<len>]: Write intval at addr

/<addr> <txt> [<len>]: Search string at h :Display this help

q :Quit

-> b 0x31000000 32

0x31000000: 0xff 0xff 0xff 0xbf 0xfd 0x7d 0xbf 0xcd 0xf9 0xfb 0xfe 0xfb 0xff 0xfb 0xff 0xfb

0x31000010: 0xbf 0xd7 0xf5 0xff 0xff 0xff 0xf7 0xff 0xff 0xff 0xee 0xff 0x7f 0x7f 0xff 0xe7

->

3 8

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

Image 38
Contents LxNETES User’s Guide ConnectCore 9P 9360/9750 Page Page Page Contents Building the First Project Interfaces & Devices Appendix B Cross-development environment IntroductionOverview Example applications Linux kernel sourcesTemplate project What’s new in LxNETES 3.2? FeaturesGeneral features RTC Gpio Conventions used in this manual This is a tip. It contains useful information about a topicAcronyms and abbreviations System requirements RequirementsSystem Requirements/Prerequisites 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 Introduction Connecting host PC with development boardGetting Started Minicom SeyonConnect power Seyon SettingsTest Ethernet configuration Installing LxNETES # ifconfig eth0Guided Installation Manual Installation N u a l Installation Building the First Project Building the Default ProjectRun configure Run make install Run makeAdding your own applications Application DevelopmentWriting applications Display Using C++Included example applications 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 modulesIncluded Kernel modules Minimal Add the module to the build environmentBuilding and loading of kernel modules 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 Introduction Boot processBoot 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 Updating the Flash memory Passing arguments to the kernelAutomating the image download Updating a running system the easy way Updating a running system manuallyWrite the image to Flash Download the new image file to RAMErase the Flash partition Root File System BootKernel Updating a corrupted system using a debugger Root File System Types Launch the kernel from RAM Set bootargs to be passed to the kernelDownload the kernel to RAM via Tftp 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 Related documentation CD contentsAppendix a 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