Errors "Leaving... Hard resetting via RTS pin...''

Executable segment sizes:

IROM : 261548 - code in flash (default or ICACHE_FLASH_ATTR)

IRAM : 29200 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs…)

DATA : 1356 ) - initialized variables (global, static) in RAM/HEAP

RODATA : 2416 ) / 81920 - constants (global, static) in RAM/HEAP

BSS : 26968 ) - zeroed variables (global, static) in RAM/HEAP

Sketch uses 294520 bytes (28%) of program storage space. Maximum is 1044464 bytes.
Global variables use 30740 bytes (37%) of dynamic memory, leaving 51180 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM3
Connecting…
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 84:f3:eb:5a:1a:b0
Uploading stub…
Running stub…
Stub running…
Configuring flash size…
Auto-detected Flash size: 4MB
Compressed 298672 bytes to 216087…

Writing at 0x00000000… (7 %)
Writing at 0x00004000… (14 %)
Writing at 0x00008000… (21 %)
Writing at 0x0000c000… (28 %)
Writing at 0x00010000… (35 %)
Writing at 0x00014000… (42 %)
Writing at 0x00018000… (50 %)
Writing at 0x0001c000… (57 %)
Writing at 0x00020000… (64 %)
Writing at 0x00024000… (71 %)
Writing at 0x00028000… (78 %)
Writing at 0x0002c000… (85 %)
Writing at 0x00030000… (92 %)
Writing at 0x00034000… (100 %)
Wrote 298672 bytes (216087 compressed) at 0x00000000 in 19.1 seconds (effective 125.3 kbit/s)…
Hash of data verified.

Leaving…
Hard resetting via RTS pin…

I’m newbie use nodemcu, and i have errors when upload the code, i’ve reset it but still not working, what should i do for fix it?
Thankyou

That’s what a normal upload looks like. These aren’t error messages, they are are informational messages. The “Hard Resetting …” message simply means that the device is rebooting so that it will load and run the new code.

Pete.

but in serial monitor the data isn’t read like this:

ffb0: feefeffe feefeffe 3ffe854c 401010f1
<<<stack<<<
⸮⸮⸮⸮⸮⸮D⸮⸮⸮ISR not in IRAM!

User exception (panic/abort/assert)
Abort called

stack>>>

ctx: cont
sp: 3ffffef0 end: 3fffffc0 offset: 0000
3ffffef0: ffffffff 3fffc6fc 00000036 00000100
3fffff00: 000000fe 00000000 00000000 00000000
3fffff10: 00000000 00000000 00000000 00ff0000
3fffff20: 5ffffe00 5ffffe00 3ffefe74 00000000
3fffff30: 00000001 00000000 3ffeef3c 402062aa
3fffff40: 401007e6 40207bd1 ffffffff 402062c0
3fffff50: feefeffe 00000001 3ffeef3c 40206f3d
3fffff60: 00000000 00000001 3ffeee50 40205140
3fffff70: 00000000 feefeffe feefeffe 3ffeef7c
3fffff80: 3fffdad0 3ffeee50 3ffeef3c 40206fec
3fffff90: 3fffdad0 3ffeee50 3ffeef3c 40202102
3fffffa0: feefeffe 00000000 3ffeef3c 40205eac
3fffffb0: feefeffe feefeffe 3ffe854c 401010f1
<<<stack<<<
⸮⸮⸮⸮
⸮D⸮⸮⸮ISR not in IRAM!

User exception (panic/abort/assert)
Abort called

stack>>>

ctx: cont
sp: 3ffffef0 end: 3fffffc0 offset: 0000
3ffffef0: feefeffe feefeffe feefeffe 00000100
3fffff00: 000000fe 00000000 00000000 00000000
3fffff10: 00000000 00000000 00000000 00ff0000
3fffff20: 5ffffe00 5ffffe00 3ffefe74 00000000
3fffff30: 00000001 00000000 3ffeef3c 402062aa
3fffff40: 401007e6 40207bd1 ffffffff 402062c0
3fffff50: feefeffe 00000001 3ffeef3c 40206f3d
3fffff60: 00000000 00000001 3ffeee50 40205140
3fffff70: 00000000 feefeffe feefeffe 3ffeef7c
3fffff80: 3fffdad0 3ffeee50 3ffeef3c 40206fec
3fffff90: 3fffdad0 3ffeee50 3ffeef3c 40202102
3fffffa0: feefeffe 00000000 3ffeef3c 40205eac
3fffffb0: feefeffe feefeffe 3ffe854c 401010f1
<<<stack<<<
?)⸮⸮⸮@H

This is your error message.
It occurs because the code you are using doesn’t correctly declare the interrupt ISR function. This isn’t a problem with earlier versions of the ESP core, as they were tolerant of this omission, but later versions are more strict about this.
To fix the issue you need to add ICACHE_RAM_ATTR to the name of your ISR, like this:

void ICACHE_RAM_ATTR yourFunctinName()

Also, the ISR function needs to be before your void setup() otherwise you’ll get a ‘not declared in this scope error’.

A quick search of google or this forum would have revealed all of this information, as it is not a Blynk specific issue.

Pete.