[cygwin] error while loading shared libraries: ?: cannot open shared object file: No such file or directory 

When you are facing at this error message open up the dependecy walker from here:

http://www.dependencywalker.com/

and you will realize that some of your linked libraries dependencies are missing from your system.
[ hozzászólás ] ( 5 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 188 )
Napi facepalm: OpenOCD telnet port 

Ha az OpenOCD egy +-t dob vissza és nem promptot a 3333-as portra telnetelve akkor a hiba nem az Ön készülékében van, hanem a JTAG prompt a 4444-es porton érhető el....
[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 290 )
Retro: ASUS mimic CX200 JTAG hacking 

Back in my university years I have had some issues with an Asus MIMIC CX200 camera. One of them got broken after a firmware upgrade so I have decided to fix it with JTAG. I have successfully got to UrJTAG to read the IDCODE of the S3C4510B, but I was unable to detect the flash. Now I know that I have had to tweak the bus driver and reveng the board a bit.

Here are some pics (shot with my Nokia 6230 in VGA res) about the trick:


Thin albanian wires were soldered directly to the pins.


Live together cry together series 100 Ohm level shifter JTAG adapter to LPT port.


I have designed an addon board to expose the CPU's intresting interfaces (2 serial, USB, JTAG)



It is fun to look back to those pictures from now. After 5 years we got to a state when it is easier and cheaper to buy a Rpi to solve the same problem rather than fixing that board...
[ hozzászólás ] ( 29 megtekintés ) [ 0 trackbackek ] permalink kapcsolódó link ( 3 / 444 )
Install and uninstall Windows drivers from INF files on Windows XP 

Got a daily task with the following conditions:
Get a Windows driver (generated with NI VISA driver generator) installed from TestStand and uninstall that after the test sequence had been run.

My first idea was the devcon.exe's install command, but it does not do what I wanted insted of created a new device in the device manager.

But the following trick was did what I needed:
C:\WINDOWS\system32\rundll32.exe syssetup,SetupInfObjectInstallAction DefaultInstall 128 foo.inf

If you want to call it from NI TestStand create a variable and pass it as arguments otherwise it will not work as expected.

Removing the driver can be done with the following command:
C:\WINDOWS\system32\rundll32.exe syssetup,SetupInfObjectInstallAction Target_remove 4 foo.inf
[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 184 )
Compile urJTAG on Windows under cygwin 

Ingredients:
urJTAG source from SVN or Git.
Cygwin: install the packagelist from here: https://dl.dropboxusercontent.com/u/4295670/packagelist with the technology described here:
http://blag.nullteilerfrei.de/2014/01/3 ... -packages/

The python binding is broken so run the ./autogen.sh with --disable-python option.

Add

#define WINAPI_FAMILY 2
#define NOUSER

befor, and

#ifdef IN
#undef IN
#endif

#ifdef OUT
#undef OUT
#endif

fter the #include <windows.h> into the sysdep.h

Run
make -j 8 CFLAGS='-Wno-char-subscripts -Wno-unused-value'




[ hozzászólás ] ( 17 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 293 )

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

 
számláló