New P&E OpenSDA Firmware v115 for K20D50M

Having trouble uploading compiled code to K20D50M board? There’s a new firmware that (should) fix this. A few weeks ago, I’ve updated the OpenSDA firmware on my Freescale FRDM-K20D50M to v114 only to find out that it no longer let me uploading any compiled files to the board. At first I thought my board was faulty, but felt relieved to hear that Erich Styger, an mbed expert, confirming this v114 firwmare also affected his K20D50M. Erich contacted P&E, and they in turn confirmed the problem. ...

June 3, 2014 · 1 min · 162 words · kenno

MongoDB warning: Failed to connect

After upgrading MongoDB from version 2.4 to 2.6, I am not able to connect to it from another machine. The firewall has been checked to ensure that port 27017 is opened for the machine that I want to connect from. So what else could go wrong? Well, I was impatient and turned to you know what… Google search. According to this link: https://groups.google.com/forum/#!msg/mongodb-user/yhf05AW-hK8/YqES0cVIXlUJ, the problem is due to the database is bound to only local IP. ...

May 22, 2014 · 1 min · 192 words · kenno

FreeBSD 10: Shared object 'libstdc++.so.6' not found

Today while I was updating py27-m2crypto package on FreeBSD 10 using portmaster, the following error message was displayed: Shared object "libstdc++.so.6" not found, required by "swig" Fortunately, someone else has found the problem and solution before me. According this blog post, FreeBSD 10 includes a new C++ stack and gcc, including libstdc++, is not installed by default. Therefore, to fix the missing this libstdc++.so.6 issue, we need to install lang/gcc. If you use portmaster, the command to install lang/gcc is: ...

April 25, 2014 · 1 min · 85 words · kenno

moserial - a serial terminal for Linux

The real tag line for moserial is “a serial terminal for the GNOME desktop”. However, since it’s installed just fine on my KDE desktop, I titled this post as “moserial - a serial terminal for Linux”. (Well, it probably works on servers as well, not just desktop.) So what is this moserial? It’s a terminal which allows you to connect to view or send data to a serial port. For example, a lot of mbed device or micro controllers, such as Arduino, can be configured to send/receive data via serial port. Before I found out about this program, I normally open up Arduinio IDE and connect to the Arduino via Serial Monitor function. Now, I never look back after using moserial. ...

April 22, 2014 · 1 min · 146 words · kenno

Puppet agent hangs after loading facts

At my current work place, we use Puppet to manage desktop machines. Recently, I need to prepare an new image based on Ubuntu 14.04 LTS. To prepare an image, in brief, first thing is to install a fresh Ubuntu on a machine, compile and package lots of applications, and make change to configuration such as look and feels, etc. As mentioned earlier, I use Puppet to manage machine, so I store all customed configuration on the Puppet server. ...

April 22, 2014 · 2 min · 373 words · kenno