General :: Cannot Read The Chip Data On The Buffer File
Sep 1, 2010
Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,
I wonder capability of awk to manipulate data in consecutive multi files by read one batch file.for example I have files: data1.dat, data2.dat,data3.dat and listfile.txt
I'm having a slight dilemma on reading data from a text file and outputting it into a table then displaying it. Basically I'm writing a shell script that takes information from text files then outputs the data into a table with 4 headings.he extracting of the data is fine, but creating a table i'm having problems with. I think it is possible to do it using the awk function, but so far i'm having a lot of difficulties.
We know that, in a network, data transfer time is dependent on capacity of the receiving node. I have two Linux systems A (sender) and B (receiver) connected. I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data. I believe, I can do this if I can reduce the capacity of the receiver node B. That perhaps possible by decreasing the receiving buffer size of B. How can I change the receiving buffer size of this linux system B?
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I have here a Fujitsu-Siemens laptop with Windows Vista on it. The graphical chip of this laptop is damaged in such a way that during boot I can see texts but once the GUI starts it is over. No more picture. This happens with Vista, but also when I boot a live-cd from Ubuntu.The owner of this laptop, not me, wants to buy a new one but would like all data to be saved.I have downloaded the server version of Ubuntu 10.04 (so I stay in text mode) and with the CD I can boot into restore mode. There it is possible to mount the internal hard-disk, after which I can see the data.
But... how do I get it from the disc? How do I setup the network, which I believe is running already, to make the laptop a part of my home network? Now from other computers I can't see this laptop, and I have no idea how to see my computers from this laptop.Or is it possible to burn a CD/DVD in Restore mode. If so how do I do that?
I've created quite a predicament with my desktop installation and would prefer to be able to salvage it instead of having to reformat/re-install Ubuntu.
Quite a lot happened and here's my best recollection:
- My Ubuntu installation stopped working and I could not get the desktop to load.
- I backup up my entire home directory by creating a zip file along with other small zip files. I used Alt + Del + F1 to get the CLI to do this.
- I then did different things trying to get the desktop to load.
- I did a apt-get upgrade, to try and get it to work; this was not sucessful.
- Working through several dependency issues I finally got sudo apt-get ubuntu-desktop upgrade to work, but it did not finish completely. I started to get out of memory errors. I am assuming this was because too much hard drive space was taken up by the zip files I had created
-I could not boot and do anything properly after that. Every attempt to modify the filesystem (to free up space) results in an error "Read Only File System". The root file system was not being mounted and I would see root@none on the CL
- Looking on the boot loader I now have Ubuntu 9.10 2.6.24-generic installed
- I burnt a new installation of Ubuntu 10.4 LTS
- Using Live CD I tried to see if I could free up some space and get the system back to more stable state,
However this was NOT sucessful. I tried to mount my drive by sudo mount -t ext3 <dev> <dir> but I keep getting the following error: error while loading shared libraries: /lib/libsepol.so.1: cannot read file data: Input/output error
I have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port
I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:
I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.
How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.
I was just reading about the whole boot process on computers and am curious as to why the BIOS can only read and execute code and data from only cylinder 0, track 0 and sector 1 of the disk being booted from? Why can't the BIOS read from any other disk location?
i'm new to linux and i am running ubuntu 11.04.i'm trying to install wine. i downloaded the binary files and extracted them. i tried running the command './configure' and got a error saying :no such file or dir. i read the 'readme' file but cannot configure.
I am new to shell scripting.What i am trying is to write a shell script which take the input file and output should like as mentioned below.Output file should have data till SOK (marked in red)from every second line and then the selected data(marked in green) from 4th line.So selected data from 2nd and 4th line in one line of O/P file and then similarly selected data from 6th and 8th line in second line of O/P file.Input File:
I've been using Ubuntu 10.10 for just under a week. Recently, a partition called 'Data' has disappeared, and all my music and documents along with it. The folder is not to be seen in Places or on my desktop. My only way of finding it is to go to terminal. But when I try to open it there I get an error saying I don't have permission to read it. In Puppy Linux and SliTaz I can easily find the partition and read it. What should I do to bring it back in Ubuntu?
I have no experience with embedded systems hardware and am looking to build a micro-budget underwater robot for exploring the bottom of a lake on the family homestead. I don't have much money to spend on this, but I want to run Debian Linux (I have lots of Linux Admin experience and am right at home with a terminal) or something like that on a small chip which needs to be able to:
Connect to the control computer via ethernet. Get digital or analog data from a GPS module, pressure sensor, etc. Control a few thrusters. Do various other hardware IO functions. Possibly control a robotic arm (this is a long shot, I know). And costs less than about 100 dollars. I have no experience with embedded systems hardware so I really don't know what to buy or where to start, aside from the fact that I heard that this would be a good place for something ARM-related. I am a software developer with time to burn as far as writing the programs to support this goes.
I have an Acer Laptop with a built-in Crystal Eye webcamwhich works (tested it with luvcview).The camera is represented by /dev/video0.I would like to read data from this device, but i don't manage to do it.
This code Code: #include <stdio.h> #include <sys/types.h> #include <sys/stat.h>
I need to read data from a socket but it should be always listening because data arrives continuously .. I thought something like this would do it but it doesn't work .... I already set the socket options before
I'm storing a list of strings in a file and would like to read the file and pipe each line returned to grep which in turn searches a directory for files containing the string.However this is not returning any output.
Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:
Code:
attrib -r hello.txt
The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?
I am trying to write a C++ Code to read write a XML file in C++.I researched a lot and find xerces is used for that but I am not able to write the code for that.Please provide me some links on how to run a code that R/W a xml file in C++.
I wrote a script that basically ftp's to a remote machine to place some files in it. I also setup the .netrc file in my usernames home directory so that i dont need to specify the username and password in the script.
The script works fine if i just run it. However when i put this script in cron job, the remote server wont authenticate. Almost seems like its not getting any login details which i assume should be fed from the .netrc file. Would greatly appreciate any comments please of what im doing wrong...
read a files's specific line but return as argument only part of it ie
...
value # this is mass
value2 # this is force
so, how can I get / use the $value and $value2 as arguments for some other file and skip the rest of the line(s) ? of course, the values are different everytime, but the comment always the same, as well as the position of the lines in the file
I have a log file that I would like to examine during some changes under process that writes to this log. Is there some way to open this file and read in real time changes written to it ?