Forum Replies Created
-
AuthorPosts
-
LTMNOMember
Nice, Thanks… This is my pre setup to the real setup. As in, I just wanted to get the Hello World Written and then I am on to the larger build.
Stay tuned…
Thanks again.
LTMNOMemberHi Alden,
Thanks for the link….
So I guess I need to remap the motors and move the wires over a space.
I have now. X | Y1 | Z | A(Y2)So I guess I should fix this?
LTMNOMemberHi Riley, I was able to time this right and capture this msg.
{“r”:{“fb”:375.01,”fv”:0.950,”hv”:0,”id”:”9H3583-QTW”,”msg”:”Loading configs from EEPROM”,”f”:[1,15,0,693]}}
{“r”:{“fb”:375.01,”fv”:0.950,”hv”:7,”id”:”9H3583-QTW”,”msg”:”SYSTEM READY”,”f”:[1,0,0,6403]}}
tinyg [mm] ok>
line:0,posx:0.000,posy:0.000,posz:0.000,posa:0.000,feed:0.000,vel:0.000,unit:1,coor:1,dist:0,frmo:0,momo:4,stat:1I am able to hit the “control X” and duplicate the above msg…. but the reset button doesn’t seem to do anything. What happens is that the red light goes off.
Video 1 – http://www.youtube.com/watch?v=D7-BFsCuxl8
This is what happens on Power On (p.s. dubbed out sound as the phone rang)Video 2 – http://www.youtube.com/watch?v=R9EOR-Rz34k
This is what happens on Reset Button AttemptLTMNOMemberHi Riley, I might be confusing the matter here…
I never flashed anything…. or did any programming of my TinyG.
I was referring to, when the TinyG is connected to the ShapeOko and you move the x,y,z around, the LEDs on the TinyG light up. An earlier post suggested that might have corrupted the EEPROM or something. That being said, I was mentioning that is what I did and perhaps, that is what Bricked, or damaged my other board. WIth this board, i have it working for the most part.SYMPTOMS,
If I turn the board on, it works and I can send it commands.
What doesn’t work, is that If I send a CTRL X command it will not reset the board.
If I hit the reset button, it will no reset the board. The only way to achieve that is to cut the power and turn on the power again.I thought that perhaps from moving the x,y,z around and seeing the pretty LEDs light up might have caused a problem somewhere that has done this.
That being said, I have a AVR USBASP programmer. I can use it to program the board along with a FTDI Adapter. I don’t have the AVRISP. I was asking if I should program the TinyG.Hex file to the board to fix this reset issue. But more importantly, will those programmers work to flash the board?
The board does boot up when turned on.
Hope that clears up any confusion.
Thx
Pino
LTMNOMemberHi Riley, do I program this with the FTDI? or my avr programmer?
LTMNOMemberOkay I fixed the problem…. 😉
I reversed the polarity of my $2PO=1 and then kept the $4PO=0That is making them work together now and they are set the same thanks the motor configurations.
maybe now I can try the Hello World program. Everything is working as planned… as per the setup guide.
Thanks for stepping me in the right direction.
LTMNOMemberother than the obvious.. i changed the a motor settings to y
[aam] a axis mode 1 [standard]
[avm] a velocity maximum 16000.000 deg/min
[afr] a feedrate maximum 16000.000 deg/min
[atm] a travel maximum 220.000 deg
[ajm] a jerk maximum 5000000000 deg/min^3
[ajh] a jerk homing 10000000000 mm/min^3
[ajd] a junction deviation 0.0100 deg (larger is faster)
[ara] a radius value 1.0000 deg
[asn] a switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 3000.000 deg/min
[alv] a latch velocity 100.000 deg/min
[alb] a latch backoff 20.000 deg
[azb] a zero backoff 3.000 degLTMNOMemberHi Alden, from the looks of it, the Y and A are different. But I never set any of this in Y so I assume the default is true. Well, i did follow the setup guide for x,y,z,a
I don’t recall having to set the jerking, etc…[xam] x axis mode 1 [standard]
[xvm] x velocity maximum 16000.000 mm/min
[xfr] x feedrate maximum 16000.000 mm/min
[xtm] x travel maximum 220.000 mm
[xjm] x jerk maximum 5000000000 mm/min^3
[xjh] x jerk homing 10000000000 mm/min^3
[xjd] x junction deviation 0.0100 mm (larger is faster)
[xsn] x switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
[xsx] x switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[xsv] x search velocity 3000.000 mm/min
[xlv] x latch velocity 100.000 mm/min
[xlb] x latch backoff 20.000 mm
[xzb] x zero backoff 3.000 mm[yam] y axis mode 1 [standard]
[yvm] y velocity maximum 16000.000 mm/min
[yfr] y feedrate maximum 16000.000 mm/min
[ytm] y travel maximum 220.000 mm
[yjm] y jerk maximum 5000000000 mm/min^3
[yjh] y jerk homing 10000000000 mm/min^3
[yjd] y junction deviation 0.0100 mm (larger is faster)
[ysn] y switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
[ysx] y switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[ysv] y search velocity 3000.000 mm/min
[ylv] y latch velocity 100.000 mm/min
[ylb] y latch backoff 20.000 mm
[yzb] y zero backoff 3.000 mm[zam] z axis mode 1 [standard]
[zvm] z velocity maximum 800.000 mm/min
[zfr] z feedrate maximum 800.000 mm/min
[ztm] z travel maximum 100.000 mm
[zjm] z jerk maximum 50000000 mm/min^3
[zjh] z jerk homing 1000000000 mm/min^3
[zjd] z junction deviation 0.0100 mm (larger is faster)
[zsn] z switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[zsx] z switch max 1 [0=off,1=homing,2=limit,3=limit+homing]
[zsv] z search velocity 800.000 mm/min
[zlv] z latch velocity 100.000 mm/min
[zlb] z latch backoff 20.000 mm
[zzb] z zero backoff 10.000 mm[aam] a axis mode 1 [standard]
[avm] a velocity maximum 60000.000 deg/min
[afr] a feedrate maximum 48000.000 deg/min
[atm] a travel maximum 400.000 deg
[ajm] a jerk maximum 24000000000 deg/min^3
[ajh] a jerk homing 24000000000 mm/min^3
[ajd] a junction deviation 0.1000 deg (larger is faster)
[ara] a radius value 1.0000 deg
[asn] a switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 6000.000 deg/min
[alv] a latch velocity 1000.000 deg/min
[alb] a latch backoff 5.000 deg
[azb] a zero backoff 2.000 degLTMNOMemberRiley, the funny thing is that interestingly enough that I was also playing with the led lights with movement prior to testing out my board and my boot-loader was corrupted too. (Hence you sent me a new one)
Currently I did try again not knowing what I was doing/damaging and the reset button doesn’t work anymore on the board for resetting the system. The only way I can get the board to boot again is to turn on the power and enable it again. If I hit reset, the board goes blank, Blue light on and not Red Spindle lights return or flash.
I am not 100% sure that this is related but suspiciously coincidental.
I don’t have the AVRISP MKII programmer, is that the only way to flash the TinyG. I do have AVR programmer for my Atmega328’s
LTMNOMemberif I had the $40 programmer, I would set the fuses, burn in the bootloader again. I do that all the time with my Atmega328’s.
From what I have read, that AVR tool I have is not usable for the Atxmega…
- This reply was modified 11 years, 6 months ago by LTMNO.
LTMNOMemberHi Riley,
yeah, i have read and re-read the wiki… following all the use cases for trying to fix it.
unplugged USB, restarted, hit the reset, hit enter, tried multiple timings…. nothing lets it kick into programming mode. 🙁what shall we do?
LTMNOMemberHere are few videos to help you see what I see.
Watch the Videos in High Res if you can.
http://www.youtube.com/watch?v=09w66BDyXps
Video of Board LED Flashing when power on and resetAVRDUDE
Watch this one in HIGH-RES.LTMNOMemberOkay, found that the AVRDUDE.CONF was fine, sorry.. my mistake…
Tested it on the MAC and on the WIN systems at home…
Both throw the same error.Connecting to programmer: .
Found programmer: Id = “{“r”:{“”; type = 3
Software Version = f.b; Hardware Version = “.:
avrdude: error: buffered memory access not supported. Maybe it isn’t
a butterfly/AVR109 but a AVR910 device?LTMNOMemberHi Riley, So it looks like i ordered my Board on March 13th, so I assume it has the AVR capabilities natively with USB port connected.
Unfortunately the Arduino IDE does not have the AVR Part for ‘x192a3’
Do you have the avrdude.conf with that part specified. Can’t find it on the www?Thanks
Pino
- This reply was modified 11 years, 6 months ago by LTMNO.
LTMNOMemberHello Riley,
I held the reset button for several seconds… released and the same error msg occurs as posted above.thoughts?
it boots, there is a boot loader… its just shutting down immediately.
-
AuthorPosts