Category: Embedded Development

Proof of life

Wow – it is actually ticking -at least blinking the leds. Been a bit forth and back – this is a STM32F105RB – I connected it using zero resistors on the VCAP as I could not get STM32F405RG to work. Turned out the problem seems to be my Mini ST-link’s. Well be back With STM32F405RG,…

Read the full article

STM32F405RG

I did at one point assume that STM32F105Rx and STM32F405Rx was identical on schematics – they actually are with the exception of two pins. Notice the VCAP pins connected to capacitors at bottom – on a STM32F103 or STM32F105 these are connected to ground.

Communication Adapter

I have a lot of electronics that I had little time to work on. This communication adapter is one of them. Using a STM32F405RG it communicate between 6 different wired/wireless methods. The picture on the top show the 3D model, the picture on bottom show the PCB. I had this stack of PCB’s next to…

Read the full article

Plain Libraries

One lesson learned from C#/Java versus other languages is that we need to include standard libraries as part of the language standard. C/C++ do not do this and suffer the consequences of lower portability between platforms as a result. The challenge is that libraries will be larger than the VM itself and many of them…

Read the full article

Plain Assembler Design

This is not my first language as I done some proprietary scripting and experimental parsers in the past. This did not lead anywhere expect to influence how I want Plain Assembler to be designed. The drawing above illustrate the main components. Repository is a fancy word for a database. Plain is unique as it start…

Read the full article

Plain Roadmap

I Introduced the Plain concept 28th January, we are now 2 months into the making and I start seeing the end of the draft and need to consolidated a specification. I like where I am heading with Plain as it has grown from an experimental idea into something that I look forward to use myself. But,…

Read the full article

Plain – Functions

Functions in Plain are similar to functions in any language with a few important differences. A function in Plain will return an event with parameters, meaning we return a different set of parameters depending on what even we raise. The second difference is that we let a function call be an implicit state-engine where we override optional or…

Read the full article

Plain – State Engine Part 2

Introducing “State..On” syntax to catch events makes a lot of sense. State will wait until one of the listed events happens before it process that event and continue. Call MyFunction1(..) Call MyFunction2(…) State MyState1(MyFunction2) On Error(…)             // On Timeout(…)             // End  This example will test for Error, Timeout and Continue. Continue is implicit…

Read the full article