How to remove parts from the board created with negasilk.ulp in EAGLE 

The EAGLE will name them U$[n]. Open up your board in an XML editor look for the elements coming from the library then you will find the refdes of the part. Then type DELETE U$[n] to the command field and hit enter in the board editor.
[ hozzászólás ] ( 5 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 312 )
Whe Cypress FX2 shows up in device manager with error code 43 

If your Cypress FX2 based board fails to enumerate with "Windows has stopped this device because it reported problems. (Code 43)" error:

... then check that you have not swapped the D+ and D- pins.
[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 2.8 / 237 )
Building Cyanogenmod for Sony Ericsson Xperia X8 (Shakira) 

A log style lists of my problems and solutions.
(I am using kUbuntu 13.10 64 bit)

Building tutorial's source:


host C++: libhost <= build/libs/host/pseudolocalize.cpp
In file included from build/libs/host/include/host/pseudolocalize.h:4:0,
from build/libs/host/pseudolocalize.cpp:1:
/usr/include/c++/4.8/string:38:28: fatal error: bits/c++config.h: Nincs ilyen fájl vagy könyvtár
#include <bits/c++config.h>
compilation terminated.


sudo apt-get install gcc-4.8-multilib g++-4.8-multilib


host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: cannot find -lz


sudo apt-get install lib32z1-dev

[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 268 )
Wisdor LCD reverse engineering 

After the hungarian goverment decided to replace all the electronic cash registers to "online" cash registers so now there are a lot of e-waste machines in Hungary.

My father bought a Wisdor CR-681BFa half year ago, but he had to replace it. The machine has a 14 character semi-alphanumerical LCD with green backlight. (6 char alphanumeric, 8 char only seven segment) I decided to refurbish it.

I have not found any relevant information on the web about it. Some polish formums mentions it, but I have not found any datasheet, or useful documentation.

The following informations can be found on the LCD:
- EPCRE14XDB4-060720B It should be the partnumber, and the main board has the same prefix (EPCR683FMB2-061010B), so the LCD might be manufactured for only this cash machine vendor. This reduces the chance to found documentation on the web.

- CREDBOB (this might be the manufacturer name, or codename of the LCD)

- There are two solderable jumpers: J-LOOP1 and J-LOOP2.
In my case the J-LOOP1 is soldered, and there is a note on the silkscreen below that: FROM LCDDISPLAY.
The J-LOOP2 also has a note: DETECT LCDBOARD.
My uncle also owns a similar machine which has two piece of the same LCD. (That machine's has the same type of the LCD facing to the customer.) If I remember well the LCDs in that had different solder jumpering. I will try to get my paws on that and figure out how it works.

- The LCD has 8 LEDs for backlight. They are connected together by two in series and each LED pairs have a current limiting resistor.
The backlight controlling FET is installed on the LCD, see the pinout below.

- The board has a populated trough hole connector (CN-LCD 2)
It also has a place for a surface mount one (CN-LCD3) these connectors are wired together one-by-one.
There is a placeholder for a smaller raster 11 pin through hole connector (CN-LCD1)

Pinout of CN_LCD1:
1 ?
2 ?
5 5V
6 SCLK (WR strobe)
8 ?
10 JP_LOOP2 pin one
11 JP_LOOP2 pin two

Pinout of CN_LCD2, CN_LCD3:
1. GND through J-LOOP1 short
2. ?
3. BL_ON
4. SCLK (WR strobe)
6. ?
7. ?
8. 5V
10. GND

After figuring that out I have fired out my saleae clone and captured the traffic. The LCD always get updated because the macine is in error state after turning off (the service had removed the "black box" after taking it out from the trading.)

You can find the captured waveform from the turning on state below:

Can be opened with Saleae Logic software.

Well I have not figured out anything special from the waveforms, so I have continued my investigations.
The machine's CPU is a Pinnacle 98CP49. I has the same logo engraved what is on the LCD's PCB silkscreen, so I would estimate that it is an ASIC or something similar. After doing some search around this CPU I have realized that it is very common in cash machines. Remember documentation mostly can be found in pdf so append filetype:pdf to your search criteria.

The third result comes from a Serbian company including a serbian service manual for a Micro cash register. This machines is built around the same CPU, and have similar LCD.

On the 32th page there is a schematic for the LCD pcb which seems to have similar connection to the mine. The LCD's controller is a 98L50/DICE1. Unfortunately I have not been able to find any relevant documentation from it. I guess it is an another ASIC according to the naming convention and the DICE could be a typo of DIE because it is a wire bonded IC on my board.
[ 2 hozzászólás ] ( 119 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 220 )
VPNC connection fails after upgrading to Ubuntu 13.10 (saucy) 

My corporate VPN connection got broken after I have updated my desktop to Kubuntu 13.10.

First I have started the Networkmanager's vpnc service in debug mode:

sudo /usr/lib/NetworkManager/nm-vpnc-service --debug

When connecting to the VPN the following message had been shown at the end of the log:

S5.5 do xauth reply
[2014-01-12 09:54:00]
/usr/sbin/vpnc: server requested domain, but none set (use "Domain ..." in config or --domain

The KDE networkmanager applet do not provide input for the domain, so it had to be workarounded:

Edit the /etc/NetworkManager/system-connections/[VPN connection name]

And insert the following line under the [vpn] section:


[ hozzászólás ] ( 10 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 314 )

<< <Előző | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | Következő> >>