-
Notifications
You must be signed in to change notification settings - Fork 295
Flashing g2core with Atmel Studio and Atmel ICE
This page is for uploading an already compiled G2 binary to a target board using Atmel Studio 7 (or greater) and the Atmel ICE programmer/debugger. This requires Windows or a VM for AS6. Please see Getting Started with G2 for information about other options.
##Note: As of Feb 2023 atmel studio flashing is longer supported please see link below: While this process still might work. Your mileage may vary. Our official support for this method has been dropped.
##DEPRECATED ### Step 1 - Get the g2core.bin file
Option 1 - Compile your own using the instruction in Compiling G2 on Windows (Atmel Studio 7)
Option 2 - Get the tinyg2.bin binary firmware files from http://synthetos.github.io/g2/
Select the Tools / Device Programming menu. I've omitted a lot of steps, but there are some things to watch for
- Make sure the ribbon cable is plugged into the SAM port, not the AVR port
- Make sure the connection from the ribbon cable to the 10 pin micro connector on the board is properly polarozed (red wire by the white dot), and contacts both rows of pins. It's easy to mess this up as the connector is so small.
- In the programing dialog box select SWD, not JTAG
- Program the fuses (GPNVM Bits) to boot from FLASH (not ROM), BANK 0
Use the debug controls in AS6. If you set up a Watch to look at variables and structures you will need to expand the "public" to actually see the structure elements.
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