reflashing carbide motion controller

Discussion about the arduino based g-code interpreter, grbl
FargoPhil
Posts: 62
Joined: Wed May 20, 2015 2:40 pm

reflashing carbide motion controller

Post by FargoPhil » Sat Oct 10, 2015 1:47 pm

I made some minor modifications to grbl, and would like to load it onto the controller for my shapeoko 3. I was all set to go and realized I don't know what version of ardiuno it is. Maybe it doesn't even matter. I just haven't done enough ardiuno development to know any better.

Thanks
Phil

FargoPhil
Posts: 62
Joined: Wed May 20, 2015 2:40 pm

Re: reflashing carbide motion controller

Post by FargoPhil » Sat Oct 10, 2015 4:11 pm

Just to clarify what I"m up to. I've modified the source to grbl, and was successful in uploading the changes to an arduino on the bench (duemilanove). Now that I'm reasonably confident in the changes, I'd like to upload them to the shapeoko 3 controller. I've been using the arduino dev environment, which wants me to select the arduino to use. This is the setting I'm unsure of. I'm guessing it's a Uno, but really don't want to brick my shapeoko.

AnonymousPerson
Posts: 758
Joined: Sun Apr 26, 2015 1:16 pm
Location: 3753 Cruithne

Re: reflashing carbide motion controller

Post by AnonymousPerson » Sat Oct 10, 2015 5:31 pm

Maybe XLoader is the thing to use?

http://carbide3d.com/docs/reflashing-the-nomad-883/

It's mentioned at the bottom of the page here:

http://docs.carbide3d.com/article/56-ca ... ine-or-jog

I've not been down this track though (yet), so just guessing. ;)
Shapeoko 3 #516

FargoPhil
Posts: 62
Joined: Wed May 20, 2015 2:40 pm

Re: reflashing carbide motion controller

Post by FargoPhil » Sat Oct 10, 2015 6:25 pm

That doesn't quite apply since I don't have a pre-compiled hex file. I need to know what settings to use to compile grbl correctly. Using the arduido dev environment I'm able to compile and upload to a known arduino. The problem I'm wrestling with is I don't know what that carbide motion board is equivalent to. The arduino environment lists a ton of them.

FargoPhil
Posts: 62
Joined: Wed May 20, 2015 2:40 pm

Re: reflashing carbide motion controller

Post by FargoPhil » Sat Oct 10, 2015 8:06 pm

I went with Uno and it seemed to work fine.

rtlflatt
Posts: 178
Joined: Sun Jan 18, 2015 2:11 am
Location: Bay Area, CA

Re: reflashing carbide motion controller

Post by rtlflatt » Sun Oct 11, 2015 12:58 am

FargoPhil wrote:I went with Uno and it seemed to work fine.
that was the correct choice. its an arduino uno with stepper drivers integrated
Shapeoko 3 #??? (Missing serial plate?)
Lulzbot Taz 5 (Heavily modified)

rodcar125
Posts: 67
Joined: Fri Feb 06, 2015 5:00 pm

Re: reflashing carbide motion controller

Post by rodcar125 » Thu Oct 29, 2015 11:16 pm

Any luck reflashing the carbide motion board?
I would like to do some mods too specially, clearing all the eeprom memory since i think i screwed up the WCS and want to have a clean start

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: reflashing carbide motion controller

Post by cvoinescu » Fri Oct 30, 2015 1:03 am

There's not much in EEPROM, so it's easy to clear:
  • WCS: clear with G10 L2 P1 X0 Y0 Z0, then repeat with P2, ..., P6. Note that's L2, not L20.
  • Startup lines: clear with $N0= and $N1= (nothing after the equal sign).
  • Settings: just enter new settings instead (e.g. $1=255).
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

FargoPhil
Posts: 62
Joined: Wed May 20, 2015 2:40 pm

Re: reflashing carbide motion controller

Post by FargoPhil » Fri Oct 30, 2015 1:48 pm

rodcar125 wrote:Any luck reflashing the carbide motion board?
I would like to do some mods too specially, clearing all the eeprom memory since i think i screwed up the WCS and want to have a clean start
cvoinescu is right, that would be like swatting a fly with a bazooka. But to answer your question, yes. I was able to pull the source from github, compile, and upload to the carbide motion board. The procedure is well documented on the grbl github site.

There were two issues I ran into.
1. I didn't know what kind of ardino the carbide motion board is equivalent to. Answer: Uno.
2. The procedure involves importing the grbl source as a zip library. There's an example sketch that you then load which wires everything up. What I didn't realize initially is that the source is copied to a directory owned by the ide. The changes I made weren't being realized by the compiler since it wasn't looking where I thought. My solution was to reimport for every build. Super annoying but not a big deal when you know what's going on. If I were serious about grbl development I'd figure out how to do it right.

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: reflashing carbide motion controller

Post by cvoinescu » Fri Oct 30, 2015 1:54 pm

FargoPhil wrote:that would be like swatting a fly with a bazooka.
You mean it would be cool? :D
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

Post Reply