|
Maybe what you really need is just to send a "pdf" (or docx or txt); i.e. using a "free" pdf print driver.
Pdf's can be "queued" (for "printing"); if that makes a difference.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
It needs to be more of a dummy driver. I need to just receive the tcp message sent from a POS client for an Epson POS printer, parse the esc/pos data and display on a monitor.
|
|
|
|
|
That's plain text (file / message) that can go to any ESC/P printer / driver / app.
The wording doesn't change that.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Dear all
Its regarding the hardware problem
My Mobo for AMD Phenom II x4 965 Black Edition, went off yesterday.
I have tried to buy the same Mobo.
Please suggest me alternate for the above.
|
|
|
|
|
Start here: amd phenom ii x4 965 black edition motherboard compatibility - Google Search[^]
Good luck - that processor is eight years old, and you'll have a hard time finding a new MB for it. And ... are you sure it's the MB that died, not the processor? I'd seriously consider getting a working second hand MB and processor with RAM instead, the cost will probably be the same given the age. Do bear in mind that Windows 10 is hardware linked: change your MB and it can be a fight to get Windows validated again - not impossible, but it can need MS tech to dive into your machine.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
My laptop is one of the faster ones and uses a 4x PCIe based SSD, M key. The laptop make matched the motherboard to a very decent ssd: Samsung 960 Pro 512GB MLC NAND M.2 2280 PCIe NVMe 3.0 x4 Internal Solid State Drive". My backup preference is to clone drives (I have a device to do this - it's SATA based). All I need to do is drop two SATA drives into it, and push a button. So, I thought it would be trivial to find a USB to M key ssd adapter chassis to allow me to drop it into my cloner. Wrong.
I wanted one of these: Amazon.com: QNINE M.2 Adapter to 2.5 SATA Enclosure, B & M Key SATA Based NGFF SSD Converter to 2.5 Inch SATA 3.0 Card Support 2230 2242 2260 2280 Hard Drive with 7mm Case: Computers & Accessories[^]
But note the text in the listing: "Friendly Reminder: DOES NOT SUPPORT M.2 PCI-E SSD." After searching online for a week, and reading countless other requests for a product like this, I'm about to conclude that it just doesn't exist. I guess it falls under nonsensical - why would you want to take something so fast (4GB/sec) and use it in a slower interface (SATA)?
Anyway, if any of you out there on an off chance know of a solution, I'm all ears.
Thanks
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"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
|
|
|
|
|
Closed? I'm shocked I say@!!!
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"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
|
|
|
|
|
Hi Everyone,
I am looking to get client event logs for mac adresses on the cisco meraki using api
Basically for analytics purposes I am wanting to know how can I get all the event logs for different access points using api
Thanks in advance!
|
|
|
|
|
Been searching if any in-browser low res display designers, anyone got ideas?
256x64 pixel resolution
except zooming into MS-Paint, something to help figure out font to use, spacing.
Been looking at a Raspberry-pi zero with an oled White only pixels hat. 256x64 resolution.
It annoying enough writing python, then add in doing it via terminal ssh in nano.
Then spend hours trying to figure out how to change the font. Still no clue. All linux forums assuming version of linux which come with 100+ fonts pre-installed.
|
|
|
|
|
Was wondering if anyone used a NUC or similar small factor desktop to run as a shared resource server for a software development group?
Been running a vm off my computer, and ram (plus all the other stuff i do) is well past the point i should have moved of the database.
Used some old kit in the past, core 2 some 8+ years old 4gb ram, and decided to look up what some small form factor PCs were like now.
Some of the intel NUC stuff seems good for the price NUC7I5BNK £335 (gbp) Intel Nuc Slim Baby Canyon NUC7I5BNK Core I5- 7260U Barebone | Ebuyer.com[^]
mostly for running a sql server (dev), with iis.
Continues integration not needed (VSTS), but the RAM and cpu offload is the main things.
Potentially could use one of the full rack servers that we phasing out, but in comparison thats cpu 5+ years old (4 cores 2.2ghz).
The small form factor of the NUC seems nice to hide away near the developers.
As to running sql server of each of our own system? Most of the work is on the software side, not database schema changes, so I have not seen any need to have individual instances. (Except for the dev that always has to have their own stuff, good forbid they actual do work then mess around reinventing the database schema every week)
If shared, then clear to see what database changes.
Small team - not expecting to explode (4-8) any time soon.
Anyone using something similar?
|
|
|
|
|
Hi,
Need some help with a Huawei USB Dongle. It is an E3372h-607 dongle. I need to communicate with it via COM ports from an application on a PC. So far, it is not showing up as a COM device and whatever I've tried has been to no avail.
I've tried to flash the firmware on the dongle but all I get is a "Download Failed." error even if the flash code seems to have been accepted by the dongle.
Here's the firmware info for the dongle:
Hardware version: CL2E3372HM
Software version: 22.315.01.00.74
Web UI version : 17.100.14.00.74
Can anyone advise me on what I need to do so that i can communicate directly to the GSM/GPRS modem on the dongle via an app on the PC.
Much appreciated.
|
|
|
|
|
Hi
I've problem with SIM900 module.
Seems to me that it's not able to maintain a connection.
What i know this firmware is supporting europe (i come from Poland).
SIM has no PIN code and it's properly working on smartphone.
Firmware version:
SIMCOM_Ltd
SIMCOM_SIM900B
Revision:1137B09SIM900B32_ST
Response for "AT" Command:
OK
It's detecting an operator:
AT+COPS?
+COPS: 0,0,"Orange PL"
But signal quality is 0:
AT+CSQ
+CSQ: 0,0
OK
Led status:
https://www.youtube.com/watch?v=AY6JEwgJMM0&feature=share
I'm powering it from laboratory power supply which is set to 5V DC and current limitation set to 2A.
Any tips what can be wrong?
|
|
|
|
|
I am looking for sample code or tutorial on interrupt specific for RPi (BCM2835) C/C++.
I checked RPi site and did not find what I am looking for there.
I ask Mrs Google and so far I got bunch of general stuff about RPi.
There are articles in "IoT" but I have not found suitable forum about the subject, so I am posting my request here.
Will appreciate any leads.
Cheers
Vaclav
I found a solution here
<a href="https://github.com/BrianSidebotham/arm-tutorial-rpi">GitHub - BrianSidebotham/arm-tutorial-rpi: Raspberry-Pi Bare Metal Tutorial</a>[<a href="https://github.com/BrianSidebotham/arm-tutorial-rpi" target="_blank" title="New Window">^</a>]
-- modified 30-Jun-18 10:07am.
|
|
|
|
|
I know everyone is using usb 2 / 3 MIDI but I wanted to look into buying a motherboard that can have a MIDI input from a external device.
I've looked into LattePanda and other machines but i3+ processor maybe better and cheaper w/ M.2 ( plan on booting from M.2 ).
Issue is that I have no idea how to add a MIDI input or what kind of COM adapters assuming they won't slow anything down. GPIO ? have no idea ! Have seen MIDI input somewhere while browsing.
I was thinking a LattePanda or Udoo x86 and somehow adding Arduino since I see projects that do that. Not sure if this will work w/ WIN10 either. Probably have to write my own drivers. I would like to have an Intel based motherboard though that I can snap or put a MIDI IN on that has Wifi and M.2 ... Any ideas ???
Thanks !
|
|
|
|
|
I have a custom built device that is used to record and play midi music through an electric organ. Take a look at midi box - Google Search[^] for some other solutions.
|
|
|
|
|
I'm currently trying to implement an IP-Core on a Cyclone V 5CSEBA6U23I7 FPGA-HPS System using Altera Quartus II and TimeQuest Analyzer.
The Verilog code pasted below produces a timing problem, namely the assignment fifo_wdata_289[255:0] <= {fifo_out,fifo_wdata_289[255:16]}; , which writes the output of one FIFO into another FIFO register array.
The FIFOs in use are asynchronous, but the signals used are on the same clock domain.
This is being placed on the chip with a clock skew of -2.255 ns, which is a little bit less than a whole period (288 MHz clock => 3.47 ns), and makes TimeQuest complain, that the constraints are being violated.
The recommendation of TimeQuest is to Reduce the levels of combinational logic for the path (Issue Long Combinational Path) with Extra levels of combinational logic = 1, which you could get a perfect reference here [^]Discussion on the influencing factors of clock in FPGA design[^].
The 288 MHz clock is generated via PLL and I'm using Timeconstraint files (sdc) with commands derive_pll_clocks and derive_clock_uncertainty.
My question now is how to solve this problem, since I only have one layer of combinational logic (Demuxer and routing, as suggested by the assignment) and thus have no idea how to reduce that. Is there any other way I can make sure the timing requirement is met, or is there a better way to program this statemachine?
case(stateProc)
2'b00:
begin
if(~fifo_empty&~fifo_full_289)
begin
fifo_wdata_289[255:0] <= {fifo_out,fifo_wdata_289[255:16]};
fifo_wdata_289[287:256] <= {2'b11,fifo_wdata_289[287:258]};
if(imgSize >= maxImgSize - 32'd2)//image done, transmit data and fire irq
begin
fifo_wdata_289[288] <= 1;
stateProc <= 2'b01;
imgSize <= 32'd0;
end
else if(fifo_wdata_289[258])//process transfer without irq //258 high means that 256 has been written in this cycle and 258 in the previous cycle
begin
fifo_wdata_289[288] <= 0;
stateProc <= 2'b01;
imgSize <= imgSize + 32'd2;
end
else//accumulate more data
begin
fifo_wdata_289[288] <= 0;
stateProc <= 2'b00;
imgSize <= imgSize + 32'd2;
end
end
else
begin
fifo_wdata_289 <= fifo_wdata_289;
imgSize <= imgSize;
stateProc <= 2'b00;
end
end
2'b01:
begin
fifo_wdata_289 <= fifo_wdata_289;
imgSize <= imgSize;
stateProc <= 2'b11;
end
2'b11:
begin
fifo_wdata_289 <= 0;
imgSize <= imgSize;
stateProc <= 2'b00;
end
endcase
The TimeQuest failing paths look mostly like this:
Slack:
-3.178
From Node:
soc_system:u0|CamConnector:camconnector_0|FIFO_289:FIFO_inst_289|dcfifo:dcfifo_component|dcfifo_6up1:auto_generated|wrptr_g[0]
To Node:
soc_system:u0|CamConnector:camconnector_0|fifo_wdata_289[267]
I'm currently using MLAB cells as FIFO storage, which are rated for 290 MHz.
Both FIFOs are asynchronous and have a synchronizaton setting of 3.
Timing closure Recommandations of TimeQuest reports the following two issues:
1. Unbalanced Combinational Logic
2. Long Combinational Path
Thanks for your help.
|
|
|
|
|
Dear all,
I am trying to implement modbus RTU with function code 1 . The code i have written implemented for function code 3 . i will get proper response for function code 3. When i implemented for function code 1 i am getting invalid checksum response error.
The crc function is working fine . I have checked modscan32, excel sheet of simplymodbus website.
Simply Modbus - Enron Modbus Function Code 01 - Read Boolean Variables[^]
[^]
On-line CRC calculation and free library[^]
CRC calculation code
unsigned int crc_fn(unsigned char *dpacket,unsigned int len)
{
unsigned int crc = 0xffff,poly = 0xa001;
unsigned int i=0;
for(i=0;i<len;i++)
{
crc^= dpacket[i];
for(j=0;j<8;j++)
{
if(crc & 0x01)
{
crc >>= 1;
crc ^= poly;
}
else
crc >>= 1;
}
}
return (crc);
}
Main function
void Serial_Data()
{
unsigned int address,crc1,crc2;
unsigned char length,i;
unsigned char Data_Len_Count;
unsigned char length1;
crc2=crc_fn(&rxbuf[0],6);
__delay_ms(10);
if((rxbuf[6]==(unsigned char)(crc2))&&(rxbuf[7]==((unsigned char)(crc2>>8))))
{
if(rxbuf[0]==Device_ID )
{
if(rxbuf[1]==READ_REG)
{
address=(((unsigned int)(rxbuf[2]<<8))+((unsigned int)(rxbuf[3])));
if(rxbuf[5]>=1)
{
length1=(rxbuf[5]<249)?(rxbuf[5]+7)/8:0X20;
length=(rxbuf[5]*1);
address=(address*1);
ser_data[0]=Device_ID ;
ser_data[1]=rxbuf[1];
ser_data[2]=length;
ser_data[3]=rxbuf[6];
ser_data[4]=rxbuf[7];
ser_data[5]=length1;
ser_data[6]=00;
ser_data[7]=00;
ser_data[8]=00;
ser_data[9]=00;
crc_data[0]=Device_ID ;
crc_data[1]=rxbuf[1];
crc_data[2]=length;
j=3;
for(i=address;i<((address+length));i++)
{
crc_data[j++]=ser_data[i+3];
}
crc1 =crc_fn(&crc_data[0],(length+3));
Serial_1_Send_byte(ser_data[0]);
Serial_1_Send_byte(rxbuf[1]);
Serial_1_Send_byte(ser_data[2]);
for(i=address;i<((address+length));i++)
{
Serial_1_Send_byte(ser_data[i+3]);
}
Serial_1_Send_byte((unsigned char)crc1);
Serial_1_Send_byte((unsigned char)(crc1>>8));
Serial_1_Send_byte(crc_msb);
Serial_1_Send_byte(crc_lsb);
for(i=0;i<30;i++)
{
Serial_1_Send_byte(0);
}
}
}
__delay_ms(5);
}
}
index=0;
rec_flag = 0;
My suspection is on Storing the values inside register and Sending them for CRC check.Because send response is going well, i get error while getting response.
|
|
|
|
|
You cannot use the same "logic" for function 01 as for function 03.
Function 01 deals with "coils"; i.e. bits.
Function 03 deals with "registers"; i.e. unsigned shorts.
The "sends" are the same except for the function code; on receive however, you get (bit equivalent) "bytes" back for function 01; and 2 bytes for each each register requested in function 03.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
There are lots of tools to create ISO image files on harddisk from a physical CD/DVD.
But are there drivers available (Windows 7 or 10) for reading a raw, physical CD/DVD, sector by sector (i.e. independent of any file system structure) into RAM, providing a driver interface so that software will see it as if it were a physical CD/ROM drive?
Alternately, but not as convenient for me: A driver making an ISO file appear as a physical drive rather than as an NTFS file. I don't need that permanent ISO image file, and waiting for it to be created will be a lot slower. (Actually, in my case, the RAM image could be built lazily: The application program could start immedately, and when the driver receives a request for a sector not yet read in, it could freeze the ongoing complete reading, serve the application by accessing the physical disk, and then return to the task of creating a RAM image of the complete disk.)
My PC, like most modern PCs today, has 16 Gbytes of RAM, so even a completely packed, two-layer DVD leaves between 6 and 7 GBytes RAM for other applications. If you need more, paging may throw out unused blocks to disk. Keeping a full DVD in RAM is perfectly realistic nowadays.
(In the good old days of DOS and 16+4 bit addressing, but RAM sizes were growing beyond 1 Mbyte, we did things like this with floppies: There was software to create a RAM disk in extended memory (who are old enough to remember LIM EMS? ). We created an 1.44 Mbyte RAM disk, copied in a entire floppy to it, in one go, track by track. If my memory is right, reading an entire track required two rotations, but after 154 rounds, for 77 tracks, the entire floppy was available thousands of times faster than reading the physical unit.
The problem today is not the ISO image file; I can write my own software to access every block in that image. Some other tools read from CD/DVD interfaces, rather than from the NTFS file system, or they provide other functions when reading from a physical drive. So I need a driver to fool them to believe that either an ISO file, or preferably, a RAM image of a disk, really is a physical drive, providing all those operations a physical drive offer, but at RAM speeds.
Which software is available to do give me that?
|
|
|
|
|
|
Maybe I wasn't clear enough.
I've got data on a DVD disk - or rather: A number of them. I've got an analysis program reading the data on the disks, but it will read from a physical disk only. It will not read from a disk file, neither on flash nor magnetic disks.
I do not produce the data; I receive and analyze them. It is more or less a one-time operation. Even if I could make an ISO file before I start the analysis, as soon as the analysis is done, I would delete the ISO file; I would not retain it, neither on a magnetic or flash disk.
RAM access is a lot faster than even flash disks, even with the OS caching disk blocks accessed. But more important: Creating an ISO image file on a flash or magnetic disk as a precursor to the analysis takes time. Especially if the driver would let you start working immediately after the DVD disk has been inserted, essentially reading the data sequentially in the most efficient way but if you refer to data not yet read in would put the sequential reading on hold to serve your request before continuing, the total time from start to completion could be a lot less.
Those alternatives in the article you link to will do half the job: Putting data in RAM. But the other half is having it appear not as an NTFS or FAT disk, but as a physical device that can be read as a raw DVD disk, below the file system layer. None of the 12 alternatives claim to mimic a physical DVD interface, and will not be accessible to an analysis program that reads from such interfaces only.
|
|
|
|
|
I'm still not "clear" then.
This tool will let you mount image files of hard drive, cd-rom or floppy, and create one or several ramdisks with various parameters. This all-in-one package includes the ImDisk Virtual Disk Driver (2.0.9), the DiscUtils library that extends the number of supported image file formats, and adds several GUIs and features.
(The "cd-rom" option includes "DVDs")
From there, there are virtual machines. If not, more "cpu" / threads.
Where you see obstacles, I see options.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
OK, so I have a DVD-ROM from which I can create an image file, aka "ISO file", residing on my harddisk / flash disk. This image file I can mount as RAMdisk so that I can access the files on that DVD-ROM as if it was a physical NTFS or FAT file system.
The text you quote states that the ISO file may be an image of a hard drive (with an NTFS or FAT file system), or a CD-ROM (with an ISO 9660 file system or derivatives) or floppy (with a FAT file system). Although the file system within that image file reside in RAM structures, read in from a single file created from a harddisk, CD-ROM or floppy, it will appear to file system requests as if it was a disk with an NTFS, ISO 9660 or FAT file system, with directories and format restrictions etc.
I see no indication whatsoever in the description that it allows direct access to physical sectors, or that it support device control for emulating physical drives. If it did, I am quite sure that it would be seen in the documentation.
Maybe ImDisk - in the good old "if it doesn't do what you want, modify it yourself" Open Source style - can be modified to appear as a physical CD/DVD drive with no implied file system structure, but providing a raw access to the sectors, and reacting sensible to all control signals that might be sent to a physical CD/DVD drive. If my task were to write drivers, I could probably do that. I did write a few driver in the DOS days; I never did for Windows.
If you have tried using ImDisk yourself, using some DVD/CD software accessing the RAM image as a physical drive - e.g. trying to burn files to the RAM disk as a CD-RW disk, ejecting the disk, responding to drive capabilites etc. - then you know better than I do. But then you probably would not refer to a description of functionality that is not what I am after.
|
|
|
|
|
Sorry, I just thought you were stuck in the weeds.
Last time I looked at sectors, it was using "Norton Utilities" on DOS x.x ... and I cannot even remember why.
I guess that's why my mind is going blank listening to you explain why you need to operate at the "sector level" when there are better ways to spend one's time in relation to the current state of the art.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Hi,
Member 7989122 wrote: Which software is available to do give me that?
I think maybe OSFMount[^] will do what you need.
I've used it in the past for analyzing malware/rootkits.
Best Wishes,
-David Delaune
|
|
|
|
|