avatar

Tiliaradix log

Entered Siem Reap

Yes, I heard right, there def is corruption. After shooing away the expected touts, first thing that happens is that a welldecorated police officer sees my shopping bag of food and "asks" me to give something because he's hungry. In front of other cops and tourists, without shame. I find it a little funny and gives him a bun (fika ftw!). Next thing, they ask for 25$ instead of 20$. Wasn't a problem though, I just said clearly and with my thunderous authority that it's only 20.

Cambodian communication

Chatuchak market was as cramped and chaotic as I remembered, so many booths and people in narrow lanes. The roof made it a very warm and humid experience, although we didn’t buy anything there were plenty of maybes. Then we roamed the Siam malls and I bought nice goggles for a really nice price (900B is ca 180kr). Looking forward to using them! We changed hotel from Davis Bkk hotel at Sukhumvit (awesome!

Intermedio and arriving

We had almost five hours transfertime at Charles de Gaulles, Paris,before the flight to Bangkok so we took a quick detour to have some red wine at a small café close to Notre Dame. From CDG it was a 45 min at 8.5€ trainride. Never been to Paris before, and it was very nice! I will come back here some other time :). We flew with Air France and I must say I'm impressed!

Leaving Sweden and Swedish midsummer

Leaving Sweden and Swedish midsummer in this weather seems fitting in some way…

Changing Iphone sms signals

After jailbreaking, you can ssh to the phone and change stuff you couldn't before, like the sms-signals. There are a preset number of signals (4.3.3 there are six) and you have to replace them with your own. First it must be converted to AIFF and renamed to .caf. Prep the phone 🔗 Jailbreak the phone Install OpenSSH from Cydia Prep the mac and SMS signal 🔗 Download and install Cyberduck on a mac (simple sftp gui prog) Find the signal that you want In Itunes, go into preferences – advanced – importing – "Import using", set to AIFF Import into Itunes, then rightclick the tone in the songlist and choose "show in finder" Rename it into the one you want to replace (I dislike #4 and #6), eg sms-received4.

Trying out mobile posting

This is just a test post to see if posting via the Iphone Wordpress app works good. Apparently, to enable mobile posting, you have to enable XML-RPC in your wordpress settings. This was me working in the sun :). This is the starter course we had at the conference today.

Updating Iphone failed: "not eligible"

Background, was running my Iphone 4 with 4.2.1 and tethered jailbreak using redsn0w 0.9.6.4b. I wanted to update it to 4.3.3 to both get rid of the tethered boot (ie, to boot up the phone, it must be connected to my Macbook and I must go through a keypress kombo (not the Konami-code ;) ) and to get the convenience of Wifi-hotspots. Itunes didn't like me though so it kept saying "this device is not eligible for the requested build" when it came to the 'verifiying with Apple' stage.

Linux signals

Signals are software interrupts to processes (in POSIX-compliant systems). SIGSTOP (19) stops the process, halts all execution but does not kill it. It cannot be trapped/ignored. SIGCONT (18) continues a process stopped with SIGSTOP. SIGINT (2) sends an interrupt to the process, which decides what to do with it. It can be trapped/ignored. Usually sent with ctrl+C. SIGTERM (15) sends an irq to kill the process. This is a graceful way to kill it and lets it do what it needs before shutting down (eg saving data).

Error uploading to JCreate

I had this error a while ago in a new virtual machine, where I was trying to compile and upload to a Sentilla JCreate, an obsolete sensor node similar to the Tmote Sky but without some of the sensors and added an accelerometer. This was the error, $make myfile.upload ...text something like: only pure serial drivers exist ... -bsl=revb Now, trying with the same this as super user worked, $ sudo make myfile.

About

This is the blog that I maintain mostly for myself and my friends and family, to keep something of a diary and letting people know what I'm doing while abroad. A secondary purpose is to share knowledge and experience from stuff that I've been doing, mostly electronics and programming. A tertiary purpose is to work as a

TI Launchpad makefile

[caption id="" align="alignleft" width="300" caption="TI Launchpad"]<a href="http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_%28MSP-EXP430G2%29?DCMP=launchpad&HQS=Other+OT+launchpadwiki"> <img title="TI Launchpad" src="http://processors.wiki.ti.com/images/thumb/a/ad/LaunchPad_wireframe.PNG/300px-LaunchPad_wireframe.PNG" alt="TI Launchpad" width="300" height="351" /> [/caption] The TI Launchpad is a small fun developers platform, perhaps most suited for beginners to microcontrollers. It retails for $4.30, comes with two simple MSP430 microcontrollers, a small PCB with two LEDs, pushbuttons, pin headers etc. It can be programmed via USB, either by the TI provided software, or, as I do, with msp-gcc and mspdebug in Linux.

Hello world!

First post, about to fix this later. Now just done with the install. Gotta learn how to paste code and stuff with syntax highlighting. Another task, another day.

About

This is the site for Marcus Linderoth and my company Tiliaradix AB. As such, it’s a mix of personal and apersonal matters. I am co-founder and VP of engineering at Thingsquare. We help our customers build IoT products quickly, robust, and feature-rich thanks to our IoT-platform. This site is my own and does not reflect the views of Thingsquare. I consult and take on contract work in the fields of embedded systems, IoT, firmware.