💬 nRF52832 ESP-LINK Shield for ESP8266 Wemos D1 Mini
-
@NeverDie , thanks, but unfortunately this doesn't work.
Sketch i upload to nrf:
// Enable serial gateway #define MY_GATEWAY_SERIAL #include <nrf.h> #include <MySensors.h> void setup() { Serial.begin(460800); Serial.println(); Serial.println("Countdown 3..."); Serial.flush(); delay(100); Serial.println("Countdown 2..."); Serial.flush(); delay(100); Serial.println("Countdown 1..."); Serial.flush(); delay(100); Serial.println("Starting..."); Serial.flush(); delay(100); } uint32_t loopCounter=0; void loop() { Serial.println(loopCounter++); Serial.flush(); }Log:
c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes Le croquis utilise 22984 octets (4%) de l'espace de stockage de programmes. Le maximum est de 524288 octets. Target voltage: 3.73V Remote debugging using \\.\COM6 Available Targets: No. Att Driver 1 Nordic nRF52 M3/M4 2 Nordic nRF52 Access Port Attaching to Remote target 0x000009c4 in ?? () Reading symbols from MyBoardNRF5.ino.elf...done. Loading section .text, size 0x59c8 lma 0x0 Loading section .ARM.exidx, size 0x8 lma 0x59c8 Loading section .data, size 0xbc lma 0x59d0 Start address 0x1410, load size 23180 Transfer rate: 39 KB/sec, 891 bytes/write. Temporary breakpoint 1 at 0x1370: file G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp, line 23. Starting program: C:\Users\Ikes\AppData\Local\Temp\arduino_build_693731\MyBoardNRF5.ino.elf Note: automatically using hardware breakpoints for read-only addresses. Temporary breakpoint 1, main () at G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp:23 23 { Program complete!Don't see anything in esp-link console.
@Ikes-72000 Did you remember to set the baud rate on your ESP-LINK serial console to 460800 baud?
-
@Ikes-72000 Did you remember to set the baud rate on your ESP-LINK serial console to 460800 baud?
@NeverDie, yes, but same, nothing in the console.
I will check my wiring.And what the signification of this in log ?
Temporary breakpoint 1 at 0x1370: file G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp, line 23. Starting program: C:\Users\Ikes\AppData\Local\Temp\arduino_build_693731\MyBoardNRF5.ino.elf Note: automatically using hardware breakpoints for read-only addresses. Temporary breakpoint 1, main () at G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp:23 23 { -
@NeverDie, yes, but same, nothing in the console.
I will check my wiring.And what the signification of this in log ?
Temporary breakpoint 1 at 0x1370: file G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp, line 23. Starting program: C:\Users\Ikes\AppData\Local\Temp\arduino_build_693731\MyBoardNRF5.ino.elf Note: automatically using hardware breakpoints for read-only addresses. Temporary breakpoint 1, main () at G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp:23 23 {@Ikes-72000 Maybe it's platform.io related? I don't recognize it.
Good luck!
-
@Ikes-72000 Maybe it's platform.io related? I don't recognize it.
Good luck!
@NeverDie, no, log is from arduino ide.
-
@NeverDie, no, log is from arduino ide.
@Ikes-72000 If it were me having these problems, I'd simplify the situation by demounting the nRF board fromt he D1 Mini, then I'd power it, hook it up to a console and see whether I'm getting the count that it should be outputting. At that point what you have is simply a breakout board for the nRF, and it doesn't get any simpler than that.