alden

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 702 total)
  • Author
    Posts
  • in reply to: Flash v8 to 380.08 now TinyG not working #4798
    alden
    Member

    I suspect you have not gotten the hex file correctly somehow. The flash size should be something closer to 100K bytes, not 200K. The hex file should look something like the text lines below. You may want to confirm that yours is similar. I have updated the instructions on how to get the hex file here:
    https://github.com/synthetos/TinyG/wiki/TinyG-Boot-Loader#updating-firmware-using-avrdude-and-boot-loader

    The hex file should look something like this:

    :100000000C942D240C944E240C9443A60C944E2452
    :100010000C944E240C944E240C944E240C944E2498
    :100020000C944E240C944E240C944E240C94E0A07A
    :100030000C944E240C944E240C945E920C944E24FA
    :100040000C944E240C944E240C944E240C944E2468
    :100050000C944E240C944E240C944E240C944E2458
    :100060000C944E240C9465A60C94D3A50C944E24A9
    :100070000C941EA90C94A6A80C94EEA80C944E24E3
    :100080000C943DA10C944E240C944E240C944E24BC
    :100090000C944E240C944E240C944E240C944E2418
    :1000A0000C944E240C944E240C944E240C9465F421
    :1000B0000C9429F50C944E240C944E240C946E94BC
    :1000C0000C944E240C944E240C944E240C944E24E8
    :1000D0000C944E240C944E240C944E240C944E24D8
    :1000E0000C942FB00C944E240C944E240C944E245B
    :1000F0000C944E240C944E240C944E240C944E24B8
    :100100000C9434F40C94F8F40C9403F40C94C7F4A9
    :100110000C944E240C944E240C944E240C944E2497
    :100120000C944E240C944E240C944E240C944E2487
    :100130000C944E240C941C940C944E240C944E2439
    :100140000C944E240C944E240C944E240C944E2467
    :100150000C944E240C944E240C941FB00C944E24FA
    :100160000C944E240C944E240C944E240C944E2447
    :100170000C944E240C944E240C944E240C944E2437
    :100180000C944E240C944E240C944E240C944E2427
    :100190000C944E240C944E240C944E240C944E2417
    :1001A0000C9496F40C945AF50C944E240C944E2412
    :1001B0000C94A1940C944E240C944E240C944E2434
    :1001C0000C944E240C944E240C944E240C944E24E7
    :1001D0000C944E240C944E240C944E240C944E24D7
    :1001E0000C944E240C944E24084AD73B3BCE016E0F
    :1001F00084BCBFFDC12F3D6C74319ABD56833DDA7E
    :100200003D00C77F11BED9E4BB4C3E916BAAAABE8C
    :10021000000000803F05A84CCDB2D44EB93836A9B5
    (continues for pages and pages…)

    in reply to: Could Jerk be causing my extended ShapeOko to miss steps? #4779
    alden
    Member

    Thanks. Now I have enough to try to reproduce this. I’ll look for numbered lines. It’s not essential, but it is a help. I looked at your files – I don’t think line length is an issue.

    in reply to: Could Jerk be causing my extended ShapeOko to miss steps? #4776
    alden
    Member

    Thanks. A couple of questions for you.

    – Have you tried 380.08 – which is what’s currently on Master? Same results?
    – What are you using the run the file? Coolterm, tgfx? If tgfx, what platform (Win/Mac) and build?

    (Added)
    – Do you know where in the file i messes up? If Cambam can generate line numbers it makes this part a little easier.

    • This reply was modified 11 years, 1 month ago by alden.
    in reply to: Could Jerk be causing my extended ShapeOko to miss steps? #4774
    alden
    Member

    Line length is an issue for grbl (70 chars) but should not be for TinyG. Can you send me your file(s) and I can run them to verify that it’s not a file issue? You can Use the synthetos gmail address or better, post them somewhere and put a link in the forum.

    in reply to: Controlling TinyG programmatically: Best practices? #4765
    alden
    Member

    @Juku – To address your issue about status being returned during homing I have changed the way the firmware sets the stat value in dev build 394.23. From this point on it has a slightly different behavior.

    At the start of homing stat will change to 9 (homing cycle). at the end it will change back to 3 (stopped) No other status will be provided, as they are not changing. This should not affect stat returns anywhere else in the code.

    in reply to: Could Jerk be causing my extended ShapeOko to miss steps? #4764
    alden
    Member

    I would suggest you also look at your cornering acceleration setting. It may be too high for your mechanics.
    https://github.com/synthetos/TinyG/wiki/TinyG-Configuration#ja—junction-acceleration

    in reply to: Controlling TinyG programmatically: Best practices? #4724
    alden
    Member

    Thanks for the details. I’d rather have the responses work “cleanly”. I’m not yet prepared to comment on this until I have a closer look at what’s going on in the system internals. I appreciate your capturing this info.

    in reply to: Controlling TinyG programmatically: Best practices? #4718
    alden
    Member

    OK, I’m going to look into this a bit more. I need to see what you are getting back from the end of homing. I also want to see what behavior should occur if a non-drawable line is received. It should return a value, but I need to look into this.

    Also be aware that the status code (see Status Codes page on the wiki) is returned in the footer for all ‘r’esponses. It’s the second element of the array.

    https://github.com/synthetos/TinyG/wiki/TinyG-Status-Codes

    FYI, here is a diagram of the TinyG state model. The picture may be a bit dated and need updating, but the enumerations below are the current settings taken from the canonical_machine.h file. Be aware that the “program stop” and “program end” states are Gcode defined intermediate and end states triggered by the STOP and END M commands (and some other cases for stops)

    https://github.com/synthetos/TinyG/wiki/TinyG-State-Model

    • This reply was modified 11 years, 1 month ago by alden.
    • This reply was modified 11 years, 1 month ago by alden.
    in reply to: Old Configuring page #4715
    alden
    Member

    I actually moved that old page over the the above page, and updated them in the process. Much of the info on the old page is outdated. The new commands are on this page:
    https://github.com/synthetos/TinyG/wiki/TinyG-Configuration

    The setup info on the bottom of the old config page is in the Tuning page:
    https://github.com/synthetos/TinyG/wiki/TinyG-Tuning

    Are there other answers the old wiki has that are not in the new wiki?

    in reply to: Added some things to the wki #4713
    alden
    Member

    Tom,

    I really appreciate the help on the wiki. RIley and I have be soloing this for a long time. Any help is welcome. I’ll still act as editor, if you don’t mind.

    The TinyG commands are on the configuration page.

    I’m not sure I understand the grbl references. grbl and TinyG are different projects. While some commands are similar, they are not going to be the same in many cases. It might be confusing to some people to mix them in the same wiki – for example including grbl references in the initial setup page. Just a thought.

    in reply to: Controlling TinyG programmatically: Best practices? #4704
    alden
    Member

    What problems are you running into?

    Every command is responded to in the JSON mode ‘r’ response. The footer contains the status code of the executed commands. Perhaps what you are referring to is that the system queues motion and other synchronous commands for execution in sequence. To see the completion of queued commands you need to use the status reports.

    Best practice is to use the JSON commands, use the footer to tell the results of the command, and set up a filtered status report with all the state variables you want to track for queued commands. See the JSON and Status Report guidance on the wiki. The ‘stat’ variable is the universal idle state indicator. See those pages for guidance.

    The other thing to be aware of is that it’s better to manage flow control at the planner buffer level than at the serial buffer level. In other words, instead of stuffing the serial buffer until it’s full, keep the planner buffers operating between a low and high level. Use Queue Reports to return the planner buffer level. If you are sending a file the planner should have at least 8 or 10 buffers in the queue to avoid motion starvation, and use no more than 24 of the 28 buffers available in the planner queue. Over 24 the serial buffer starts to back up. Things still work, but now you are queueing in the serial buffer. (FYI: 4 buffers are reserved for the next Gcode block, which may occupy as many as 4 planner buffers)


    @Makerboost
    : All commands are responded to; perhaps what you are remembering is that status reports are not delivered faster than the maximum rate, so some state may be skipped (like position updates).

    Status reports will always deliver completion status, however. The main way to find completion status is track the “stat” variable.

    • This reply was modified 11 years, 1 month ago by alden.
    in reply to: Need TinyG Help? Try this first! #4698
    alden
    Member

    Here’s a direct link to the TinyG wiki:
    https://github.com/synthetos/TinyG/wiki

    The reason the WIKI tab on the Synthetos home page does not link directly to the TinyG page is because Synthetos has multiple projects, so we have a link page there:
    https://www.synthetos.com/wiki/index.php?title=Main_Page

    in reply to: First steps? #4695
    alden
    Member

    Right on both counts. Corrections made in the wiki

    in reply to: First steps? #4693
    alden
    Member

    Check this page out to get started with TinyG on a Shapeoko.
    https://github.com/synthetos/TinyG/wiki/TinyG-Shapeoko-Setup

    in reply to: First steps? #4692
    alden
    Member

    I’ll put something up on the wiki with some example settings you can use. Stay tuned for another post when its done.

Viewing 15 posts - 271 through 285 (of 702 total)