# Notecard not responding-Notecarrier F 1.3 and swan 3.0

**URL:** <https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385>\
**Category:** Notecarrier F\
**Created:** [October 18, 2024, 8:40pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385 "2024-10-18T20:40:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chadha\_14](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@chadha\_14](https://discuss.blues.com/u/chadha_14)\
**Post date:** [October 18, 2024, 8:40pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/1 "2024-10-18T20:40:01Z")

</div>

I’m using Notecarrier F 1.3 with Swan 3.0 and Arduino IDE, and I keep getting  
`Starting notecard... [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding [ERROR] notecard not responding `.  
They were all(10) working until I uploaded the new code, and now 4 are having issues. I am testing them with the simple code below.

I have tried to power the Notecarrier from the microUSB port on the swan + a 3.7 V battery and from the microUSB on the Notecarrier itself, but the best I can get is flashing red in three of them while one isn’t responding. I updated the firmware using the STM32 programmer, but I can’t detect them on the in-browser terminal. The same code and swan work perfectly with Notecarrier F 1.0. I have also tried the instructions on recovering a bricked notecard.

```auto
#include <Notecard.h>

#define serialDebug Serial

#define txRxPinsSerial Serial1

#define productUID "xxxxxx"
Notecard notecard;
   
void setup (void) {
  serialDebug.begin(115200);
  while (!serialDebug) {
    ; // wait for serial port to connect. Needed for native USB
  }
  serialDebug.println("Starting notecard...");
  //notecard.begin();
  notecard.begin(txRxPinsSerial, 9600);
  notecard.setDebugOutputStream(serialDebug);

  J *req = notecard.newRequest("hub.set");
  JAddStringToObject(req, "product", productUID);
  JAddStringToObject(req, "mode", "continuous");
  notecard.sendRequest(req);
}

void loop (void) {
}

```

 ![IMG_1424](https://us1.discourse-cdn.com/flex020/uploads/blues/original/2X/2/2c8ef9f988265b613e1b6ff7c37af0c5f60a623d.jpeg)

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [October 18, 2024, 9:31pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/2 "2024-10-18T21:31:16Z")

</div>

Obviously, the code snippet I’ve copied isn’t your problem, since you’ve already had them working. However, I would be careful about introducing a `while()` loop without a timeout. Especially when you’re struggling with debugging, because it can be one more thing to have to manage when things aren’t going well already.

> [@chadha\_14](#):
>
> ```cpp
> while (!serialDebug) {
> ; // wait for serial port to connect. Needed for native USB
> }
> 
> ```

Typically, we use the following pattern…

```cpp
for (const size_t start_ms = millis(); !serialDebug && (millis() - start_ms) < usb_timeout_ms;);

```

All that aside, you shouldn’t have a bricked Notecard.

As a sanity check, can you plug into the USB port on the Feather, and run a `{"req":"card.version"}` from the WebREPL on our dev site, [https://dev.blues.io](https://dev.blues.io)?

That will let us know two things:

1. That the Notecard is working and not bricked
2. The firmware version on your Notecard

Once we have that stuff, then maybe we can circle back around and reintroduce the host and look for trouble there.

Cheers,  
Zak

---

<div class="post-metadata">

**Author:** ![chadha\_14](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@chadha\_14](https://discuss.blues.com/u/chadha_14)\
**Post date:** [October 18, 2024, 10:09pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/3 "2024-10-18T22:09:58Z")

</div>

@zfields I have tried all 4 of them but none of them is being detected.

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [October 18, 2024, 11:08pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/4 "2024-10-18T23:08:43Z")

</div>

Can you remove them from power for 5 minutes, then try again?

---

<div class="post-metadata">

**Author:** ![chadha\_14](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@chadha\_14](https://discuss.blues.com/u/chadha_14)\
**Post date:** [October 18, 2024, 11:49pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/5 "2024-10-18T23:49:13Z")

</div>

No change. Still cant detect it.

---

<div class="post-metadata">

**Author:** ![chadha\_14](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@chadha\_14](https://discuss.blues.com/u/chadha_14)\
**Post date:** [October 21, 2024, 4:56pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/6 "2024-10-21T16:56:09Z")

</div>

@zfields any update on this?

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [October 21, 2024, 8:08pm UTC](https://discuss.blues.com/t/notecard-not-responding-notecarrier-f-1-3-and-swan-3-0/2385/7 "2024-10-21T20:08:57Z")

</div>

Hi @chadha_14,

I’m out traveling at the moment. Let me reach out to a colleague to see if I can pull them in.

Hang in there,  
Zak
