Com 3 only option and i get Can not program Board in Wizard
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Com 3 only option and i get Can not program Board in Wizard
HELP! Trying to push the first initial program to my RA Star, and Com 3 tells me it can not program board... plugin is installed, and im hooked up to USB.
Re: Com 3 only option and i get Can not program Board in Wiz
Are you sure COM3 is the port for RA?
Roberto.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
When i unplug it, com 3 goes away. That is the only com that comes up. Ive tried both Chrome and Edge on Win 10.rimai wrote:Are you sure COM3 is the port for RA?
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
Here is what happens each time. I have the code saved, and ready. Its just the head unit on my desk. I dont need the relay and probes hooked up to push the initial code do I? If so i can do that.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
heres the setup once i plug in RA.
ive tried running things in administrator mode, disabled any AV or anything like that as well
ive tried running things in administrator mode, disabled any AV or anything like that as well
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
Another thing ive noticed, is that it stays on the main screen, no blinking lights to show that its moving data etc and eventually throws the error.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
I also triedto do a echo hello > COM3 in Command prompt on the PC, and this reboots the head unit.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
Manually changed to Com 9 with no Avail either. Using the cable that shipped with, and have tried 4 different USB ports.
Re: Com 3 only option and i get Can not program Board in Wiz
Very strange.... The unit does reboot when you open COM3 from command prompt but it doesn't when you initiate the upload from the webwizard...
Can you open developer tools on Chrome by pressing F12, then start the upload so you can see the log?
Please copy and paste the log here.
Can you open developer tools on Chrome by pressing F12, then start the upload so you can see the log?
Please copy and paste the log here.
Roberto.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
rimai wrote:Very strange.... The unit does reboot when you open COM3 from command prompt but it doesn't when you initiate the upload from the webwizard...
Can you open developer tools on Chrome by pressing F12, then start the upload so you can see the log?
Please copy and paste the log here.
Sure can! One sec.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
rimai wrote:Very strange.... The unit does reboot when you open COM3 from command prompt but it doesn't when you initiate the upload from the webwizard...
Can you open developer tools on Chrome by pressing F12, then start the upload so you can see the log?
Please copy and paste the log here.
- Attachments
-
- console chrome.png (350.77 KiB) Viewed 6049 times
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
(index):505 {"Version" : "1.0.43"}
(index):505 {"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
(index):505 {"Hostname" : "DESKTOP-U0HEGDN"}
(index):505 {"OS" : "windows"}
(index):509 windows
(index):505 list
(index):505 {
"Ports": [
{
"Name": "COM9",
"SerialNumber": "",
"DeviceClass": "",
"IsOpen": false,
"IsPrimary": false,
"Baud": 0,
"BufferAlgorithm": "",
"Ver": "1.0.43",
"NetworkPort": false,
"VendorID": "0x0403",
"ProductID": "0x6001"
}
],
"Network": false
}
(index):519 Port: COM9
(index):505 {
"Ports": [],
"Network": true
}
(index):505 downloadtool windows-drivers latest arduino keep
(index):505 downloadtool bossac 1.7.0 arduino keep
(index):505 downloadtool fwupdater latest arduino keep
3(index):505 {"DownloadStatus":"Success","Msg":"Map Updated"}
(index):253 the beginning.ino
ace.js:3529 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
warn @ ace.js:3529
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent600138870/firmware.hex:i","ProgrammerStatus":"Starting"}
(index):505 {"Msg":"Could not program the board","ProgrammerStatus":"Error"}
(index):505 {"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
(index):505 {"Hostname" : "DESKTOP-U0HEGDN"}
(index):505 {"OS" : "windows"}
(index):509 windows
(index):505 list
(index):505 {
"Ports": [
{
"Name": "COM9",
"SerialNumber": "",
"DeviceClass": "",
"IsOpen": false,
"IsPrimary": false,
"Baud": 0,
"BufferAlgorithm": "",
"Ver": "1.0.43",
"NetworkPort": false,
"VendorID": "0x0403",
"ProductID": "0x6001"
}
],
"Network": false
}
(index):519 Port: COM9
(index):505 {
"Ports": [],
"Network": true
}
(index):505 downloadtool windows-drivers latest arduino keep
(index):505 downloadtool bossac 1.7.0 arduino keep
(index):505 downloadtool fwupdater latest arduino keep
3(index):505 {"DownloadStatus":"Success","Msg":"Map Updated"}
(index):253 the beginning.ino
ace.js:3529 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
warn @ ace.js:3529
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent600138870/firmware.hex:i","ProgrammerStatus":"Starting"}
(index):505 {"Msg":"Could not program the board","ProgrammerStatus":"Error"}
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
I have full rights to my Temp directory as well, as ive had issues with several other apps when that isnt true. I thought it might be there. I have a ton of folders there with firmware.hex in it too... the controller acts like nothing happens when i go to push to it, but if i send echo it reboots. so the port seems to be fine....
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
sounds good!rimai wrote:Let me check a couple things
Re: Com 3 only option and i get Can not program Board in Wiz
This line here seems strange to me, especially the red section....
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent600138870/firmware.hex:i","ProgrammerStatus":"Starting"}
It is supposed to point to a avrdude.conf file that resides in your local user folder, like this:
{"Cmd":"-CC:/Users/Owner/.arduino-create/arduino/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM27 -b115200 -D -Uflash:w:C:/Users/Owner/AppData/Local/Temp/arduino-create-agent547516662/firmware.hex:i","ProgrammerStatus":"Starting"}
I am not sure why it is pointing to a UNIX like path.
Let's try this....
Go to folder C:/Users/derek and make sure you can see hidden folders.
Delete the folder .arduino-create
This should force the plugin to download that folder again, which contains the avrdude.conf file. Let's see if this works.
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent600138870/firmware.hex:i","ProgrammerStatus":"Starting"}
It is supposed to point to a avrdude.conf file that resides in your local user folder, like this:
{"Cmd":"-CC:/Users/Owner/.arduino-create/arduino/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM27 -b115200 -D -Uflash:w:C:/Users/Owner/AppData/Local/Temp/arduino-create-agent547516662/firmware.hex:i","ProgrammerStatus":"Starting"}
I am not sure why it is pointing to a UNIX like path.
Let's try this....
Go to folder C:/Users/derek and make sure you can see hidden folders.
Delete the folder .arduino-create
This should force the plugin to download that folder again, which contains the avrdude.conf file. Let's see if this works.
Roberto.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
I deleted al of them, as there were several. Im assuming from the many many attempts last night after adjusting things. Same thing. NO reboot of the head.rimai wrote:This line here seems strange to me, especially the red section....
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent600138870/firmware.hex:i","ProgrammerStatus":"Starting"}
It is supposed to point to a avrdude.conf file that resides in your local user folder, like this:
{"Cmd":"-CC:/Users/Owner/.arduino-create/arduino/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM27 -b115200 -D -Uflash:w:C:/Users/Owner/AppData/Local/Temp/arduino-create-agent547516662/firmware.hex:i","ProgrammerStatus":"Starting"}
I am not sure why it is pointing to a UNIX like path.
Let's try this....
Go to folder C:/Users/derek and make sure you can see hidden folders.
Delete the folder .arduino-create
This should force the plugin to download that folder again, which contains the avrdude.conf file. Let's see if this works.
HEres a screenshot of console.
the only file that gets created is firmware.hex
I have full rights to this directory, so im not sure why its not creating the conf file.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
deleted the plugin again, and re installed it. Turned off AV for good measure so it didnt flag it. Here is console after that
{"Version" : "1.0.43"}
(index):505 {"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
(index):505 {"Hostname" : "DESKTOP-U0HEGDN"}
(index):505 {"OS" : "windows"}
(index):509 windows
(index):505 list
(index):505 {
"Ports": [
{
"Name": "COM9",
"SerialNumber": "",
"DeviceClass": "",
"IsOpen": false,
"IsPrimary": false,
"Baud": 0,
"BufferAlgorithm": "",
"Ver": "1.0.43",
"NetworkPort": false,
"VendorID": "0x0403",
"ProductID": "0x6001"
}
],
"Network": false
}
(index):519 Port: COM9
(index):505 {
"Ports": [],
"Network": true
}
(index):505 downloadtool windows-drivers latest arduino keep
(index):505 downloadtool bossac 1.7.0 arduino keep
(index):505 downloadtool fwupdater latest arduino keep
(index):505 {"DownloadStatus":"Error","Msg":"openpgp: invalid signature: hash tag doesn't match"}
(index):505 {"DownloadStatus":"Success","Msg":"Map Updated"}
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent738601864/firmware.hex:i","ProgrammerStatus":"Starting"}
(index):505 {"Msg":"Could not program the board","ProgrammerStatus":"Error"}
{"Version" : "1.0.43"}
(index):505 {"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit", "program [portName] [board:name] [$path/to/filename/without/extension]", "programfromurl [portName] [board:name] [urlToHexFile]"]}
(index):505 {"Hostname" : "DESKTOP-U0HEGDN"}
(index):505 {"OS" : "windows"}
(index):509 windows
(index):505 list
(index):505 {
"Ports": [
{
"Name": "COM9",
"SerialNumber": "",
"DeviceClass": "",
"IsOpen": false,
"IsPrimary": false,
"Baud": 0,
"BufferAlgorithm": "",
"Ver": "1.0.43",
"NetworkPort": false,
"VendorID": "0x0403",
"ProductID": "0x6001"
}
],
"Network": false
}
(index):519 Port: COM9
(index):505 {
"Ports": [],
"Network": true
}
(index):505 downloadtool windows-drivers latest arduino keep
(index):505 downloadtool bossac 1.7.0 arduino keep
(index):505 downloadtool fwupdater latest arduino keep
(index):505 {"DownloadStatus":"Error","Msg":"openpgp: invalid signature: hash tag doesn't match"}
(index):505 {"DownloadStatus":"Success","Msg":"Map Updated"}
(index):505 {"Cmd":"-C/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM9 -b115200 -D -Uflash:w:C:/Users/derek/AppData/Local/Temp/arduino-create-agent738601864/firmware.hex:i","ProgrammerStatus":"Starting"}
(index):505 {"Msg":"Could not program the board","ProgrammerStatus":"Error"}
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
I first thought it might be a Chrome issue, so i tried Edge last night for a new session, and same behavior. Controller just sits there like nothing is going on.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
not sure if this helps, but the folder it creates in app data, when you try to push code, creates a zipped folder called tooldownloaded if i extract it, theres a ton of stuff in there. I was poking again before i logged back in for work.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
Looking again at the contents of the folder, i see no where on the machine where avrdude.conf is present. Almost like it doesnt get downloaded when i Install the plugin?
Re: Com 3 only option and i get Can not program Board in Wiz
Yes, it did help.
Thanks for helping troubleshoot this.
I found the problem. Please reload the webwizard page and let me know if it works now.
Thanks for helping troubleshoot this.
I found the problem. Please reload the webwizard page and let me know if it works now.
Roberto.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
And we have success! Out of curiosity, is it something that i could of fixed if i have to ever re install or wipe the PC etc?rimai wrote:Yes, it did help.
Thanks for helping troubleshoot this.
I found the problem. Please reload the we bwizard page and let me know if it works now.
See below:
Compiling code for RA_STAR board
Number of Relay Expansion Modules: 1
Relay Expansion Module
Reef Angel Star
Progress: 100.00%
Your code was compiled sucessfully.
Attempting to upload your code to RA_STAR on local port COM9 ...
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:/Users/derek/.arduino-create/avrdude/6.0.1-arduino5/etc/avrdude.conf"
Using Port : COM9
Using Programmer : wiring
Overriding Baud Rate : 115200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Wiring
Description : Wiring
Programmer Model: AVRISP
Hardware Version: 15
Firmware Version Master : 2.10
Vtarget : 0.0 V
SCK period : 43.5 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.04s
avrdude: Device signature = 0x1e9801
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as FF
avrdude: reading input file "C:/Users/derek/AppData/Local/Temp/arduino-create-agent239405237/firmware.hex"
avrdude: writing flash (126666 bytes):
Writing | ################################################## | 100% 31.64s
avrdude: 126666 bytes of flash written
avrdude: verifying flash memory against C:/Users/derek/AppData/Local/Temp/arduino-create-agent239405237/firmware.hex:
avrdude: load data flash data from input file C:/Users/derek/AppData/Local/Temp/arduino-create-agent239405237/firmware.hex:
avrdude: input file C:/Users/derek/AppData/Local/Temp/arduino-create-agent239405237/firmware.hex contains 126666 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 27.21s
avrdude: verifying ...
avrdude: 126666 bytes of flash verified
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK (H:FF, E:D8, L:FF)
avrdude done. Thank you.
Your code was uploaded sucessfully.
Re: Com 3 only option and i get Can not program Board in Wiz
Awesome.
No, it was something on the backend here.
No, it was something on the backend here.
Roberto.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
Great!rimai wrote:Awesome.
No, it was something on the backend here.
Thanks!! Now i can actually get of my lazy rump and get this tank wet, and start the next level of programming. Need to set one of the floats to shut off my skimmer if tripped etc. I just wanted to get the base code done for ATO so i can get the tank cycling, and get my tablet configured for web access etc.
Thanks again! I was starting to think i went crazy, and was searching for registry keys based off application logs thinking it was some security blocking it.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
Hopefully nthe last question for a while. I brought it back to the tank and plugged it into power so I could test my tablet and make sure it gets on the network. All I get is a green power light but touch screen doesn't react to my touchrimai wrote:Awesome.
No, it was something on the backend here.
-
- Posts: 152
- Joined: Thu Nov 14, 2019 2:51 pm
Re: Com 3 only option and i get Can not program Board in Wiz
NVM it booted. Figured first boot would take a while. Now to get.my tablet working.rimai wrote:Awesome.
No, it was something on the backend here.