# Chrome app comiles and uploads to Nano, but previous sketch still runs

**URL:** <https://forum.arduino.cc/t/chrome-app-comiles-and-uploads-to-nano-but-previous-sketch-still-runs/948220>\
**Category:** Cloud Chrome App\
**Created:** [January 17, 2022, 10:02pm UTC](https://forum.arduino.cc/t/chrome-app-comiles-and-uploads-to-nano-but-previous-sketch-still-runs/948220 "2022-01-17T22:02:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eva\_b](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@eva\_b](https://forum.arduino.cc/u/eva_b)\
**Post date:** [January 17, 2022, 10:02pm UTC](https://forum.arduino.cc/t/chrome-app-comiles-and-uploads-to-nano-but-previous-sketch-still-runs/948220/1 "2022-01-17T22:02:34Z")

</div>

Manage to program an neopixel example from a PC, but when I try to upload the blink example from the chrome book, the nano continues to run the previous example. Leds are blinking while it is being flashed, but after it is done, it is as if nothing was changed. Here is the output

Programming with: avrgirl-arduino flash -f undefined -a nano (new bootloader) -p /dev/ttyUSB0

connected

reset complete.

flashing, please wait...

flash complete.

---

<div class="post-metadata">

**Author:** ![eva\_b](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@eva\_b](https://forum.arduino.cc/u/eva_b)\
**Post date:** [January 17, 2022, 10:09pm UTC](https://forum.arduino.cc/t/chrome-app-comiles-and-uploads-to-nano-but-previous-sketch-still-runs/948220/2 "2022-01-17T22:09:33Z")

</div>

Figured it out. Changed to "old boot loader" and it works. Don't know how to know which is the right board to select.

---

<div class="post-metadata">

**Author:** ![in0](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@in0](https://forum.arduino.cc/u/in0)\
**Post date:** [January 17, 2022, 10:34pm UTC](https://forum.arduino.cc/t/chrome-app-comiles-and-uploads-to-nano-but-previous-sketch-still-runs/948220/3 "2022-01-17T22:34:45Z")

</div>

> [@eva\_b](#):
>
> Figured it out. Changed to "old boot loader" and it works.

I'm glad to hear it. Thanks for taking the time to post an update with your solution!

> [@eva\_b](#):
>
> Don't know how to know which is the right board to select.

If the "L" LED blinks several times quickly after you press and release the reset button on the Nano, then it has the new bootloader: "Processor ATmega328P".

If it doesn't do that then it has the old bootloader: "Processor: ATmega328P (Old Bootloader)".

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 16, 2022, 10:35pm UTC](https://forum.arduino.cc/t/chrome-app-comiles-and-uploads-to-nano-but-previous-sketch-still-runs/948220/4 "2022-07-16T22:35:01Z")

</div>

Closed on July 16, 2022, 10:35pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
