#robotics Logs

Jul 24 2019

#robotics Calendar

09:25 AM katsumi: https://www.youtube.com/watch?v=y9OcHxiUNMA
09:29 AM katsumi: ;)
01:00 PM katsumi_ is now known as katsumi
01:16 PM Guest14539 is now known as owl
03:43 PM marder is now known as katsumi
06:46 PM logb0t_ is now known as logb0t
11:43 PM fling: rue: Hello.
11:43 PM zhanx: rue_shop1,
11:43 PM zhanx: rue_mohr,
11:43 PM rue_mohr: ok
11:44 PM fling: setting fuse fails https://bpaste.net/show/zvtZ
11:44 PM fling: Tried to flash first then set fuses like suggested here https://electronics.stackexchange.com/questions/37476/failing-to-write-atmega16u4-fuses-with-avrdude
11:44 PM fling: but it is failing to upload with bootloader https://bpaste.net/show/En4m
11:44 PM fling: I'm an arduino noob.
11:44 PM fling: using uno as isp to flash sanguinololu
11:44 PM rue_mohr: programmer is not responding
11:44 PM fling: Should I start building robots afterwards? :D Killbots?
11:44 PM rue_mohr: can arduino write to it?
11:45 PM zhanx: fling, no that is my job and rue_mohr is the expert on that chip
11:45 PM fling: probably yes, I'm following this video https://www.youtube.com/watch?v=fIl5X2ffdyo
11:45 PM rue_mohr: no probably , tryi it
11:45 PM fling: try what exactly?
11:45 PM rue_mohr: try to flash the "blinking led" sketch
11:45 PM rue_mohr: in the examples
11:46 PM zhanx: rue_mohr, big bird
11:46 PM * rue_mohr raises umbrella
11:46 PM fling: laptop <-usb-> uno <-icsp-> sanguinololu
11:46 PM fling: I flashed blink to uno and it worked
11:46 PM rue_mohr: ok
11:46 PM fling: Am I supposed to flash blink to sanguinololu ?
11:47 PM rue_mohr: er
11:47 PM rue_mohr: are you using the uno as a programmer?
11:47 PM fling: Yes.
11:47 PM rue_mohr: uh
11:47 PM rue_mohr: then your programmer shouldn't be set to arduino
11:47 PM fling: I copied the commandline from arduino ide and added -F when tried to set fuses
11:48 PM rue_mohr: I realize that doesn't entirely make sense
11:48 PM fling: sure
11:48 PM rue_mohr: the uno emulates another type of programmer, an stk200 iirc
11:49 PM fling: stk500 probably idk
11:49 PM rue_mohr: could be
11:49 PM fling: I read this from avrdude output
11:50 PM rue_mohr: programmer 'arduino' means to use the arduino bootloader
11:50 PM rue_mohr: which you dont want
11:50 PM rue_mohr: I know in the arduino ide its called "use arduino as programmer"
11:50 PM rue_mohr: I dont know what they set the programmer type flag to when you do that
11:51 PM fling: Programmer: "Arduino as ISP"
11:51 PM fling: the commandline is copied from ide
11:51 PM fling: so they set it to what I show in the paste
11:51 PM rue_mohr: lots of things about what you pasted are wrong
11:52 PM fling: should I increase verbosity?
11:53 PM rue_mohr: never use the force flag
11:53 PM * fling scratches -F
11:53 PM rue_mohr: the force flag makes it blindly try to keep going when your hardware just isn't there
11:54 PM fling: Is it fine that sanguinololu board boots and runs when I connect uno to usb?
11:54 PM rue_mohr: ok, so tell me a bit more about what your up to, your trying to load the arduino bootloader onto a m32U4?
11:54 PM fling: I thought only chip I'm flashing should get powered, but the whole thing turns on
11:54 PM fling: ok.
11:54 PM rue_mohr: yup, they will power over the data lines just fine
11:55 PM fling: I have an ender3 here and I want to flip steppers in software instead of rewiring and to add some useful features to the firmware like overheating protection and mesh leveling etc.
11:55 PM rue_mohr: is your goal to get the 1284 to have an arduino bootloader?
11:55 PM fling: The board is probably missing a bootloader so I needed to burn it first.
11:56 PM rue_mohr: usually not
11:56 PM rue_mohr: did you try connecting to it with arduino?
11:56 PM rue_mohr: try the flash led sketch :)
11:56 PM fling: to sanguinololu?
11:56 PM fling: But it will brick it :P
11:56 PM rue_mohr: you want to change the software on it
11:56 PM fling: The printer will not print anymore until I figure out how to do stuff haha
11:56 PM rue_mohr: right?
11:57 PM fling: right
11:57 PM fling: But it is going really bad so far.
11:57 PM rue_mohr: if it bricks it, your doing good
11:57 PM fling: ok, bricking
11:57 PM rue_mohr: cause you would just need to write the new firmware on it
11:57 PM fling: got it
11:57 PM rue_mohr: so it had the bootloader!
11:57 PM rue_mohr: (has)
11:58 PM rue_mohr: the printer software will usually be available in an arduino wrapper for ease of direct upload
11:59 PM rue_mohr: you should be able to tweek what you want and send it to the printer with arduino
11:59 PM rue_mohr: which is easeier if its meant for it