Archive for September, 2014

Here’s the thing

Posted in Cyclone II Experiments, FORTH is it dead or isn't it? on September 17, 2014 by asteriondaedalus

Forth in hardware on FPGA!

So, of all the options found uCore seems best as it compiles on my EP2C5T144C8, voila!:

Oh so squeezy!

Oh so squeezy!

So only just.

However, this board has no RAM et al so not a lot of point (since you need external RAM and ROM (so-called).

However, on my bigger Altera Cyclone II board it has room to spare (a little) and RAM et al on the board (no ROM but I will have to sort that some old how).  Here is the map:

A tad more room!

A tad more room!

There is a config file (more or less, a constants file) that allows you to tune the CPU so I will look at what that might do for me.  However, first thing will be to sort out a blinking light app.

Erlang, Elixir, concurrency and functional programming

Posted in ConCurrency, Erlang on September 14, 2014 by asteriondaedalus

I toyed with Erlang a little while ago as I enjoyed functional programming in my early days.

In fact, I fell back into Erlang recently when I found people were doing for erlang VM what they’d been doing for the Java JVM – writing other languages that compiled to the VM.

So, go figure someone has done a version of Jason (agent oriented) at eJason.

Lisp is there with Lisp Flavored Erlang.

And Elixir is a new functional language to make using the OTP gentler than Erlang itself.

So, I have had to fire up my Debian64 to play with eJason and LFE, but my windoze box happily allows me to play with Erlang and Elixir.

I am slowing working through trying to get Erlang running on the bbb as well.

Go not so Go

Posted in Beaglebone Black, ConCurrency, Go Language on September 14, 2014 by asteriondaedalus

Well, I tried the flashing led example at Gobot for bbb.

It seems they left out a little bit of information, you actually have to add an LED (it doesn’t use one of the four USER LED provided on the board).

By the time I poured over the driver source I worked out that it does in fact leave out the USER LED.  There is no mapping function of the pin numbers to the ball grid on the bbb SOC chip described in the source so I am waiting on feedback as I think the driver needs a little mod to allow the four USER LED to be accessed.

Otherwise, code cross-compiled on my windoze 7 box and seemed to happily run on bbb (it printed debug info to the terraterm console).

So, looking forward to playing a little more in that space in between doing my Master’s Dissertation.


The chaps at Gobot have heard my suggestion and produced a dev stream to talk to the USER LED.  Thanks guys!