Closed S5647787 closed 11 months ago
Hello, @S5647787 !
Thank you for reaching out. The output text shared doesn't show any error message.
Thanks!
1-arduino 1.8.19-
2-electronic cats 2019 - lora sniffer cli 0.1v
3 - yes i from the sample : Fw/LoRa_PHY/LoRaSniffer/LoRaSniffer.ino
and again get this error:
no matching function for call to 'SerialCommand::addCommand(const char [5], void (&)())'
Hello @S5647787 !
Thank you for the info and for sharing the error. It seems that the SerialCommand library you installed is not the proper one. Please refer to this repository: Serial Command library where you will find the one we use for the LoRaSniffer.ino example.
In the "Code" button download the ZIP file and add the library to your Arduino IDE. I suggest you uninstall other libraries called SerialCommand to prevent the IDE from selecting the wrong library. To add the ZIP library, go to IDE > Sketch > Include library > Add .ZIP library (select the ZIP file you just downloaded).
Try again to upload the sketch. Let me know if you need further assistance.
I used the same link, but I don't know why there is an error
On Wed, Dec 13, 2023 at 6:58 PM Andrea ZGuz @.***> wrote:
Hello @S5647787 https://github.com/S5647787 !
Thank you for the info and for sharing the error. It seems that the SerialCommand library you installed is not the proper one. Please refer to this repository: Serial Command library https://github.com/kroimon/Arduino-SerialCommand where you will find the one we use for the LoRaSniffer.ino example.
In the "Code" button download the ZIP file and add the library to your Arduino IDE. I suggest you uninstall other libraries called SerialCommand to prevent the IDE from selecting the wrong library. To add the ZIP library, go to IDE > Sketch > Include library > Add .ZIP library (select the ZIP file you just downloaded).
Try again to upload the sketch. Let me know if you need further assistance.
— Reply to this email directly, view it on GitHub https://github.com/ElectronicCats/CatWAN_USB_Stick/issues/16#issuecomment-1854455843, or unsubscribe https://github.com/notifications/unsubscribe-auth/BET35PB4OFZOCYMDAYSNOSDYJHUDNAVCNFSM6AAAAABARBKM7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUGQ2TKOBUGM . You are receiving this because you were mentioned.Message ID: @.***>
@S5647787
Please try uninstalling all the SerialCommand libraries you have installed, except for the one suggested above. This is to avoid the Arduino IDE choosing and trying to compile the code with the wrong library.
@S5647787 We will close this issue now, however, please feel free to reach out to us again in case you have further suggestions, encounter an issue, or you would like to contribute.
Wishing you a fantastic day ahead! Best regards,
i get this error when i run my code. /opt/arduino-1.8.19/arduino-builder -dump-prefs -logger=machine -hardware /opt/arduino-1.8.19/hardware -hardware /home/raspberry/.arduino15/packages -tools /opt/arduino-1.8.19/tools-builder -tools /opt/arduino-1.8.19/hardware/tools/avr -tools /home/raspberry/.arduino15/packages -built-in-libraries /opt/arduino-1.8.19/libraries -libraries /home/raspberry/.arduino15/libraries -fqbn=electroniccats:samd:electroniccats_USB_Stick -vid-pid=1209_BAB2 -ide-version=10819 -build-path /tmp/arduino_build_791481 -warnings=default -build-cache /tmp/arduino_cache_624823 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/home/raspberry/.arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/home/raspberry/.arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=/home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.CMSIS.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.openocd.path=/home/raspberry/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.openocd-0.9.0-arduino.path=/home/raspberry/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino -verbose /home/raspberry/Desktop/sketch_dec06a/final/final.ino /opt/arduino-1.8.19/arduino-builder -compile -logger=machine -hardware /opt/arduino-1.8.19/hardware -hardware /home/raspberry/.arduino15/packages -tools /opt/arduino-1.8.19/tools-builder -tools /opt/arduino-1.8.19/hardware/tools/avr -tools /home/raspberry/.arduino15/packages -built-in-libraries /opt/arduino-1.8.19/libraries -libraries /home/raspberry/.arduino15/libraries -fqbn=electroniccats:samd:electroniccats_USB_Stick -vid-pid=1209_BAB2 -ide-version=10819 -build-path /tmp/arduino_build_791481 -warnings=default -build-cache /tmp/arduino_cache_624823 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/home/raspberry/.arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/home/raspberry/.arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=/home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.CMSIS.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.openocd.path=/home/raspberry/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.openocd-0.9.0-arduino.path=/home/raspberry/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino -verbose /home/raspberry/Desktop/sketch_dec06a/final/final.ino Using board 'electroniccats_USB_Stick' from platform in folder: /home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2 Using core 'arduino' from platform in folder: /home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2 Detecting libraries used... /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10819 -DARDUINO_catwan_usb_stick -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -DSAMD21E18A -DARM_MATH_CM0PLUS -DUSB_VID=0x1209 -DUSB_PID=0xBAB2 -DUSBCON "-DUSB_MANUFACTURER=\"Electronic Cats\"" "-DUSB_PRODUCT=\"CatWAN USB_Stick\"" -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/cores/arduino -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick /tmp/arduino_build_791481/sketch/final.ino.cpp -o /dev/null Alternatives for SerialCommand.h: [SerialCommand@2.0.1 Arduino-SerialCommand-master ArduinoSerialCommand-master SerialCommand_Advanced@1.0.0] ResolveLibrary(SerialCommand.h) -> candidates: [SerialCommand@2.0.1 Arduino-SerialCommand-master ArduinoSerialCommand-master SerialCommand_Advanced@1.0.0] /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10819 -DARDUINO_catwan_usb_stick -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -DSAMD21E18A -DARM_MATH_CM0PLUS -DUSB_VID=0x1209 -DUSB_PID=0xBAB2 -DUSBCON "-DUSB_MANUFACTURER=\"Electronic Cats\"" "-DUSB_PRODUCT=\"CatWAN USB_Stick\"" -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/cores/arduino -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick -I/home/raspberry/.arduino15/libraries/SerialCommand/src /tmp/arduino_build_791481/sketch/final.ino.cpp -o /dev/null Alternatives for SPI.h: [SPI@1.0] ResolveLibrary(SPI.h) -> candidates: [SPI@1.0] /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10819 -DARDUINO_catwan_usb_stick -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -DSAMD21E18A -DARM_MATH_CM0PLUS -DUSB_VID=0x1209 -DUSB_PID=0xBAB2 -DUSBCON "-DUSB_MANUFACTURER=\"Electronic Cats\"" "-DUSB_PRODUCT=\"CatWAN USB_Stick\"" -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/cores/arduino -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick -I/home/raspberry/.arduino15/libraries/SerialCommand/src -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/libraries/SPI /tmp/arduino_build_791481/sketch/final.ino.cpp -o /dev/null Alternatives for LoRa.h: [LoRa@0.8.0 arduino-LoRa-master@0.8.0] ResolveLibrary(LoRa.h) -> candidates: [LoRa@0.8.0 arduino-LoRa-master@0.8.0] /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10819 -DARDUINO_catwan_usb_stick -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -DSAMD21E18A -DARM_MATH_CM0PLUS -DUSB_VID=0x1209 -DUSB_PID=0xBAB2 -DUSBCON "-DUSB_MANUFACTURER=\"Electronic Cats\"" "-DUSB_PRODUCT=\"CatWAN USB_Stick\"" -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/cores/arduino -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick -I/home/raspberry/.arduino15/libraries/SerialCommand/src -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/libraries/SPI -I/home/raspberry/.arduino15/libraries/LoRa/src /tmp/arduino_build_791481/sketch/final.ino.cpp -o /dev/null Using cached library dependencies for file: /home/raspberry/.arduino15/libraries/SerialCommand/src/SerialCommand.cpp Using cached library dependencies for file: /home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/libraries/SPI/SPI.cpp Using cached library dependencies for file: /home/raspberry/.arduino15/libraries/LoRa/src/LoRa.cpp Generating function prototypes... /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10819 -DARDUINO_catwan_usb_stick -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -DSAMD21E18A -DARM_MATH_CM0PLUS -DUSB_VID=0x1209 -DUSB_PID=0xBAB2 -DUSBCON "-DUSB_MANUFACTURER=\"Electronic Cats\"" "-DUSB_PRODUCT=\"CatWAN USB_Stick\"" -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/cores/arduino -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick -I/home/raspberry/.arduino15/libraries/SerialCommand/src -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/libraries/SPI -I/home/raspberry/.arduino15/libraries/LoRa/src /tmp/arduino_build_791481/sketch/final.ino.cpp -o /tmp/arduino_build_791481/preproc/ctags_target_for_gcc_minus_e.cpp /opt/arduino-1.8.19/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_791481/preproc/ctags_target_for_gcc_minus_e.cpp Compiling sketch... /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10819 -DARDUINO_catwan_usb_stick -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -DSAMD21E18A -DARM_MATH_CM0PLUS -DUSB_VID=0x1209 -DUSB_PID=0xBAB2 -DUSBCON "-DUSB_MANUFACTURER=\"Electronic Cats\"" "-DUSB_PRODUCT=\"CatWAN USB_Stick\"" -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/raspberry/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/cores/arduino -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick -I/home/raspberry/.arduino15/libraries/SerialCommand/src -I/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/libraries/SPI -I/home/raspberry/.arduino15/libraries/LoRa/src /tmp/arduino_build_791481/sketch/final.ino.cpp -o /tmp/arduino_build_791481/sketch/final.ino.cpp.o Compiling libraries... Compiling library "SerialCommand" Using previously compiled file: /tmp/arduino_build_791481/libraries/SerialCommand/SerialCommand.cpp.o Compiling library "SPI" Using previously compiled file: /tmp/arduino_build_791481/libraries/SPI/SPI.cpp.o Compiling library "LoRa" Using previously compiled file: /tmp/arduino_build_791481/libraries/LoRa/LoRa.cpp.o Compiling core... Using previously compiled file: /tmp/arduino_build_791481/core/variant.cpp.o Using precompiled core: /tmp/arduino_cache_624823/core/core_electroniccats_samd_electroniccats_USB_Stick_93a49c57c77d341da09c042b8aa068f1.a Linking everything together... /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-gcc -L/tmp/arduino_build_791481 -Os -Wl,--gc-sections -save-temps -T/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick/linker_scripts/gcc/flash_with_bootloader.ld -Wl,-Map,/tmp/arduino_build_791481/final.ino.map --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o /tmp/arduino_build_791481/final.ino.elf /tmp/arduino_build_791481/sketch/final.ino.cpp.o /tmp/arduino_build_791481/libraries/SerialCommand/SerialCommand.cpp.o /tmp/arduino_build_791481/libraries/SPI/SPI.cpp.o /tmp/arduino_build_791481/libraries/LoRa/LoRa.cpp.o /tmp/arduino_build_791481/core/variant.cpp.o -Wl,--start-group -L/home/raspberry/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Lib/GCC/ -larm_cortexM0l_math -L/home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/variants/catwan_usb_stick -lm /tmp/arduino_build_791481/../arduino_cache_624823/core/core_electroniccats_samd_electroniccats_USB_Stick_93a49c57c77d341da09c042b8aa068f1.a -Wl,--end-group /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-objcopy -O binary /tmp/arduino_build_791481/final.ino.elf /tmp/arduino_build_791481/final.ino.bin Multiple libraries were found for "LoRa.h" Used: /home/raspberry/.arduino15/libraries/LoRa Not used: /home/raspberry/.arduino15/libraries/arduino-LoRa-master Multiple libraries were found for "SerialCommand.h" Used: /home/raspberry/.arduino15/libraries/SerialCommand Not used: /home/raspberry/.arduino15/libraries/Arduino-SerialCommand-master Not used: /home/raspberry/.arduino15/libraries/ArduinoSerialCommand-master Not used: /home/raspberry/.arduino15/libraries/SerialCommand_Advanced Using library SerialCommand at version 2.0.1 in folder: /home/raspberry/.arduino15/libraries/SerialCommand Using library SPI at version 1.0 in folder: /home/raspberry/.arduino15/packages/electroniccats/hardware/samd/1.2.2/libraries/SPI Using library LoRa at version 0.8.0 in folder: /home/raspberry/.arduino15/libraries/LoRa /home/raspberry/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-size -A /tmp/arduino_build_791481/final.ino.elf Sketch uses 33848 bytes (12%) of program storage space. Maximum is 262144 bytes. Forcing reset using 1200bps open/close on port /dev/ttyACM0 PORTS {/dev/ttyACM0, /dev/ttyAMA0, } / {/dev/ttyAMA0, } => {} PORTS {/dev/ttyAMA0, } / {/dev/ttyACM0, /dev/ttyAMA0, } => {/dev/ttyACM0, } Found upload port: /dev/ttyACM0 /home/raspberry/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac -i -d --port=ttyACM0 -U true -i -e -w -v /tmp/arduino_build_791481/final.ino.bin -R Set binary mode readWord(addr=0)=0x20002dd8 readWord(addr=0xe000ed00)=0x410cc601 readWord(addr=0x41002018)=0x1001030a version()=v1.1 [Arduino:XYZ] Oct 30 2019 16:30:57 chipId=0x1001000a Connected at 921600 baud readWord(addr=0)=0x20002dd8 readWord(addr=0xe000ed00)=0x410cc601 readWord(addr=0x41002018)=0x1001030a Atmel SMART device 0x1001000a found write(addr=0x20004000,size=0x34) writeWord(addr=0x20004030,value=0x10) writeWord(addr=0x20004020,value=0x20008000) Device : ATSAMD21E18A readWord(addr=0)=0x20002dd8 readWord(addr=0xe000ed00)=0x410cc601 readWord(addr=0x41002018)=0x1001030a Chip ID : 1001000a version()=v1.1 [Arduino:XYZ] Oct 30 2019 16:30:57 Version : v1.1 [Arduino:XYZ] Oct 30 2019 16:30:57 Address : 8192 Pages : 3968 Page Size : 64 bytes Total Size : 248KB Planes : 1 Lock Regions : 16 Locked : readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff readWord(addr=0x41004020)=0xffff none readWord(addr=0x41004018)=0 Security : false Boot Flash : true readWord(addr=0x40000834)=0x7000a BOD : true readWord(addr=0x40000834)=0x7000a BOR : true Arduino : FAST_CHIP_ERASE Arduino : FAST_MULTI_PAGE_WRITE Arduino : CAN_CHECKSUM_MEMORY_BUFFER Erase flash chipErase(addr=0x2000) done in 1.004 seconds
Write 34076 bytes to flash (533 pages) write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000) [=== ] 12% (64/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000) [======= ] 24% (128/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x1000) [========== ] 36% (192/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x5000, size=0x1000) [============== ] 48% (256/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x6000, size=0x1000) [================== ] 60% (320/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x7000, size=0x1000) [===================== ] 72% (384/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x8000, size=0x1000) [========================= ] 84% (448/533 pages)write(addr=0x20005000,size=0x1000) writeBuffer(scr_addr=0x20005000, dst_addr=0x9000, size=0x1000) [============================ ] 96% (512/533 pages)write(addr=0x20005000,size=0x540) writeBuffer(scr_addr=0x20005000, dst_addr=0xa000, size=0x540) [==============================] 100% (533/533 pages) done in 0.261 seconds
Verify 34076 bytes of flash with checksum. checksumBuffer(start_addr=0x2000, size=0x1000) = 8da5 checksumBuffer(start_addr=0x3000, size=0x1000) = 736f checksumBuffer(start_addr=0x4000, size=0x1000) = 85ec checksumBuffer(start_addr=0x5000, size=0x1000) = f4a2 checksumBuffer(start_addr=0x6000, size=0x1000) = bb1b checksumBuffer(start_addr=0x7000, size=0x1000) = 89ea checksumBuffer(start_addr=0x8000, size=0x1000) = 4379 checksumBuffer(start_addr=0x9000, size=0x1000) = 6d88 checksumBuffer(start_addr=0xa000, size=0x51c) = cf9e Verify successful done in 0.086 seconds CPU reset. readWord(addr=0)=0x20002dd8 readWord(addr=0xe000ed00)=0x410cc601 readWord(addr=0x41002018)=0x1001030a writeWord(addr=0xe000ed0c,value=0x5fa0004)