Thursday, August 19, 2010

GPS sku.37914

Yesterday I received my second GPS device sku.37914, got it for $106. Previous one sku.23569 I sold for half price after a year of usage.



Quick specs
6" TFT LCD, 800x480 pixels
Windows CE 6.0 English
CPU ARM11 500 MHz, dual core
RAM 128 MB
Built-in 4 GB internal flash memory with iGO 8.3.2.80621
1200 mAh rechargeable lithium polymer battery
SiRF Atlas-4 GPS chipset
MicroSD slot up to 16 GB cards (support for SDHC too)
FM transmitter
No BlueTooth this time
No SD card

SystemInfo
Rom version: PA06.1204.0608I7680CH
Software version: V3.6.E60.12.22
OEM info: YFAtlas4
Platform ID: 5955414E46454E47
DeviceID: 0000000000000000
Copyright (c) YF International Ltd

Windows says (via Active Sync)
Model name: AT8X0
Manufacturer: YFAtlas4
Firmware version: AT8X0 6.0

My iGO configuration files (sys.txt) for this device.

After week usage notes:
Full charge from AC adapter about 3 hours.
Battery holds almost 2 hours in low backlight (WOW!).
Screen is very bad on sunny day, even not direct lights in the car. You can use it like a mirror :-) Perfect at the evening/night of course.
Looks huge, not so heavy.
Haven't problems with taps at the corners.
Sound is good, strong enough.
Replaced stock windshield with stronger one (~$10 in local supermarket), stock's looks very weak.
So far no troubles with adapters, all cars fuses are fine :-)

Update (2010/08/22)
Saw similar device (looks exatcly like mine) in Shekem Electric for ~800 NIS as Apex 6062.

Tuesday, August 17, 2010

New Israel speed cameras update for iGO (August 2010)

The file

Note that all speed limit notifications are set to 90 km/h - may vary on some roads from 70 to 100 km/h.

Missing cameras with following coordinates:
Road 4
N32°06.307',E31°50.940'
N32°25.413',E32°25.348'
Road 2 (Ayalon HW)
N32°32.650',E35°54.997'

And those, which coords are unknown. I will try to check their locations by myself later.

Install instructions (should work on any 8.x version, tested on Primo):
0. Exit iGO (if need).
1. Open your iGo content folder \SDMMC\iGO\CONTENT\SPEEDCAM.
2. Copy file there (choose view raw to download file).
3. Remove any *.spdb and *.spud files, program will create them again on start-up.
4. Run iGO.
5. Check for new cameras between Caesarea and Zihron Yakov on road 2.

Sources
הכינו את ה-GPS: כאן תמצאו את מצלמות המהירות
המצלמות החדשות ומיקומן

Tools
GPS Coordinate Converter, Maps and Info

UPDATE (2010/08/22 1:20)
Drove on road 2 last night - no cameras on GPS positions. Fakes?

Wednesday, August 4, 2010

NetBeans and Xdebug

Finally, I was able to setup xdebug with NetBeans.

Client:
Operating System: Windows 7 Enterprise [version: 6.1.7600 ]
Administrator privileges: No
Product Version: NetBeans IDE 6.9 (Build 201006101454)
Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b16

Server:
nginx/0.7.67 - not relevant
Apache/2.2.13 (Unix) with mod_php - not relevant
PHP 5.2.13 (cli) (built: Jul 21 2010 14:56:47)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans

Steps:
Install Xdebug via PEAR. I got version 2.1.0.

Enable Xdebug extension in php.ini:
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so ; <=- can be different
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = 2.1.1.11 ; <=- your client ip here
xdebug.remote_port = 9000
xdebug.remote_mode = req
xdebug.idekey = "netbeans-xdebug" ; <=- default netbeans id
xdebug.remote_log = /path/to/your/logs/xdebug.log 
xdebug.extended_info = 1

Check installation in CLI:
php -m | grep xdebug
php -i | grep xdebug 

Restart Apache.

Check firewall settings that "C:\Program Files\NetBeans 6.9\bin\netbeans.exe" is allowed in proper network locations.

Open NetBeans. Go to your project properties > Run Configuration.
Setup "Project URL" and other if need.

Open "Advanced..." settings, check everything there.

I was able to run into debug mode but without execution line highlight.
So I got back to advanced settings of the project, setup path mapping.
Example:
/usr/local/lib/php/Zend > C:\tmp\ZendFramework-1.10.7-minimal\library\Zend

After that, I saw that Zend files were mapped successfully, but part of project files on network storage not. You can see that in a "Call Stack" window.

It turns out, that NetBeans don't likes network in debug mode.
To fix that, open "My Computer" > "Map network drive" to some letter.
Now, use the new drive for path mapping instead of direct network path.

And voila - it works! ;-)

Notes:
By default NetBeans will break on the first line of the script (you can change this behavior in the PHP / General section of the NetBeans Preferences).

Sources:
NetBeans wiki - HowToConfigureXDebug
Path Mapping In PHP Debugger
PHP 5.3 + XDebug + NetBeans + Mac OSX Leopard

See also:
Xdebug - Debugging with multiple users
Be careful with "Ask Every Time" debug URL

Update:
Upgrade to NetBeans 6.9.1 that fixes double ask for debug URL and other improvements.