|
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
<pre>Hi Everyone. I have an issue and I would like you to help me. I own an ASUS N56JR laptop and I'm planning to upgrade from 8GB Memory to 16 GB (The manufacturer specifies this limit). What I did first was only taking out the original memory stick from its slot (let's say it's Slot 1) to check the reference and features. When I put the stick back in Slot 1, the computer didn't turn on. After blaming it on the electrical network, I decided to switch the stick to Slot 2. Then it booted normally. I couldn't just remain with the doubt, and put the stick back in Slot 1. This time the laptop did turn on, but the keyboard back-light and display didn't turn on, so I don't know if it was actually booting. My question is if there is any chance I screwed the slot or something else in my machine, so this is happening now. Thanks for your attention.
</pre>
|
|
|
|
|
Yes, anything is possible. But you would be better contacting the manufacturer's support team for help. It is quite possible they can help with some remote diagnosis.
|
|
|
|
|
Did you take all the "anti-static" precautions?
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I am trying to access the GPIO of an embedded computer. The device was installed with Windows 10 Pro 20H2 x64 (not my decision). I installed the vendor specific drivers, and the GPIO device is shown with "Intel(R) Serial IO GPIO Host Controller - INT34BB" in the device manager.
I searched the internet and could find a “GpioTestTool” (https://github.com/ms-iot/samples/tree/develop/GpioTestTool) which I could compile on my development machine. After installing “Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019” (“VC_redist.x64.exe”) on the embedded machine, I could start the program.
It shows following error message:
“Error: GPIO is not available on this system”
This error message is also shown when I start the program as an administrator.
That is, the program fails to detect the GPIO.
Can you suggest any tools for trouble shooting?
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
My GLINK USB 2.0 extension cable isn't detecting External Hard Drive, though Pen drive is being detected. Plugging the EHD directly to the USB port of the CPU works fine. Only the extension cable isn't detecting it. How do I make the EHD work with the extension cable now? Or shall I try something else altogether? I'm running on Windows-7 32 bit. May I get some help, please?
Regards,
Priyam
modified 6-Jan-21 12:51pm.
|
|
|
|
|
|
Hi all,
I am thinking of FPGA for an algorithm of mine, but lack of any experience with FPGAs.
The activity is number crunching, no fancy IO or A/D conversion.
I send a very large number, it crunch, and I get answer as a single number. One can think of it as integer factorization.
Crunching is made of large additions, subtractions, shift operations (*2 and /2), increments/decrements and logical operation and bits testing.
May be an embedded ARM processor to handle communication and data conversion.
Algorithm can be adapted for treading.
It is for hobby, so no real budget.
What hardware/software would you recommend ?
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Hi,
Im currently making an app on windows forms trying to program a micro over UART. I can achieve it, although it is taking a long time to carry out the program. I have used stopwatches to determine it is my read function taking up the majority of the time. When i try to read the micros response from each command I have to wait for all of it, which is why im using a while loop in the code below, if the returned message size is not what i expect. What im wondering is, if there is any way to speed up this process. The response from the micro should be pretty fast, its running at a baudrate of 115200, meaning the whole 512 kb file should in theory take just over 30 seconds to complete, at the moment it is more than double that, at 80 seconds.
private string CheckResponse(int mSize)
{
//ComPort.DataReceived += SerialPortDataReceived;
string response;
int intBuffer;
intBuffer = ComPort.BytesToRead;
byte[] byteBuffer = new byte[intBuffer];
ComPort.Read(byteBuffer, 0, intBuffer);
response = Encoding.ASCII.GetString(byteBuffer);
while(response.Length != mSize)
{
intBuffer = ComPort.BytesToRead;
byteBuffer = new byte[intBuffer];
ComPort.Read(byteBuffer, 0, intBuffer);
response += Encoding.ASCII.GetString(byteBuffer);
}
return response;
}
Any help greatly appreciated.
Blair
|
|
|
|
|
|
Member 14809996 wrote: The response from the micro should be pretty fast, its running at a baudrate of 115200, meaning the whole 512 kb file should in theory take just over 30 seconds to complete, at the moment it is more than double that, at 80 seconds.
You missed a couple things:
- In serial communications, every byte is preceded by at least a start bit and a stop bit, other settings like parity can add other delay. This make at least 10 bits for a byte transmitted, this make sending 512kB just under 45 secondes at 100% efficient.
- Any operation like reading the 512kB from storage will add delay.
- Any one serious with serial communication, for such a file, will encapsulate the data within a communication protocol to ensure data is not corrupted on the other side. This imply mode data to transmit and some time to ensure data integrity.
So 80 secondes is not that bad.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
One of my monitors is connected through a Display Port to HDMI adapter. Meaning that the graphics card outputs Display Port and the monitor takes HDMI.
I notice that the quality of the display is rather poor, and there is what looks like ghosting as you would find on an old analog television.
My question is, are there some display port to HDMI adapters that are better than others? Is this why some of them cost three times what others cost?
Or might there be something else wrong?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I have an OV2710 based USB camera (a low-light, as it should go inside a closed box). It is a UVC camera so no need for driver...
Connected the camera to a Win10 laptop - disturbing green shaded image (not fatal but all white/light colors are get greenish)
Connected to a Fedore 31 desktop - same...
Connected to a RPi 2/3/4 using a touchscreen - got a green-only shaded image... The image is clear and fast but green-only...
Anyone has experience with these kind of cameras? I just want to know if there is a way to fix that or should start to search for other camera (any suggestion to that direction is also welcome)..
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
I have a new PC, only a few months old. HP Envy Desktop 795 64bit running Windows 10 Pro.
Within the past month or so I am noticing what I can only describe seems to be USB interruptions. Every few minutes the Mouse and Keyboard 'freeze' up. If I'm watching a video it pauses for a second. It happens 2 or 3 times over a few seconds, then doesn't happen again for a dew minutes.
I'm not a hardware guy so I'm in the dark on this. I can provide any additional info if needed.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
You'll have to excuse me if I don't click on that link. Judging by the URL, it has absolutely nothing to do with USB issues.
|
|
|
|
|
|
Yeah, I saw that right after I hit Post.
|
|
|
|
|
Hi Gurus,
There has been a requirement to use Gemalto PC PIN Pad device in unsecured mode, Secure Pin Entry (SPE) not active. We have been trying our best to search online for any hint but unfortunately no luck yet. We can't contact Gemalto support because of no formal purchase of device yet (we are in R&D/evaluation phase) as Gemalto is requesting device information formally.
Any hint would be greatly appreciated.
Best Regards,
Asif
Do
Read();
Research();
Experiment();
UnTil You Inspire!
|
|
|
|
|
_Asif_ wrote: Any hint would be greatly appreciated. Gemalto are the only people who will have the knowledge to help you.
|
|
|
|
|
There's always a company salesman in the middle you need to deal with if it's not on Amazon, etc. That's their job.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Some PCIe devices cannot read more than 4 GB of address space without an additional driver or modified driver. In such cases, what limits how much memory they can read? Is it the memory controller? Is it the firmware of the PCIe device? Or is it something else? I don't think it is because of the device driver itself because PCIe devices can read or write to RAM without a driver. Someone said it is a 32-bit vs 64-bit issue but I do not understand why PCIe device can only address 32-bit.
|
|
|
|
|
I have purchased an ST8000NM0075 as this drive is compatible with my SAN system. However, this drive shipped with E001 firmware on it and I need it to run the LE OEM firmware from lenovo for this drive to work. I have been unable to find a way to flash the LE firmware onto a drive with E firmware. Is there anything I can do to make this work?
|
|
|
|
|
You would be much better served asking this on Seagate's forums than anywhere else.
|
|
|
|