Sunday, July 8, 2018

TomTom Start 20 trouble

I am a lucky owner of navigation system TomTom Start 20. It works quite good, must say and I am satisfied in general. After a while of using decide to update maps and software as this is included as a lifetime service.
And than I got in 3 hour fight to connect the device to PC. I reinstalled software, installed/reinstalled drivers. Tested on 2 computers with 4 different USB cables. No luck. And than by accident saw a message on navigator screen that I must use original cable when connecting to computer because other cables might not work. And yes, found an original cable connected and it magically started to work.
Don't know yet how this TomTom cable is different (maybe data lines swapped ?), but lesson here is to read messages and manuals which are provided by manufacturer. Sometimes it can save you a lot of time. ☺️

Monday, July 11, 2016

Office Professional 2003 installation

One day there was need to reinstall old home laptop. It is still working acceptable, and I also decided to put into it a new SSD drive. So why not reinstalling? But story is not about that actually. I have official Office 2003 version bought for that particular device. But unfortunately held into closet for 8 years CD-ROM was not able to start installation because of corrupted files. Visually there was no any indications that CD-ROM is bad but still it was not working on any of several computers.
Contacted Microsoft support. They politely told me that that version is not supported anymore. Actually it was not easy to find an official original installation ISO file. I spent a good amount of time. But luckily I ended at this site.
I downloaded needed ISO. Installed. Activated. So far works OK. Good.

Sunday, December 13, 2015

Dell Vostro 3350 problems upgrading to Windows 10

To get to Windows 10 appeared not an easy and straightforward task on Dell laptop. I chose upgrading from Windows 8.1 but not making a clean install. Can not comment on fresh install but upgrading made problems.
Process started as usually. Double clicking Windows 10 upgrading icon at the desktop clock. Everything went smoothly but during the process close to completing laptop screen went black. Computer was responding and it can be decided by looking on HDD light blinking and also Caps Lock light toggling. Thanks to googling I found recipe that helped.
  • First what you must do is connect external monitor to VGA output socket. You must be able to see login screen. Log in yourself.
  • Than connect to Internet and go to Dell.com and download latest BIOS update for your machine. I updated to A09, but when writing this also found that A10 is available. I suppose this is not critical, just use latest one.
After restart you should see picture on both screens.

Both Windows are 64 bit versions.
Before I was testing different drivers for Intel HD Graphics 3000, newest one and some older, but what actually helped was this BIOS update.
You can also get picture on laptop's screen manually selecting Basic Graphics Drivers, but this is not good solution because you can't use maximum resolution also other features like external monitor connection etc are disabled.

Tuesday, November 10, 2015

CRC calculation in C

Here are some useful Internet resources when you have to deal with CRC calculation and checking. I found them handy and use occasionally. Some are online calculators, some gives also technical descriptions.
Below is some real working C source code. Borrowed from here!
It is tested and working. It calculates CRC CCITT16 with starting value 0xFFFF. It might be not as fast as table based CRC calculations, but occupies less RAM and code space which sometimes is essential for embedded systems.


#define POLY 0x1021

unsigned char i;
unsigned int crc = 0xFFFF;

while (wLength--) {
    wCrc ^= *(unsigned char *)pData++ << 8;
    for (i=0; i < 8; i++)
        wCrc = wCrc & 0x8000 ? (wCrc << 1) ^ POLY : wCrc << 1;
}
return wCrc & 0xffff;

Friday, November 6, 2015

uVision UDAS debugger connection problem

Recently I was getting strange error when trying to debug sample software on Infineon XC800 Starter Kit. Previously it was all ok, but now I got error messages in uVision output window:

Searching for DAS Server 'UDAS'...
DAS Server 'UDAS' is installed.
DAS Server 'UDAS' is not started yet. Trying to start it now...
DAS Server 'UDAS' has been started successfully.
Warning: Unknown JTAG ID=00000000. Assuming an XC866-4FR device with 16K flash

 I struggled for a while with the same problem but without success. Finally decided to search Internet and found some guidance here. I decided to switch mini-USB cable and problem disappeared immediately. Apparently I was using some random cheap low quality cable this time. Took another good thick cable and everything was fine.

Some lesson to learn. Always use good cables and check Internet after a moment if you are not succeeding to resolve problem soon.