Ok lets talk some TinyG2/V9. @Alden_Hart @Riley_Porter_ril3y
I have been bugging the crap out of John trying to clarify the simplest of questions. You see I always look the info offered literally, and this often over complicates things for me.
Anyways here is a set of instructions given to flash the TG2/V9 via the Arduino Due IDE. (link there https://github.com/synthetos/g2/wiki/Flashing-G2-with-Windows)
Step 3a - Program TinyG2 onto the Due Using Arduino Tools
From Cmd line they say to Change Directory to
-> cd %ProgramFiles% (x86)\Arduino\hardware\tools
After that go ahead and run these commands.
–> mode COM6 BAUD=2400
Then -> bossac.exe --port=COM6 -e -w -v -b %HOMEPATH%\Downloads\TinyG2_Due_rob_usbtest.bin -R
OK, I get what is happening. I am supposed to sub the COM6 for my COM. Easier said then done. First off it was not clear how to get the TinyG2/v9 board to even be recognized by window as a com.
The only way I could do it was to copy the TinyGv2.inf from git hub to my pc, then update the driver for the TinyGv2 that was populated two times in the “Other Devices” of the Windows device manger (Yellow triangle with Exclamation). I hat to Right Click and manually update driver. I had to browse to the TinyGv2.inf and load it as a driver. It was then that one of the two TinyGv2 “Other Devices” icons become a port 10 device called TinyG v2 (Control Channel) (COM10) you can see it here http://gyazo.com/77fd4d29264fb931550defaef1397c52 . That only took and hour or so to figure out, lol
So now I am supposed to run " mode COM6 BAUD=2400 " but sub my com. "mode COM10 BAUD=2400 " This defines COM10’s baud rate to 2400 correct?
Next I am supposed to run " bossac.exe --port=COM6 -e -w -v -b %HOMEPATH%\Downloads\TinyG2_Due_rob_usbtest.bin -R"
Well I have no bossac.exe in the ProgramFiles(x86)\Arduino\hardware\tools folder. I am running the latest Arduino IDE 1.6.5 r2. and the only place I can find anything that says bossac is bossac.inf and its C:\Program Files (x86)\Arduino\drivers in a zip folder called Old_Arduino_Drivers.zip
Can you please break down this string for me.
bossac.exe --port=COM6 -e -w -v -b %HOMEPATH%\Downloads\TinyG2_Due_rob_usbtest.bin -R"
Correct me if I am wrong, since we are in the C:\Program Files (x86)\Arduino\hardware\tools directory, that command is trying to run the bossac.exe (but I don’t have this .exe) next it defines the port for the TinyGv2 (again mine is COM10), then I have no clue what -e -w -v -b is, (can someone explain please), next it defines the HOMEPATH to the compiled G2 code base, which from that string says look in the downloads folder for a file called TinyG2_Due_rob_usbtest.bin, and and load it to the TGv2 board.
Again, please can someone tell me what the -e -w -v -b are called, and what they do. Lastly at the end of the string I see a -R, that must be reset right?
Guys, I am not a real coder and I do not have a lot of experience working in cmd line. I want to learn so I can at least explain it well enough in a video so others that know even less than I (if that’s possible, lol) can get an easier start using these boards.
In summary, I don’t have a bossac.exe, and if I do, its for sure isn’t located in the ProgramFiles(x86)\Arduino\hardware\tools folder. I am happy I have TinyGv2 on Com10. I am going to see if I can putty in, or coolTerm in… Just as I started to get a handle on V8, now I am on V9… This is a good thing, and I cant wait to share my journey.