FreeRTOS works on old NANO but not new ones

Interesting! Well, that says it's got nothing to do with FreeRTOS then. Honestly, at this point I'd be tempted to consign the suspect Nanos to the trash and move on.

Agreed.

If I program with the include in and try to program a few times till i don't get a flash error nothing runs.
This just creates more questions.

I ordered 3 from someone else.

Thanks for your time.

Kurt

one more thing. Very suspicious. I found this code online in a youtube vid

boot sig dump
"BAD NANO"
C 94 35 0 C 94 5D 0
C 94 5D 0 C 94 5D 0
C 94 5D 0 C 94 5D 0
C 94 5D 0 C 94 5D 0

Workin NANO
1E BA 95 FF F FF FF 26
FF FF FF FF FF FF 58 FF
EF FF EF FF FF FF FF FF
FF FF FF FF FF FF FF FF


#include <avr/boot.h>
#define SIGRD 5
void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  Serial.println("");
  Serial.println("boot sig dump");
  int newLineIndex = 0;
  for (uint8_t i = 0; i <= 0x1F; i += 1) {
    Serial.print(boot_signature_byte_get(i), HEX);
    Serial.print("\t");
    newLineIndex++;
    if (newLineIndex == 8) {
      Serial.println("");
      newLineIndex = 0;
    }
  }
  Serial.println();
}

void loop() {

}