Forum Replies Created
-
AuthorPosts
-
cmcgrath5035Moderator
From whom did you buy it?
If direct from Synthetos, contact themcmcgrath5035ModeratorLots of changes since last you posted (Aug 2014).
Can you post your current settings?
Post a set of parameters that have Limit switches enabled.
Use this Method:Have you upgraded FW to build 440.14?
There have been improvements in the use of switches,.FYI, tgFX is way out of date and no longer supported.
Have you tried Chilipeppr?cmcgrath5035ModeratorI assume you followed the bootloader programming process here:
If unsuccessful, you could send it back to Synthetos for reprogramming.
cmcgrath5035ModeratorThese look OK.
Just one more suggestion; if you set $2po=0 and $3po=1, any change in action?It does seem that the M3 driver is flaky, either intermittent connection or bad device.
cmcgrath5035ModeratorHey, 1 0ut of 144 ain’t bad…. 🙂
You really should pursue fixing the bootloader.
I emailed Riley to stop by, I can’t offer much help there.
cmcgrath5035ModeratorNo, Limit switches affect axes, not Motors (but, of course motors are assigned to axes).
So the Y axis has one motor working and one not – does not sound like a limit switch issue.Your ohms look OK – I was checking that windings were connected to the board.
Are you sure $2mi and $3mi are the same (probably both = 8)?
cmcgrath5035ModeratorDo you have an ohmmeter?
If so, with power to tinyG off, measure the resistance between adjacent screw pairs on each of the 4 motor connectors (8 measurements). Pins 1-2 and 3-4 on each motor connector.
On my tinyG with NEMA17s connected, I see the winding resistance as about 3 ohms.If those all look good, Post you parameters once again so I can have a look.
cmcgrath5035ModeratorDoes this apply to Chilipeppr activity as well as CoolTerm
Should clarify the reset was a hardware reset using the button on the board,
As you may know, when SPJS first connects to tinyG, it sends a number of command queries to get synced up with tinyG. You can see this in the CP Serial port Console window (lower left of GUI).
A number of commands are queued up, then get checkmark as they execute. One of those commands will return $fb and that will be displayed in the TinyG Widget.You should not have to manually reset tinyG after starting up CP. The fact that SPJS sees and is able to connect to the ftdi device seems to indicate that at least the USB side of ftdi is working OK.
If you HAVE TO reset tinyG to get any response in CP, that would seem to support my theory that the path from ftdi into the Xmega has an issue.
CP may be able to use the autonomous status broadcast (that you see in CoolTerm) to populate the $fb field, but will appear hung, as you report, if the other start up commands are not being heard and responded to.II understand you are flashing via ISP, I’m not much help there.
Unclear if there are operational side effects of bootloader nor running properly.cmcgrath5035ModeratorI think one way this could happen would be if only one of the two windings were connected for Motor 3.
If the other winding were open, the motor would not move as it takes phase offset between the two winding signals to cause movement, but having one of the winding energized would hold the rotor in place.If Motor 3 is disable then y moves. I have swapped the motor wires to the to board round but the problem stayed to the motor connected to motor 3 on the board.
Can you describe what you did here?
I would
1. Recheck all your wiring connections between tinyG and Motor 3.
if no joy, then
2. at tiny G, swap wires (Motor 3 to driver 2, Motor 2 to driver 3) and see if the problem stays with Driver 3 or with Motor 3.
Of course when you do this, without changing $2po and $3po, the Y axis direction of travel will be reversed.cmcgrath5035ModeratorDid you send a rest command (ctl-x) or hit the rest button to get that response in Coolterm?
The parameters reported , “fv”:0.970,”fb”:440.14,”hp”:1,”hv”:8,”id”:”5U1316-KLZ”, are from the parameter set , but may be read from FLASH rather than EEPROM.I do know that when you use the bootloader to update your tinyG FW (e.g. 380.xy to 440.yz), the EEPROM gets rewritten with the new FW’s set of defaults, I assumed on first boot of the new FW.
I have no experience with the MKII method of programming.
Do you still not get the flashing LED when you manually reboot to tinyG? That of course is not correct behavior.
When you say that Chilipeppr identifies the board FW, are you doing a manual reset of tinyG or is the CP requesting the board info?
I’m sort of wondering if the receive path of the on-board ftdi device is bad, but transmit is good
- This reply was modified 9 years, 7 months ago by cmcgrath5035.
cmcgrath5035ModeratorIt is not real clear what you mean by
) and can get the startup communications via coolterm and have the board correctly identified by chillipeppr but cannot return communications (the receive led flashes briefly on the board but no action occurs.
What does coolterm show on connection?
Do you get tinyG> prompts?
EEPROM should be populated by the tinyG at first boot, I guess, the “factory defaults” would be copied into the clean EEPROM (unless this somehow occurs during the flashing process).
Parameters have to be set for the USB interface to work.Do you get any response to a $, $$ or ? comand from CoolTerm?
cmcgrath5035ModeratorAnother defa=1 might help, but this does not feel like that sort of problem.
Does not sound like reflash either.If Motor 3 is disable then y moves
If Motor 2 is disabled, does Motor 3 work?
Are they fighting each other?Can you post your most recent $$?
cmcgrath5035ModeratorYou would be the first that has posted here.
Be sure to upgrade your FW to 440.14.Good luck with your new machine
cmcgrath5035ModeratorIf I can figure out how to, I’ll move this thread to Feature Request.
Interesting idea, more of an application layer concept than motion control focus, let’s see what others think.
cmcgrath5035ModeratorOK, I now better understand your “blocking read” definition and implementation.
Suggestion: be mindful of the tinyG settings that you are programming to.
For example, does the setting of $tv text verbosity affect the characters you are waiting to see?
The values set for $tv, $js and $jv will affect what tinyG sends back to your program.Good luck with your project!
-
AuthorPosts