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 )
Siemens Gigaset C475IP base station disassembed 

At the local flea market I have found a box with an ethernet port and and a DECT logo. I have bought it just for fun hoping that I will found some kind of embedded Linux running hackable stuff inside. Well after opening it I had to became disappointed.
Just for fun and archiving puposes I post my findings here.

The board markings:
W30852-Q1813-B101-5 and

The board's heart is a PCD80725ELF ARM base microcontroller made by the NXP.

I have not found any relevant information on the web about it, so I have asked the Philips (NXP) support, and they said:

All DECT activities of Philips Semiconductors were transferred to DSP Group in 2007. http://www.dspg.com/English/ They may still have that data sheet archived.

I have contacted with the DSP Group's support but they have not answered.

The other notable parts on the board:
S29AL008 (1Mbit CMOS flash)
CY7C1041CV33 (512Kbit RAM)
Atmel AT45DB161D-SU (2 MByte SPI flash)
Atmel 24C265 EEPROM
CP2200 single chip ethernet controller by Silabs
An unidentified DECT module possibly made by the Siemens
[ 1 hozzászólás ] ( 59 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 291 )

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