|
Hi everyone
I'm developing an application in vxworks. In this application I use uart in polling mode for reading and writing.
The problem is that when I disable uart interrupt using "intDisable" command, uart generally does not work in polling mode.
The question is whether this is normal? Why uart does not work in polling mode if I disable it's interrupts.
Thanks for the tips of your
|
|
|
|
|
Hi A_Fa Can I know which CPU you are using?
|
|
|
|
|
Excuse me for very long delay in response.
Our target board is ML507 with PPC440 processor.
Thanks very much.
|
|
|
|
|
Up front, I apologize if this is not exactly code related , but I am stuck.
I am trying to resurrect my Win7 from image.
From Win7 setup disk I select “restore from last image / backup”.
The restore app identifies the internal SATA drive and lets me select it for restoration.
So it knows the drive exists. The resoration process suppose to format the drive, it does not.
and the restoration fails and the only option is to “download HD driver”.
My XP PC does not use SATA so I cannot let helpful folks scan my PC for this particular drive.
I have been unable to find JUST the driver, but I keep looking.
The catch is – Win 7 opens \System32 when I try to find the suitable driver.
So my basic questions -
if the restore apps knows the type of the drive , where in the \System32 is the driver located?
If it is there why can the restore app find it for me?
Is there any other way to restore the image to the internal drive ON DEAD PC?
And reasonable suggestions would be appreciated.
Cheers Vaclav
PS I have not found answers Googling.
|
|
|
|
|
Your post is a bit of a cluster... between talking about XP and Win7, SATA and not having SATA, I have no clue what system you have and are trying to rescue.
|
|
|
|
|
Try installing windows 7 first and then restore the image with a running windows not from the setup disk.
|
|
|
|
|
I'm trying to head off an IT inflicted disaster. IT wants to move the s/w team I am on to a new machine. They desperately need to do this, and I'm not arguing. However, the LAST time they moved a lot of our files (backup development zip files for example), the transfer (xcopy) corrupted them. It wasn't until a year later when I needed the old code the problem was discovered.
So, alternatives to xcopy? I'm sure there must be something better out there that will do a binary check for a good copy...
Anything else I should fear?
Thanks
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Tell them to use Backup & Restore. After all, you are the President, according to your biography.
Veni, vidi, abiit domum
|
|
|
|
|
Yeah, *that* will work. I own my own consulting firm, but I am on contract. So....
But, I can certainly insist politely. I see the backup/restore has verification, so that's better.
That reminds me, I need to image my hard drive....
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
There is a new copy program in Windows called Robocopy[^]. It might work better for you.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
... which is in fact what IT eventually used, but thanks
Interestingly, the first time they ran it with a full check after the copy, it failed with some obscure errors due to corporate networking rules. Hamsters ran for 16 hours and then failed. The next weekend they tried again - good move, fully verified.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Hello
I setup virtual printer and it is redirect to Ghostscript
and Ghostscript convert it to pdf.
I need my program instead of Ghostscript How I can make my program to receive postscript.
I put the register key to my program and it is open when user print something,which code I have to put in my program to receive postscript from my printer.
thanks
|
|
|
|
|
Hello
Can anyone Know how I Create Printer Driver and use it from c#.
thanks.
|
|
|
|
|
Yes, anyone can learn how to create a printer driver.
If you want to know how, it would take an entire book to describe. That's not something you're going to learn from a couple of forum posts. You've been told where to start, and, yes, there are books out there that will teach you how to create drivers.
|
|
|
|
|
Thanks for answer
I am now on the msdn website and I am looking for it but I get confused if there any book give it to me
thanks...
|
|
|
|
|
Seriously? You do know that Amazon has a search function, right? Try "Windows Driver Development".
|
|
|
|
|
|
I am currently using a dsPIC33FJ128MC802 [^] on a DM300027[^] (starter) board to read data from the ADAS1000[^] evaluation board (for ECG) via the J4 SPI pins. I have the SPI pins (SCLK, MOSI, MISO and CS) of both boards connected correctly according to the ADAS1k documentation.
I am having trouble getting the two (ADAS1k and dsPIC) to talk to each other. I set up the uProc's SPI and then tried to configure the ADAS1k by sending based on an example in the ADAS1000 documentation.
These commands should configure the ADAS1k to send out a 150Hz Test Tone Sine Wave on each channel.
The MOSI is enveloped by a CS, and it is sent as 4 bytes, for example 0x8500000B is sent as 0x85 followe[]d by 0x00, 0x00, 0x0B.
To read data on the MISO, the SPI sends out four 0x00 bytes to generate clock signals for the MISO.
Writing 0x55555555 followed by 0xAAAAAAAA shows a signal on the MISO, which looks like a 0x0050. I haven't been able to get signals on MISO in other cases. I tried writing to a register and reading it back after a few ms delay, but nothing showed up on the MISO.
I've captured the scope of the SPI (MOSI, SCLK and CS) signals on both boards and they seem to be fine. The MOSI signal seems as expected. I'm still unable to see anything on MISO though.
Any suggestions on what else I can do to troubleshoot this issue? Thank you.
|
|
|
|
|
Based on sorting out other busses e.g. I2C, CAN I'd recommend:
Build in, or use, some logging facility to record what's happening on each chip, even if its only a count or letter stored to show where you're code is going.
Use a USB to SPI converter or something you know works to prove each work individually - it's much easier when one end is a 'known' rather than with and 'unknown' at each end of the wire.
Read the manuals on the chips and on the SPI bus - I know it's obvious, but chip manuals tend to focus on how the chip works - not on the bus. Get the manual on the bus protocol.
Have someone else look at it and show them, OK perhaps you wouldn't be posting here if you could do that but it really helps. I saw someone debug for days without turning power on to a stepper motor he was trying to step.
Try and scope the interaction signals, and work through them, after all there should show exactly what's happening: which chip is not responding or signalling as expected.
Don't handle just the happy path, handle the error cases as well - e.g. set timeouts and set sone code to log if the time out occurs even if its just to log what the error was.
|
|
|
|
|
I get confused between these two definitions. What is the difference between architecture and micro-architecture?
|
|
|
|
|
micro-architecture is smaller.
Try making use of Google for questions like this. There is a wealth of information available on the internet if you look for it.
Veni, vidi, abiit domum
|
|
|
|
|
I took out my 5 years old laptop to re-install and give it to my daughter.
As she's working with Windows in the school I intend to install Windows 7 (Professional).
As the laptop has 4 GB memory I'm not sure what would be better, install 32 bit and loose some memory range or install 64 bit and loose - maybe - some performance?
Any suggestions?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
You don't have a choice. If the hardware is 64 bit then install the 64 bit version, if it is 32 bit then install the 32 bit version.
Veni, vidi, abiit domum
|
|
|
|
|
Of curse it's 64 bit - otherwise i really had no choice...
But as I see the fact you have 64 bit doesn't mean to use all them up
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
Richard MacCutchan wrote: You don't have a choice.
Not quite - it's perfectly possible to install a 32-bit OS on 64-bit hardware. It's the other way round that's problematic!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|