Search found 3 matches
- Wed Sep 17, 2014 7:47 pm
- Forum: AVR Support
- Topic: ATmega32u4 freeze at powerup
- Replies: 4
- Views: 7377
Re: ATmega32u4 freeze at powerup
BOOM! Found my bug Fred! I deleted all my serial println and was able to pin point my mistake!! I wanted to make a #define DEBUG where I could remove all my serial printf from my code instantly! To save memory. #define DEBUG 1 #ifdef DEBUG void SerialDebug(const char* sMsg){ Serial.println(sMsg); } ...
- Wed Sep 17, 2014 11:51 am
- Forum: AVR Support
- Topic: ATmega32u4 freeze at powerup
- Replies: 4
- Views: 7377
Re: ATmega32u4 freeze at powerup
To be more specific, I am not using avr gcc. I am compiling and uploading with Arduino IDE. I have try ChibiOS_AVR, NilRTOS and leOS/leOS2 libraries.
The bootloader is the Caterina that is use with the Arduino Micro, Arduino Leonardo and the Esplora.
The bootloader is the Caterina that is use with the Arduino Micro, Arduino Leonardo and the Esplora.
- Wed Sep 17, 2014 4:22 am
- Forum: AVR Support
- Topic: ATmega32u4 freeze at powerup
- Replies: 4
- Views: 7377
ATmega32u4 freeze at powerup
Hi Guys, I tried to seek help from the Arduino forum but no luck. http://forum.arduino.cc/index.php?topic=266485.0 I have been running a ChibiOS/NIL on an ATmega32u4. It was super easy to implement my code. The moment I remove the USB and plug it back in, I break the bootloader! I am finish developp...