How To Load Program Into Mini2440 Using Usb

Nirmal
Guys Could You Tell Me How To Compile And Run A Program In Mini2440 Without
JTag and Using Usb Alone.

radha
1.first compile your program in x86 platform with "arm-linux-gcc" tool
chain just use this command in place of "gcc"(eg:arm-linux-gcc first.c -o
first) and then copy the generated executable file into the "PEN DRIVE
(USB)" from ur machine.
2.Now Keep change the mode of booting to the NAND and switch on ur target
board and connect ur PEN DRIVE to the target board.
3.When ever u connected ur USb device to target board first it will install
the driver on that board and can see that device name a "udisk" in drivers
folder of ur taget.
4.then create one folder with any name(for storing data of ur pendrive in
future.eg:pendrive in root folder) in general root folder.
5.then enter into the driver folder ,then mount the USB device with "mount
udisk "entire path of the earlier created folder""(eg: mount udisk
../../pendrive).
6.now ur pendrive has mounted.Now enter into the pendrive folder.
7.just check all the data earlier u have copied is there or not.Then
execute  ur program(eg:./first).