How to get your CosmosEx working

News, questions and bugs reports about CosmosEx by Jookie. Now we have a Raspberry Pi in our machines!

Moderators: Jookie, Moderator Team

User avatar
Jookie
Hardware Guru
Hardware Guru
Posts: 1245
Joined: Wed Feb 04, 2004 6:54 pm
Location: Kosice, Slovakia
Contact:

How to get your CosmosEx working

Postby Jookie » Wed Aug 20, 2014 7:51 am

Hello all,

sometimes you might end up in a situation where your CosmosEx device is not talking to the ST at all (failed / broken update, SD card failure, ...) - you see either the blue LED blink on CosmosEx device every 15 - 20 seconds, or it doesn't blink even once after restart even if like 1 minute passes...

In the worst case you might need to write the SD card image to your Raspberry Pi SD card, you can get it from the download page:
http://joo.kie.sk/?page_id=474 (marked as 'Raspberry Pi SD card image for running the device')

In most cases that is not needed - if you connect a TV to the HDMI port of Raspberry Pi, and you see linux booting after power on, ending up with login, you can skip this step.

To get the device working, you need to get into Raspberry Pi shell, and you have two options:
A) connect it to TV using HDMI, connect it to internet using the network cable, connect an USB keyboard, and a power supply (ST not needed), then turn it on, wait for the login prompt
B) connect it to internet using the network cable, connect a power supply, turn it on, wait 30 seconds, and then connect to it using SSH protocol (using some tool, e.g. Putty)

Then log in as user 'root', password is 'ce', then enter the following:

Code: Select all

cd /ce
wget http://joo.kie.sk/cosmosex/scripts.zip
unzip scripts.zip
chmod 755 *.sh
./ce_update.sh
(wait until update finishes...)
./ce_start.sh


This will download some helper scripts, download the update, update the software and firmware and then start the software. After that see if the blue LED blinks shortly, wait a while (say 30 seconds), then power off the device, power it on again, wait and see if the blue LED flashes after ~15 or 20 seconds. If it does, you should have the device in a good state now. Disconnect all the cables, connect it back to ST and see what it does (it should be working at that time).

The newer Raspberry Pi image will have these scripts inside, so the first 4 steps won't be necessary, you will do only /ce/ce_update.sh and /ce/ce_start.sh then...

One last thing - if you want to delete all your settings (which you might suspect as a cause of your issues), do the following in the command line:

Code: Select all

rm -f /ce/settings/*

When no settings are present, CosmosEx app will start with the default settings...

Social Media

     

Return to “CosmosEx”

Who is online

Users browsing this forum: No registered users and 3 guests