Hello,
I am facing a strange problem in a project running on a Nano board clone. The projet is built using avr-gcc compiler and avr-libc with a simple Makefile under Debian Buster GNU/Linux computer, I am not using the Arduino IDE. The circuit involves an Arduino Nano clone board, a BME280 pressure, temperature and humidity sensor connected at the I2C pins and a 2x16 char LCD display connected to the Nano using 4 data bit interface. I am using libraries from Github for LCD, I2C and BME280 device and avrdude to program the device. I only use the IDE for uploading the bootloader to the MCU. Tha program simply reads the sensor at 2500 ms intervals and display temperature, pressure and humidity on the LCD screen.
The problem is very strange and I am desperate cause I do not know where the problem is originated. The program works fine if I am using the new Nano bootloader, but if I upload the old bootloader with the IDE and upload the program with avrdude as usual with no errors, the LCD display does not show any characters. I do not know what is going on there.
So, I am not sure what are the bootloader diferences between old and new bootloader that can lead to my program to fail working. I have been reading the documentation and notice that main differences are bootloader size and something related to the watchdog that I think shoud not make any diferences in my case.
I can provide any kind of details you can require for trying to solve this problem. Is is not a real problem cause the program works OK with the new botloader but it is a matter of discovering what is going on here with the old one.
Thanks so much.
Ramiro.