@ jasdev: you need to flash tinybooter.hex with a JTAG/SWD device, like Jlink or Mikroprog for STM32. The guys at Mikroe has tied BOOT0 pin to GND (if I remember right) so no way to use STM bootloader.
Will this work with the 3.5" Mikromedia M4 STM32 board. It has the same processor, but I don’t see any reference to a display processor like the 4.3" Mikromedia plus. What do you think?
@ kinocode- I’m sorry for the delay, but I missed you question.
The LCD screen is managed through a custom library that you can find on Codeplex in the directory:
[em]\DeviceCode\libraries\LEDONET.EasyDisplay[/em]
There you can find [em]Managed [/em]and [em]Native [/em]code.
I will post some example code as soon as I will be in office.
This is a simple example:
//in the reference you need to add
// LEDONET.EasyDisplay.dll
using LEDONET.EasyDisplay; // needed for custom library
using GHI.OSHW.Hardware;
using System.Text;
...
Font f = Resources.GetFont(Resources.FontResources.NinaB);
EasyDisplay.Initialize(Orientation.Landscape);
EasyDisplay.SetPWMBacklight(255);
EasyDisplay.DrawRectangle(0, 0, 479, 271, Microsoft.SPOT.Presentation.Media.ColorUtility.ColorFromRGB(0,255,0));
EasyDisplay.DrawText("Test native NETMF display", x, 50, ColorUtility.ColorFromRGB(255, 128, 0));
// Simple bitmap draw from resource
byte[] buffer = Resources.GetBytes(Resources.BinaryResources.music_add);
Bitmap bmp = new Bitmap(buffer, Bitmap.BitmapImageType.Bmp);
TinyBitmap tbmp = new TinyBitmap(bmp);
EasyDisplay.Draw(tbmp, 400, 220);
...
I cannot change the images in this example file “mikromedia Plus for STM32 Examples”. I were able to change the images in the file “Images on external resources” . afterwards I built the hex file and then I uploaded the hex file into the STM32 micromedia plus. In the slide menu, the images were the same like they were before I changed them, they had not changed at all.