WeatherDuino Forum
Nano Running Optboot = Uno in nano format - Printable Version

+- WeatherDuino Forum (https://www.meteocercal.info/forum)
+-- Forum: Weather Stations - WeatherDuino Pro2 Line (https://www.meteocercal.info/forum/Forum-Weather-Stations-WeatherDuino-Pro2-Line)
+--- Forum: General Talking (https://www.meteocercal.info/forum/Forum-General-Talking)
+--- Thread: Nano Running Optboot = Uno in nano format (/Thread-Nano-Running-Optboot-Uno-in-nano-format)



Nano Running Optboot = Uno in nano format - strada916 - 22-11-2015

So I have been doing so searching on how to increase the memory available in the Nano, Turns out the boot loader is very memory hungry. So I found the following video on youtube and decided to give it a go. Julian Ilet Optiboot

Optiboot

The main reason behind this was that I want to run the RX board with the data logger and 1.8in TFT screen. (bigger screen maybe later) I have a 20 x 4 line LCD coming, however curiosity got the better of me.

So I started by downloading the required files and I already had a USBasp. Connected the USBasp up and loaded the bootloader into the sketches folder (foolder I was using at the time) opened IDE and selected board type Uno, appropriate com port and clicked on Burn boot loader. The LEDs flashed once and that was that the Nano is now an Uno. More memory here we come.........


So now all I had to do was modify Werk_AG firmware to stop the data logger from being disabled when the TFT option was selected. Too easy.

Following code is from the main tab in the IDE WeatherDuino_RXxxxxxxx
Quote://#if (DisplayType == 0 || Work_Mode == 1)
//#define Run_Logger 0
// #else
#define Run_Logger Logger_Enable
// #endif

Well this is as far as I come thus far. Keep you posted with any more developmets.
I'll come back with some before and after memory used figures with and without Optiboot


RE: Nano Running Optboot = Uno in nano formate - werk_ag - 22-11-2015

(22-11-2015, 14:59)strada916 Wrote:  I'll come back with some before and after memory used figures with and without Optiboot

Well done strada916 Smile
Unfortunately changing the bootloader does not increase the 2K SRAM which is the worst limitation.
Will be interesting seeing the next episodes.


RE: Nano Running Optboot = Uno in nano formate - strada916 - 27-11-2015

I'm looking at getting to this soon, sorry for the delay.