Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootloader #8

Closed
gcormier opened this issue Nov 11, 2021 · 1 comment
Closed

Bootloader #8

gcormier opened this issue Nov 11, 2021 · 1 comment

Comments

@gcormier
Copy link

I'm losing my mind with this Caterina bootloader. Having a TON of issues on Windows and Linux. Has anyone else had issues?

Button toggling has inconsistent behavior.. serial port continuously disconnecting... I've reflashed the bootloader with no real change in behaviour.

I guess I could just outright wipe it and stick to my AVR programmer? Seems like a pity but really not sure what to do.

@gcormier
Copy link
Author

I switched to Windows for now. So I have the Arduino Blink sketch flashed for fun. This causes the 1A led to blink on/off every second.

When I compile and upload from PlatformIO.

Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [===       ]  32.0% (used 819 bytes from 2560 bytes)
Flash: [=====     ]  48.5% (used 13918 bytes from 28672 bytes)
Configuring upload protocol...
AVAILABLE: avr109
CURRENT: upload_protocol = avr109
Looking for upload port...
Auto-detected: COM3
Forcing reset using 1200bps open/close on port COM3
Waiting for the new upload port...
Error: Couldn't find a board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
*** [upload] Explicit exit, status 1
============================================================================================================================================== [FAILED] Took 6.56 seconds ==============================================================================================================================================
The terminal process "C:\Users\Greg\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

And now, the RX/TX won't stop blinking. Clicking reset will briefly turn off the leds while depressed, then they resume blinking. Holding reset for any amount of time will turn off the LEDs, then they resume blinking. Unplugging the PD Micro is the only way to return to normal blink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant