Tmathews1988
im new to Arduino also new to OpenPLC, i wrote a partial program and tried to load it into the board i just received, Mega 2560 Rev3, for some reason OpenPLC says it loaded the program but when i go to view the program with the live debug it states the program doesn't match. below are the logs from loading and attached is a screenshot of what i get when i try to view, so i dont think the program is actually running? i dont have my meter with me to test anything either lol. Any help would be appreciated.Screenshot 2024-01-23 145203.png
 
 
Compiling .st file...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Generating binary file...
COMPILATION START: arduino:avr:mega
FQBN: arduino:avr:mega
Using board 'mega' from platform in folder: C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega C:\Users\tmath\AppData\Local\Temp\arduino\sketches\095942711DC639F86F440254B3F92F93\sketch\Baremetal.ino.cpp -o nul
Alternatives for Arduino_OpenPLC.h: [src]
ResolveLibrary(Arduino_OpenPLC.h)
-> candidates: [src]
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src C:\Users\tmath\AppData\Local\Temp\arduino\sketches\095942711DC639F86F440254B3F92F93\sketch\Baremetal.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\tmath\AppData\Local\Temp\arduino\sketches\095942711DC639F86F440254B3F92F93\sketch\ModbusSlave.cpp
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\Config0.c -o nul
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\POUS.c -o nul
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\Res0.c -o nul
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\arduino.cpp -o nul
Alternatives for AVR_PWM.h: [AVR_PWM@1.2.0]
ResolveLibrary(AVR_PWM.h)
-> candidates: [AVR_PWM@1.2.0]
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src -IC:\Users\tmath\Documents\Arduino\libraries\AVR_PWM\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\arduino.cpp -o nul
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src -IC:\Users\tmath\Documents\Arduino\libraries\AVR_PWM\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\debug.c -o nul
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src -IC:\Users\tmath\Documents\Arduino\libraries\AVR_PWM\src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src\glueVars.c -o nul
Generating function prototypes...
C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -Ieditor\arduino\src\lib -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega -IC:\Users\tmath\OpenPLC_Editor\editor\arduino\src -IC:\Users\tmath\Documents\Arduino\libraries\AVR_PWM\src C:\Users\tmath\AppData\Local\Temp\arduino\sketches\095942711DC639F86F440254B3F92F93\sketch\Baremetal.ino.cpp -o C:\Users\tmath\AppData\Local\Temp\2975976311\sketch_merged.cpp
C:\Users\tmath\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\tmath\AppData\Local\Temp\2975976311\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\sketch\\Baremetal.ino.cpp" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\sketch\\Baremetal.ino.cpp.o"
Using previously compiled file: C:\Users\tmath\AppData\Local\Temp\arduino\sketches\095942711DC639F86F440254B3F92F93\sketch\ModbusSlave.cpp.o
Compiling libraries...
Compiling library "src"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src\\Config0.c" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\Config0.c.o"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src\\POUS.c" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\POUS.c.o"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src\\debug.c" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\debug.c.o"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src\\Res0.c" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\Res0.c.o"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src\\arduino.cpp" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\arduino.cpp.o"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-Ieditor\\arduino\\src\\lib" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IC:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src" "-IC:\\Users\\tmath\\Documents\\Arduino\\libraries\\AVR_PWM\\src" "C:\\Users\\tmath\\OpenPLC_Editor\\editor\\arduino\\src\\glueVars.c" -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\glueVars.c.o"
Compiling library "AVR_PWM"
Compiling core...
Using precompiled core: C:\Users\tmath\AppData\Local\Temp\arduino\cores\arduino_avr_mega_c637b741cdd40e2336e6d768b8e15a1f\core.a
Linking everything together...
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega2560 -o "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/Baremetal.ino.elf" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\sketch\\Baremetal.ino.cpp.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\sketch\\ModbusSlave.cpp.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\Config0.c.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\POUS.c.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\Res0.c.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\arduino.cpp.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\debug.c.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93\\libraries\\src\\glueVars.c.o" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/..\\..\\cores\\arduino_avr_mega_c637b741cdd40e2336e6d768b8e15a1f\\core.a" "-LC:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93" -lm
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/Baremetal.ino.elf" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/Baremetal.ino.eep"
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/Baremetal.ino.elf" "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/Baremetal.ino.hex"
Using library src in folder: C:\Users\tmath\OpenPLC_Editor\editor\arduino\src (legacy)
Using library AVR_PWM at version 1.2.0 in folder: C:\Users\tmath\Documents\Arduino\libraries\AVR_PWM
"C:\\Users\\tmath\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\tmath\\AppData\\Local\\Temp\\arduino\\sketches\\095942711DC639F86F440254B3F92F93/Baremetal.ino.elf"
Sketch uses 5394 bytes (2%) of program storage space. Maximum is 253952 bytes.
Global variables use 421 bytes (5%) of dynamic memory, leaving 7771 bytes for local variables. Maximum is 8192 bytes.
Used library Version Path
src C:\Users\tmath\OpenPLC_Editor\editor\arduino\src
AVR_PWM 1.2.0 C:\Users\tmath\Documents\Arduino\libraries\AVR_PWM
Used platform Version Path
arduino:avr 1.8.6 C:\Users\tmath\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
loading library from C:\Users\tmath\OpenPLC_Editor\editor\arduino\__pycache__: invalid library: no header files foundloading library from C:\Users\tmath\OpenPLC_Editor\editor\arduino\bin: invalid library: no header files foundloading library from C:\Users\tmath\OpenPLC_Editor\editor\arduino\examples: invalid library: no header files found
Uploading program to Arduino board at COM8...
New upload port: COM8 (serial)
Done!
Reply 0 0
Tmathews1988
i did verify the program is running, re assigned the outputs to add pin 13 with the on board LED and attached it to my 1 sec clock output. Maybe its something with my program why i cant use the debugger?
Reply 0 0
thiagoralves
Have you enabled Modbus serial on your upload?
Reply 1 0
Tmathews1988
I did not, I actually did once and noticed one LED got dim so I shut it back off. 
Reply 0 0
Tmathews1988
Have you enabled Modbus serial on your upload?
That worked, THANKS...
Reply 0 0
Reply