mirror of
https://github.com/synthetos/g2.git
synced 2026-02-07 03:51:47 +08:00
Page:
Useful Stuff
Pages
9 Axis UVW Operation
Adding and Revising Configurations and Settings
Adding and Revising Motate Pinouts
Alarm Processing
Arduino DUE Pinout for g2core
Branching and Release
Compatibility Axioms
Compiling G2 on Linux and OS X (command line)
Compiling G2 on OS X (with Xcode)
Compiling G2 on Windows 10 and Atmel Studio 6.2
Compiling G2 on Windows 10 and Atmel Studio 7
Compiling G2 on Windows 7 and Atmel Studio 6.2
Compiling and configuring G2 on Windows
Compiling g2core on Linux and OS X (command line)
Compiling g2core on OS X (with Xcode)
Configuration for Firmware Version 0.98
Configuring 0.99 3D Printing Extensions
Configuring 0.99 Actions and Reports
Configuring 0.99 Axes
Configuring 0.99 Motors
Configuring 0.99 Other Groups
Configuring 0.99 System Groups
Configuring Version 0.99
Connecting to g2core
Coordinate Systems
Debugging G2 on OSX with GDB and Atmel ICE
Developer Notes
Development Process
Diagnostics
Digital DRO
Digital IO 0.98
Digital IO
Dual Endpoint USB Internals
Dual Endpoint USB Operation
Feed Rate Override
Feedhold, Resume, and Other Simple Commands
Flashing G2core with wsl
Flashing g2core with Atmel Studio and Atmel ICE
Flashing g2core with Linux
Flashing g2core with OSX
Flashing g2core with Windows
Flashing g2core
Flashing with Node SAM Ba Utility in OSX
G2 G3 Arc At Feed Rate
G2 Licensing
G2 Project Status Page
G2 in Git: cloning and updating procedures
G2core License
G2core on DUE External Interfaces
GPIO 1.x
GPIO Design Goals
GPIO Implementation
GPIO Objects and Binding
GPIO Primitives
Gcode Coordinate Offsets
Gcode Probes
Gcode Support
Gcodes
Getting Started with g2core
Home
Homing g2core
JSON Active Comments
JSON Cheat Sheet
JSON Details
JSON Operation
Jerk Controlled Motion Explained
Job Exception Handling
Licensing
Makefile Notes
Marlin Compatibility
Mcodes
Outline
Overview of Motion Processing
Persistence Functions
Power Management
Pressurizer Ventilator
Project Structure and Motate
Raster Streaming Protocol Notes
Raster Streaming Protocol
Roadmap
Status Codes
Status Reports
Text Mode
TinyG v9 Hardware
TinyG v9 Testing
Tool Offsets and Selection
Tool Types Beyond Spindle
Toolheads
Useful Stuff
Using Atom
Using Pin Changes for Timing (and light debugging)
VSCode Setup
Walk through, using a Due and lower power stepper motor drivers
What is g2core
Windows, VMware, Atmel Studio Notes
Windows 10 VMware Fusion 8 Issues
ZZZ DEPRECATED Adding a new G2 board (or revision) to G2
ZZZ DEPRECATED Changelog for Edge Branches
g2.axis
g2core Communications
g2core REST Examples
g2core REST Interface
g2core REST Resources
g2core REST Swagger
g2core in use
g2dialect 3D Printing Codes
g2dialect Consensus Gcode
g2dialect Consensus Mcodes
g2dialect Operating Model
g2dialect
gQuintic Specs
zzz(DEPRECATED) Uploading TinyG2 to a DUE gShield or TinyG v9
zzzSafety Interlock Behaviors
Clone
10
Useful Stuff
Alden Hart edited this page 2017-03-18 14:23:17 -04:00
Table of Contents
Things We've Learned - Mostly The Hard Way
Most of these assume the following development setup: Atmel Studio 6.1-2440-beta on Windows XP in VMWare (version 4 or 5) running on Mac OSX 10.8.3 (Mountain Lion) and using Coolterm 1.4 on the Mac for the USB terminal window. Using the SAM-ICE for programming and real-time debugging from Studio 6. We also use Apple Xcode for editing and compilation and then use Studio6 for programming and debugging.
In no particular order:
General
- If USB stops working or works erratically unplug and replug the Arduino and the SAM-ICE
- If the Arduino Due indicates that it is connecting to your VM as "Atmel Mode" instead of "Arduino Due", it's because its in the ARM bootloader. Unplug and reconnect the USB and it should connect as a Due. This is apparent when you have a Windows (or other) VM running in Mac and you get the mac dialog box. In other configs the USB might just stop working with no indication. Plug and replug.
Studio6 related
- If you install Studio6.x it may create a /Debug directory. Delete this directory. It will confuse the debugger into looking there for the tinyg2.elf file, which you don;t want. You want the AS6 debugger to look for tinyg2.elf in the TinyG2 directory - which it will if you delete the Debug dir.
- When you plug the SAM-ICE in it may be recognized in SWD or JTAG mode. You want it in JTAG mode or the cycle counter profiling won't work.
- If you start debug and are presented with a dialog box to select the SAM-ICE - select it, then start debug again. For some reason (timeout?) that first session does not connect to the ICE.
- The Makefile currently can't do a Rebuild Solution or Rebuild Project. It will do the clean then fail in the build. If you need to do a complete rebuild run Clean first, then do a Build.
VMware related
- You need to go into the VMware USB Advanced dialog to make sure the Arduino Due always connects to the mac. Don't check the blue box - it means the USB is connected to the VM. Confusing.* Atmel Studio 6.x still doesn't display ASCII in arrays. We included an ASCII table at the end of xio.h so you can look up what the array says. Yuk.
Getting Started Pages
- Home
- What is g2core?
- Who uses g2core?
- Jerk-Controlled Motion
- Getting Started with g2core
- Connecting to g2core
- Configuring g2core
- Flashing g2core
- Troubleshooting
Reference Pages
- Gcodes
- Mcodes
- Text Mode
- JSON Communications
- GPIO Digital IO
- Alarms & Exceptions
- Power Management
- Coordinate Systems
- Status Reports
- Status Codes
- G2 Communications
- Tool Offsets and Selection
- Probing
- Feedhold, Resume, Job Kill
- Marlin Compatibility
- 9 Axis UVW Operation
- gQuintic Specs
Discussion Topics
- Roadmap
- GPIO for 1.X Releases
- Toolheads
- Raster Streaming Prototol
- g2core REST Interface
- Gcode Parsing
- G2 3DP Dialect
- Consensus Gcode
- Digital DRO
- Overview of Motion Processing
Developer Pages
- Development & Contribution
- Branching and Release - DRAFT
- Getting Started with g2core Development
- Project Structure & Motate
- Compiling G2
- OSX w/Xcode
- OSX/Linux Command Line
- Windows10 w/AtmelStudio7
- Debugging G2 on OSX
- Board and Machine Profiles
- Arduino Due Pinout
- Arduino DUE External Interfaces
- Diagnostics
- Debugging w/Motate Pins
- Development Troubleshooting
- g2core Communications
- Git Procedures
- Windows 10 / VMware 8 Issues
- Dual Endpoint USB Internals
- G2core License
- VSCode Setup
- Compatibility Axioms
- Wiki History