Hi
I have an Arduino pro mini powered by a 5V 2A adapter connected directly to the 5v and and pins. I am using an external Arduino Uno (without the MCU) to program the sketch directly to the pro mini (Uno gnd, TX, RX and Reset connected to pro mini gnd, RX, TX and DTR, respectively).
I am using the pro mini eeprom to save data when device is unplugged. Everything works fine with the uno programmer connected to the pro mini device. But when I plug the device without the programmer the code blocks when I compare a local variable with variable got from the EEPROM. But if I press the reset button it works fine again.
I don't understand the relationship between the serial por and this misterious block. I even commented everything using the Serial port (begin and prints) but the problem continues.
Any suggestions?
Best regards.
I have an Arduino pro mini powered by a 5V 2A adapter connected directly to the 5v and and pins. I am using an external Arduino Uno (without the MCU) to program the sketch directly to the pro mini (Uno gnd, TX, RX and Reset connected to pro mini gnd, RX, TX and DTR, respectively).
I am using the pro mini eeprom to save data when device is unplugged. Everything works fine with the uno programmer connected to the pro mini device. But when I plug the device without the programmer the code blocks when I compare a local variable with variable got from the EEPROM. But if I press the reset button it works fine again.
I don't understand the relationship between the serial por and this misterious block. I even commented everything using the Serial port (begin and prints) but the problem continues.
Any suggestions?
Best regards.