LowPowerLab Forum

Hardware support => Moteino => Topic started by: dave_sausages on March 21, 2016, 01:39:43 PM

Title: Which pin(s) do I pullup to reflash mega bootloader?
Post by: dave_sausages on March 21, 2016, 01:39:43 PM
Hi all,

So I need to reflash my Moteino Mega (long story and not very interesting), and I'm wondering what pins I need to modify to program it.

I've got the LoRa radio module on the board of course and lots of hardware on the other pins.

Do I just need to pullup D4? I've deduced that from this thread where Felix says to pullup D10 on a standard Moteino. https://lowpowerlab.com/forum/index.php/topic,300.msg9832.html#msg9832 (https://lowpowerlab.com/forum/index.php/topic,300.msg9832.html#msg9832)

Cheers

Dave
Title: Re: Which pin(s) do I pullup to reflash mega bootloader?
Post by: Felix on March 21, 2016, 01:47:46 PM
pullup the SPI CS/SS pin (D4).

(https://farm4.staticflickr.com/3871/14677033948_a1a5d108c8_o.png)
Title: Re: Which pin(s) do I pullup to reflash mega bootloader?
Post by: dave_sausages on March 21, 2016, 06:44:10 PM
Thank you very much. I'm just having a play now.

Oh and if I were to need to change the pin that the LED is on that flashes when being programmed, what is the easiest way to do that? Instead of PD7 I have an external LED on PD5, so I can get a programming status without needing to take my project apart.

Cheers
Title: Re: Which pin(s) do I pullup to reflash mega bootloader?
Post by: Felix on March 21, 2016, 08:39:59 PM
You would have to recompile the bootloader with the different pin.