Reflashing Board?

New Home Forum ZenXY Software – ZenXY Reflashing Board?

This topic contains 9 replies, has 3 voices, and was last updated by  Ryan 2 weeks, 4 days ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #72638

    ssblue
    Participant

    Hello! I am trying to reflash my rambo 1.4 board with the firmware from the b_ramps_ZenXY folder, however as this is my first time working with any hardware, I am a bit out of my depth. I have the board plugged into my laptop and the Arduino web editor up and set to the right board. How would I go about getting the new firmware on the board?

    #72644

    Jeffeb3
    Participant

    Welcome!

    The arrow in the upper left is for uploading. That firmware is for the ramps and you’ve got the rambo. The mini rambo is closer, but you’ll have to change the board type in the configuration.h. I’m not sure what else you’ll have to change, maybe Ryan will be able to help. Luckily, a lot of the stuff isn’t relevant for a ZXY.

    1 user thanked author for this post.
    #73335

    ssblue
    Participant

    Thanks for the welcome and help!

    I changed the configuration.h file for the mrambo firmware. However, I am now getting a compiler error after following the instructions here.

    Arduino: 1.8.7 (Mac OS X), Board: “RAMBo”

    sketch/stepper.cpp: In static member function ‘static void Stepper::digipot_init()’:
    stepper.cpp:1534:54: error: ‘DIGIPOT_MOTOR_CURRENT’ was not declared in this scope
    static const uint8_t digipot_motor_current[] = DIGIPOT_MOTOR_CURRENT;
    ^
    Multiple libraries were found for “U8glib.h”
    Used: /Users/TerizaChen/Documents/Arduino/libraries/U8glib
    Not used: /Users/TerizaChen/Library/Arduino15/packages/rambo/hardware/avr/1.0.1/libraries/U8glib
    exit status 1
    ‘DIGIPOT_MOTOR_CURRENT’ was not declared in this scope

    Any idea why this is happening?

    • This reply was modified 3 weeks, 4 days ago by  ssblue.
    #73344

    Jeffeb3
    Participant

    I don’t recognize that image, but the upload button is what you’re looking for. Is that the web version or something? I have only used the downloaded version.

    #73350

    ssblue
    Participant

    Ah, I edited my reply just before I noticed I had a response. I changed to the downloaded application. I am getting a compiler error. I tried searching the rest of my files for DIGIPOT_MOTOR_CURRENT however there are a LOT of files and so I have not found it anywhere. I am assuming because of its stylization that it is static/final/constant and defined in a file somewhere but probably commented out.

    #73353

    Ryan
    Keymaster

    Make sure you are using Arduino 1.9

    #73358

    Jeffeb3
    Participant

    Ramps doesn’t have the digipots. When you use mini rambo, it ahould have defaults defined for thw digipots values, but I guess not. I am AFK, but I would look at mpcnc mini rambo firnware to see how it is set.

    #74264

    ssblue
    Participant

    I am using the mrambo firmware, not the ramps one. I found where DIGIPOT_MOTOR_CURRENT was defined. It was in the Configuration_adv.h file. I uncommented it tried recompiling. It compiles now and gives me a different error.

    Arduino: 1.9.0-beta (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    Sketch uses 108240 bytes (42%) of program storage space. Maximum is 253952 bytes.
    Global variables use 4581 bytes (55%) of dynamic memory, leaving 3611 bytes for local variables. Maximum is 8192 bytes.
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
    An error occurred while uploading the sketch

    Looking for a solution to this error made me realize that I have an entirely different problem. I never plugged in the 12v power source as instructed here. So now my question is how exactly would I go about doing that? I vaguely understand that this

    is supposed to end up here (in the middle 2, I think?)

    I have this part (2 pin pluggable black?) which fits into where the power is supposed to go like this, but how would I go about getting the wires into that?

    Here is the rest of the stuff I have:

    Sorry to derail into a hardware question, I’m pretty clueless when it comes to this. Any help would be appreciated!

    #74269

    Jeffeb3
    Participant

    avrdude: stk500v2_ReceiveMessage(): timeout

    That’s saying it can’t connect to the arduino microcontroller. So yeah, the power is the problem.

    That 2 pin connector has those set screws on it, if you loosen the screws, you can put the wire in the back and then tighten the screws to hold the wire place. Be careful to:

    1) Get the whole wire in there. Sometimes a strand or two will get bent back and eventually find it’s way to the other side and cause a short.

    2) You don’t have to abuse it, but get the screws snug. You can give it a small tug to make sure the wire won’t come out of the connector. The connector should be holding the wire, not the insulation.

    3) Get the polarity right. Red should be (+).

    Sorry for the typos in the previous replies. I proofread this message :).

    #74299

    Ryan
    Keymaster

    In the end you need more power in the two slots not just the one..

    UltiMachine Control Boards

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.