Quantcast
Channel: JeeLabs
Browsing all 265 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

A µSD, slave SPI, and DMA

Connecting an SD card to a Blue Pill was described in a recent article. With the sdcard.fs code, it’s as simple as calling sd-init, and then sd-read / sd-write for accessing 512-byte blocks.And since...

View Article


The virtual floppy jukebox

Times sure have changed: a fingernail-sized 2 GB µSD card of a few dollars can now easily store over a thousand 1.44 MB floppy disk images, while being quicker than the fastest hard drive from the...

View Article


Image may be NSFW.
Clik here to view.

Circular motions

Just back from a few days in Paris, visiting friends (a bit south of Paris, actually), but we did manage to squeeze in a stroll in the Jardin du Luxembourg - with memories of a (brief) childhood there,...

View Article

Image may be NSFW.
Clik here to view.

The limits of Mac and Mouse

It all started with recent kernel panics on my MacBook Pro laptop, almost every night, causing me to revisit my setup and choice of technologies. For the record: I’m very attached to my 2014-era “MBP”,...

View Article

Image may be NSFW.
Clik here to view.

Just a bunch of opinions

This week, I’ll report about some progress on the next EZ-Retro “v2” PCB and build (which isn’t quite right yet, unfortunately).But first, a topic which has been keeping me busy lately… typing and the...

View Article


Image may be NSFW.
Clik here to view.

Why Vim is very different

Ah, the smell of editor wars. Arguments collide. Opinions galore. Lots of heat, so little light…This article was not written for the sake of argument. I just want to highlight why I keep coming back to...

View Article

Image may be NSFW.
Clik here to view.

Taking it further with i3

This article is about the i3 window manager (and also, further down below, Ranger):Its main distinguishing feature is that is uses tiling as visual layout mechanism.While the mouse and...

View Article

Image may be NSFW.
Clik here to view.

EZ-Retro v2, now with a PCB

As mentioned earlier, the EZ-Retro project could use a PCB for a more compact and robust setup. There is a nice F103 board variant (search for “STM32F103C8T6 ARM Minisystem Development Board STM32“ on...

View Article


Image may be NSFW.
Clik here to view.

Troubleshooting the EZ-Retro

Here is the eZ80 chip, hand-soldered on the new EZ-Retro v2 PCB:The trouble is: something is very wrong: with my lab power supply set to 3.3V and a 30 mA maximum current limit, the voltage drops to...

View Article


Image may be NSFW.
Clik here to view.

Mecrisp Forth's memory use

The Blue Pill is a widely available and extremely low-cost STM32F103-based µC board which has an amazing amount of features and plenty of memory onboard: 64K flash and 20K RAM.In C/C++, the way...

View Article

Image may be NSFW.
Clik here to view.

Back to Forth explorations

Now that the EZ-Retro project is beginning to wind down, I’ll start exploring Forth’s features and behaviour a bit more again.One of the distinguishing features of a fully self-hosted system like...

View Article

Folie is growing up... slowly

Folie, the “Forth Live Explorer” is starting to shape up. Here’s a summary of what it’s about:a front end for Mecrisp Forth, i.e. a terminal emulator like picocom or Tera Termeasily find (ctrl-R) and...

View Article

F103 + USB = Swiss Army Knife

The USB driver for STM32F103 has been around for months and it’s proving to be very stable and usable. The current Mecrisp release now includes it, and there’s an F303 port available.The original code...

View Article


Image may be NSFW.
Clik here to view.

Some Mecrisp Forth utilities

This week, I’m going to demonstrate some tools from the Mecrisp Forth distribution.A different prompt, math functions (even without hardware floating point), random numbers, call tracing/profiling, and...

View Article

Simple Mecrisp Forth utilities

The default message shown after a reset of Mecrisp Forth is this prompt:Mecrisp-Stellaris RA 2.3.6 for STM32F103 by Matthias Koch Nothing else, no hint that you can start entering commands. With a...

View Article


Let's trace, profile, and patch

Although Mecrisp Forth “compiles” source code to machine language, it’s not really a compiler in the traditional sense, as with say C or C++. In Forth, the compilation process and runtime execution are...

View Article

Generated code & performance

Let’s look at how the tricks in the previous article end up in code, and their performance effects. First the trace.fs itility, which needs to insert special calls at the start and end of each word:: a...

View Article


Think, upload, rinse, repeat

As often mentioned, Forth enables an interactive development approach: you enter commands on the µC itself, and things get done right away. No make, no compile step, no uploads.But that’s an...

View Article

Image may be NSFW.
Clik here to view.

Going through the motions

The last word in last week’s introductory weblog post was “flow”. Let’s talk about that for a moment: what is it like to develop a Forth application for an embedded µC, and in particular a remote...

View Article

Image may be NSFW.
Clik here to view.

Multi-platform development

The title of this article is perhaps a bit misleading: it’s not just about developing code which needs to run on different platforms, it’s also about using different programming languages.Over the...

View Article
Browsing all 265 articles
Browse latest View live