Taz 5 with ARCHIM2

I will upload my latest files tonight in an hour or so. Sorry I am not by that computer at the moment

Yes it should connect to the two mating headers on the archim board, however as I recall the connector housings are installed 180 degrees out of position. That is probably why the lcd is not working for you. You can pull the plastic housing off the pins rotate, and reinstall. I mentioned this to ultimachine but I’m assuming they weren’t about to fix every board they have in stock

I am having issues compiling in vscode. I followed the teach tech guide but got kind of lost because this is not using a ordinary mother board. I believe I have everything modified correctly in the configuration.h file, but I do not feel confident about my pio file. Do I just need to set the default_envs = DUE_Archim in the .ino file? Or should there be more code?

Yes just set DUE_ARCHIM as the default environment and compile per teaching tech’s video (auto build Marlin) but send it to the usb port instead of a file. And of course make sure the src_dir is Marlin and include_dir is Marlin unless you changed the default directory structure (bad idea) when you unzipped the marlin2 code

You want to start auto build marlin. Show ABM panel and you should see your firmware name listed at the top, if you edited the configuration by line in the config.h it shows up below that, and then the name you gave your computer (if you edited that). You should see the board as Archim2 and the pins file should be for Archim2 below that. Finally architecture should be SAM3X8E (this happens automatically).

Then you’ll have two different potential builds, you select the one that’s not debug, and you click on upload. Your printer has to be on and connected via usb. If the usb isn’t recognized you’ll have to hold the erase button on the board and then press the reset button to re-enable the usb port

BTW don’t use stealthchop it’s no good for the Taz 5. I tried it and it just causes problems.

Also you really should use a bed probe if you’re not. The biggest advantage of 32 bit and Marlin2 is you can create a 10x10 mesh of your bed and store it in the eeprom and then you only have to redo bed probing when something gets changed or you start having first layer problems.

Here is my latest config files (the other files I change if you read earlier in this thread remain the same) as of 12/21/21

Just revise the file extension from .gcode to .zip and then unzip to get the files
Configs_marlin2.gcode (88.3 KB)

Here is my platformio.ini file. Again download, and change the extension from .gcode to .zip and then unzip to get the file.
platformio.gcode (2.7 KB)

BTW if you aren’t using a probe make sure Z_MIN_ENDSTOP_INVERTING is true for the Taz 5 in the configuration.h file

Okay awesome, I’ll see what I can get done tonight. I plan on using a probe I am just kind of upgrading iteratively. I am figuring things out quicker than anticipated. Thank you again for all your help.

Alright so I am now attempting to upload to the printer over vs code, and I am running into more issues. When I go to upload to the printer after I erase the firmware on the printer The code is compiling, but I am getting this error when it goes to upload to the printer:

Looking for upload port…
Auto-detected: COM6
Uploading .pio\build\nanoatmega328\firmware.hex
avrdude: stk500_recv(): programmer is not responding

Could there be an issue with my board? I have a feeling I am doing some thing dumb and I just cannot figure what it is.

No it’s trying to build nanoatmega328. That’s not right. It should say something like .pio/build/Due_Archim Are you using auto build marlin? Also make sure that after you do the erase/reset you disconnect the usb from your computer. Also power cycle the archim2 (turn your printer off and on) then reconnect usb to your computer. Check in device manager and tell me what it calls the device now connected to that usb port.

Also the file it should be creating is a .bin file, not a .hex file

Should look something like this when you are running Auto Build Marlin:

Okay I am now using auto build Marlin. For some reason though i I cannot get it to load your .ino file. It just keeps compiling for that incorrect printer platform. I figure it is an issue with where im compling the code so hopefully I can figure it out.

I am getting this error now when I compile just the .ino file:

Error: Unknown environment names ‘DUE_ARCHIM’. Valid names are ‘include_tree’

Am i missing a driver or library possibly?

You don’t have the marlin project loaded into platform io. Watch the teaching tech video again and follow as he opens up the marlin folder.

You don’t need my ini file. Just open the platformio marlin project per the teaching tech video. The change the platformio.ini so the default enviroment is DUE_ARCHIM. And make sure the directories in the ini file should read Marlin (assuming that’s where your code is and that’s how it unzips). It’s also the folder where your modded configuration.h and _adv.h files are.

After that open Auto Build Marlin and it should look similar to the photo I posted. Then build and upload.

Alright, it has been a long process but I finally got it printing. Thank you again for your help. I want to do a bl touch in the future, but I am using an old laptop as an interface for it currently so I probably wont upgrade the LCD. I did get alot of heat creep issues at first, but figured out that I just needed to replace a few fans. I am considering upgrading the hot end I just don’t know quite yet what I want to do. Here’s a pic of the current set up.

I’m glad you got it sorted out. It’s complex in places and it’s hard to find all the information you need.

Well I am back to working on my printer I wanted to fix my damaged extruder carriage and add auto leveling so I have been following this guide: Taz 5 + BLTouch [Project]
I have run into some issues. I am at the point where my firmware is compiling, my wire connections are correct. The GPIO port was throwing me off but I am pretty confident I have that right. But when I turn on the printer I cannot get the blue LED to light up and the probe isn’t extending. I have a feeling it is a firmware issue or I done messed up the bltouch. Any advice for potential solutions or advice for troubleshooting would be greatly appreciated.