Wednesday, July 24, 2019

How to compile Linux for Zybo (Zynq) development board and start it from QSPI

This article will describe how to prepare all the necessary files to run Linux from the Xilinx FPGA, namely the Zybo debug board. With the subsequent writing of the necessary files on QSPI and the launch of the finished system.

This article is based on the following guides:
instructables.com, xilinx-wiki.atlassian.net, github.com.

FPGA development will be done in Vivado 2019.1, The necessary files for Linux will be compiled in a virtual machine Oracle VM VirtualBox, on which Ubuntu is installed.

Compilation will take place without PetaLinux, which, as Xilinx claims is a platform that contains everything you need to run Linux on FPGA and makes it easy to make changes. In this manual however, everything will be assembled manually, in order to take a closer look at the work of embedded systems.

Monday, September 29, 2014

Working with BMP file C++ convert image in to an array

I described insides of the BMP file Here.

I needed a program which converts bmp image in a 2 dimensional array of 0 and 1. So i could display the image on the LCD display from Nokia 5110.

Here I have the source code, written in C++, now i will explain how it works.

int main(int argc, char *argv[])

How the BMP (bitmap) image looks from the inside, in binary

I needed to create a mitmap image in to code converter for Nokia 5110 display. So i decided to use .bmp images, just because they are simple.

If you want to look inside image file (binary code) you can use any "hex editor", if you open any file, programm will display to you hexadecimal codes from which this file consist of. I use "Hex Editor XVI32"

Sunday, September 28, 2014

nokia 5110 LCD display AVR


Now i will write about nokia 5110 display.

Saturday, September 27, 2014

Working with LCD display on HD44780 AVR

If you need only ready to use library, you can get it here.

Datasheet


I ordered display from ebay, 2 lines by 16 symbols.


How to work with AVR MC pins and their additional functions

I will write an overview about different AVR ATmega8 pins and show some coe examples for working with tem.


Friday, September 26, 2014

PC games I've made with SDL and C++

Long time ago i decided to teach myself how to make computer games. So here i will show what games i created.
All games written on c++ with SDL library, some of them have source code, too bad I don't have source code for all of them.

Horizontal shooter


The first semi-game i have ever made, i wanted everything in it, so it was never finished, moreover when it was working CPU usage was 100% and RAM was fille with garbage.