Go to advanced search

by Lost Cause
Sun Mar 12, 2017 4:49 pm
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

I would really like to carry on working with the Pi. Building a board or drop on shield for the pi to make programing these things easy has been on my todo list for ages XD I get distracted by the other fun things I could be doing and some jumper wires and a breadboard is "good enough" in 99% of cas...
by Lost Cause
Sun Mar 12, 2017 2:31 pm
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

Actually, I didn't want to use the IDE, it sort of gets in the way but it has the flash boot loader command. I typically have no idea what I am doing I just keep trying until something happens so I got slightly confused between what I thought I needed and what I actually needed. Right now without th...
by Lost Cause
Sun Mar 12, 2017 10:51 am
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

Hmm. that could work. I don't know yet as I didn't have a dektop enviornment on this pi and if I run the arduino IDE remotly it fails because it doesn't have permission to use the gpio despite AVRdude having that permission, but if I tun the Arduinop IDE as superuser it fails to connect to Xming ser...
by Lost Cause
Sun Mar 12, 2017 9:01 am
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

Already started programming the chip without the bootloader. I'm tinkering with the fuses too, though very carefully since apparently you can kill a chip and need to go with high voltage programming if you set those wrong.
by Lost Cause
Sun Mar 12, 2017 8:40 am
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

Yes, I knew it had to be possible. The bootloader isn't special in any way. it sits in the same non-volatile memory as the rest of the AVR program. What puzzles me though is that in so far as I am aware the bootloader controls programming the rest of the memory when it is used to program the chip, b...
by Lost Cause
Sat Mar 11, 2017 9:22 pm
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

Yup. I'm an idiot. The bootloader does nothing I need. a few minutes look about and I have started to divorce myself from arduino entirely. I got a blink program running without any of the arduous trappings. I got so fixated on doing what I thought would solve my problem I lost track of what it was ...
by Lost Cause
Sat Mar 11, 2017 6:25 pm
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Re: Using RPi to flash Arduino bootloader

Not to answer the question of whether the Pi can do this no. It was an interesting read none the less. It was what I expected to see on the Arduino forums and exactly why I asked here. Any mention of what was used to load the bootloader was one or another version of Arduino (because that is what the...
by Lost Cause
Sat Mar 11, 2017 4:15 pm
Forum: General discussion
Topic: Using RPi to flash Arduino bootloader
Replies: 14
Views: 6162

Using RPi to flash Arduino bootloader

I have been greatly enjoying the expanded capabilities the RPi gets when paired off with a microcontroller or two, but I have hit something of a wall. I set up a pi with the Arduino IDE and promptly forgot it existed as I compiled programs from the command line and then uploaded them with AVRdude by...
by Lost Cause
Wed Jul 27, 2016 11:29 pm
Forum: C/C++
Topic: SPI from RPi to atMega328p
Replies: 2
Views: 2137

SPI from RPi to atMega328p

If anyone happens to have any experiance getting an RPi to talk to atmega chips I could use some help. I can't for the life of me get my atMega chips to respond to SPI communication I have been through quite a few tutorials and looking up the guides such as those posted by Nick Gammon at http://www....
by Lost Cause
Thu Jul 21, 2016 2:51 pm
Forum: Troubleshooting
Topic: avrdude
Replies: 11
Views: 2293

Re: avrdude

It's alive!
It's alive!!!!!
by Lost Cause
Thu Jul 21, 2016 7:44 am
Forum: Troubleshooting
Topic: avrdude
Replies: 11
Views: 2293

Re: avrdude

Yay!!! Thank you jojopi. That cleared the error and fixed the missing file ^.^ I knew there had to be a simpler way to recover the file. And thanks MarkHaysHarris777 too. I shall have a poke about and see what I can find of those. Gordon's pages are down at the moment... marcus Well spoot. I'm no no...
by Lost Cause
Thu Jul 21, 2016 6:33 am
Forum: Troubleshooting
Topic: avrdude
Replies: 11
Views: 2293

Re: avrdude

Hmmm.. Maybe
I still haven't flashed the SD card from my pi zero
Maybe I can set that up the same way I have this one, and copy the file that way?

Oh, since it seems you have been down the same road I'm going any tips or tutorials you can pioint me to that are particularly helpful?
by Lost Cause
Thu Jul 21, 2016 6:21 am
Forum: Troubleshooting
Topic: avrdude
Replies: 11
Views: 2293

Re: avrdude

I am actualy trying to use the atmega 328p chips to since I have 2 of them. I am hopeful to run them at 3.3v and make use of their adcs without the need for a logic level converter or a voltage divider between the connections to the pi. That works very well, actually. But, you need the 12Mhz resona...
by Lost Cause
Thu Jul 21, 2016 5:54 am
Forum: Troubleshooting
Topic: avrdude
Replies: 11
Views: 2293

Re: avrdude

I was still in the process of trying to get it to work with the avrs. I had only got as far as checking spi worked with loopback and trying it out with an old spi lcd display from a phone. I am actualy trying to use the atmega 328p chips to since I have 2 of them. I am hopeful to run them at 3.3v an...
by Lost Cause
Thu Jul 21, 2016 5:19 am
Forum: Troubleshooting
Topic: avrdude
Replies: 11
Views: 2293

avrdude

I managed to screw this up. I was trying to get spi conection to an AVR chip up and running and I was editing /etc/avrdude.conf I made the horrible mistake of installing an update to cyberduck which I was using to manage downloads and uploads from the pi so I didn't have to use nano through the ssh ...
by Lost Cause
Thu Dec 17, 2015 12:18 pm
Forum: Beginners
Topic: TVL Cameras
Replies: 4
Views: 971

Re: TVL Cameras

A TVL camera is just TV-Line camera. They are the old analog way of doing video and sound so, most of them have an audio, video ground and power cable. This means they don't exactly hook up straight to a computer since they are an analog signal rather than digital but in many cases they will hook up...
by Lost Cause
Wed Dec 16, 2015 2:56 pm
Forum: Beginners
Topic: TVL Cameras
Replies: 4
Views: 971

TVL Cameras

OK, this is likely going to be a really silly question, but I can't for the life of me find the answers I am looking for. I'm trying to find a more detailed guide to using TVL type cameras with the pi, or any Linux computer at all really, but I keep coming up with guides to setting up analog securit...
by Lost Cause
Fri Jan 30, 2015 2:25 am
Forum: Beginners
Topic: SFTP File Transfer to USB hard drive
Replies: 1
Views: 1502

Re: SFTP File Transfer to USB hard drive

Well this thread has been dead for a while, but there has been something of a development in it. I think I have narrowed down where I may have done something to break the ability to write to my external drive. After formatting a fresh card, installing Raspbian and putting it into my Pi I was suddenl...
by Lost Cause
Tue Dec 09, 2014 12:55 am
Forum: Beginners
Topic: Trying to avoid burning out GPIO pins
Replies: 16
Views: 2143

Re: Trying to avoid burning out GPIO pins

After all my paranoia and worry, everything worked out exactly as everyone other than me was predicting. The Pi didn't explode or burst into flames the moment I connected the LED. In fact there are now 3 LEDs wired up and blinking sequentially. I even got bold enough to experiment with different val...
by Lost Cause
Mon Dec 08, 2014 12:24 am
Forum: Beginners
Topic: Trying to avoid burning out GPIO pins
Replies: 16
Views: 2143

Re: Trying to avoid burning out GPIO pins

Well thanks for that.
I've only got 10 of these LEDs so far and no suitable resistors. That is what I am hoping to order or get in store come business hours today.
Honestly I think I just thought myself into a corner.
by Lost Cause
Mon Dec 08, 2014 12:16 am
Forum: Beginners
Topic: Trying to avoid burning out GPIO pins
Replies: 16
Views: 2143

Re: Trying to avoid burning out GPIO pins

I think my confusion comes from my lack of understanding on how these things work. All the power supplies I am used to have an output of both volts and amps. All I knew about the Pi was GPIO pins output 3.3V and musn't output more than 16mA which according to what I read they can do if not controlle...
by Lost Cause
Sun Dec 07, 2014 11:50 pm
Forum: Beginners
Topic: Trying to avoid burning out GPIO pins
Replies: 16
Views: 2143

Re: Trying to avoid burning out GPIO pins

OK... I am slightly more confused now than I was before... as far as I was aware you plugged in the voltage you needed to drop, the amps you had and got back a resistance value in ohms I need to drop 1.7V and I have no idea how the Amp draw the LED makes is determined... so.... uhh... if a 330 ohm r...
by Lost Cause
Sun Dec 07, 2014 11:28 pm
Forum: Beginners
Topic: Trying to avoid burning out GPIO pins
Replies: 16
Views: 2143

Trying to avoid burning out GPIO pins

I'm trying to get to grips with Ohm's law... I am assuming you can't control for amp draw through it and if you plug an LED into the system you just have to assume it will try to draw it's entire Forward Current. So can someone just verify for me that the 1.6 Forward Volt and 20mA forward Current LE...
by Lost Cause
Sat Dec 06, 2014 8:43 pm
Forum: Beginners
Topic: SFTP File Transfer to USB hard drive
Replies: 1
Views: 1502

SFTP File Transfer to USB hard drive

Been having a lot of fun playing with my little Pi and I have figured out how to do a fair bit on my own but something that seems simple has me stuck. I have ssh enabled and I can log in through Putty which lets me find and mount the external hard drive I have to either the default /mnt directory or...
by Lost Cause
Sun Aug 03, 2014 8:34 am
Forum: Beginners
Topic: Cronjob issues
Replies: 11
Views: 1551

Re: Cronjob issues

The safe mode used when you boot a pi with pins 5 and 6 connected without having told it to ignore safe mode.
If user specific cron tasks all get run regardless of the user being logged in I'm not sure how it would prevent a job locking up the pi on start up.

Go to advanced search