# How to upgrade RN2483 in TTUNO?

**URL:** <https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646>\
**Category:** End Devices (Nodes)\
**Created:** [September 30, 2016, 2:44pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646 "2016-09-30T14:44:03Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [September 30, 2016, 2:44pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/1 "2016-09-30T14:44:03Z")

</div>

Hello,

I am facing a big issue trying to upgrade the firmware of the RN2483 from 0.9.5 to 1.0 or greater, however I have spent a lot to time fiddling with the Lora.jar tool given in this [tutorial](http://docs.enabling.be/docs/faq-upgrade-allthingstalk-devkit-firmware) , which is the same that in the official post of [TTUNO](https://www.thethingsnetwork.org/forum/t/ttn-uno-beta-release-documentation/290/51?u=ndarkness).

None of those methods seem to work, so I would appreciate any other way to be able to update the firmware. I’ve told to use a PICKIT3 but I don’t know how to connect it to the chipset within the UNO since not all the pins of RN2483 are available without soldering ( which I rather not do).

Could someone help me out?

Thank you very much!!!

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 3, 2016, 4:20pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/2 "2016-10-03T16:20:18Z")

</div>

Which revision TTUNO do you have? (Should be listed on the back)

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 5, 2016, 7:32am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/3 "2016-10-05T07:32:40Z")

</div>

Hi @kersing

I have the version 4 (v4 868MHZ) , is there a better way to upgrade for that version?

Regards

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 5, 2016, 1:55pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/4 "2016-10-05T13:55:15Z")

</div>

Hi @kersing

I got a PICKIT3, after looking the schema that you provided I was wondering, if the following connections are the correct ones

```
**Pickit 3 pin**  **RN2843**
GND <----------------------------------------> GND
Pin 1(MCLR/Vpp)<------------------------------------> RESET
Pin 2 (Target Vdd)<---------------------------------> Vcc(3.3V)
Pin 5(PGC/ICSPCLK)<---------------------------------> TEST0
Pin 4(PGD/ICSDAT)<----------------------------------> TEST1 

```

In the same way, does the TTUno have to be reset? (just by connecting its HW reset to ground)

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 5, 2016, 4:17pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/5 "2016-10-05T16:17:58Z")

</div>

did you contacted [http://www.tweetonig.nl/](http://www.tweetonig.nl/) ? however i’m not sure they offer support on their design.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 5, 2016, 7:58pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/6 "2016-10-05T19:58:07Z")

</div>

1. Why do you ask the same question in multiple threads?

2. You need (as pointed out in the other thread) to connect GND (PICkit) to GND (UNO) to provide a common signal ground.

3. It will not hurt to force the Uno in reset mode. Just connect the reset input of the UNO to ground with a wire while upgrading.

4. The UNO needs to be powered as @JDP mentions.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 5, 2016, 8:02pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/7 "2016-10-05T20:02:58Z")

</div>

> [@ndarkness](#):
>
> is there a better way to upgrade for that version

With that version you have a chance the update will work. Version 5 has a capacitor connected to the RN2483 reset pin which makes it impossible to use PICkit3 to program the module.

Quoting the PICkit3 documentation:  
`Do not use capacitors on MCLR: they will prevent fast transitions of VPP.`

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 6, 2016, 8:04am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/8 "2016-10-06T08:04:40Z")

</div>

Hi @BoRRoZ

No I did not, maybe is it another option to do

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 6, 2016, 8:12am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/9 "2016-10-06T08:12:31Z")

</div>

> [@kersing](#):
>
> Why do you ask the same question in multiple threads?

Because I am trying to gather as much info as possible to upgrade the device, and since it seems to be scattered around the forum, I ask that much

> [@kersing](#):
>
> You need (as pointed out in the other thread) to connect GND (PICkit) to GND (UNO) to provide a common signal ground

I did so, I connected Pickit to GND and Pickit reset to the reset in the UNO, I connected as well Vdd from Pickit to the 3.3V in uno, otherwise the Pickit won’t detect that signal and it won’t allow flashing the device.

> [@kersing](#):
>
> It will not hurt to force the Uno in reset mode. Just connect the reset input of the UNO to ground with a wire while upgrading.

I reset the UNO using its ICSP connector GND and Vcc

> [@kersing](#):
>
> The UNO needs to be powered as @JDP mentions.

It was powered with usb, I measured the pins and I had 3.3V

After doing all that, connecting TEST0 and TEST1 to the pickit, the device was not loaded at all. I only got _Address: 300006 Expected Value: 80 Received Value: 0_ error while trying to flash, of course, the flash was not carried out…

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 6, 2016, 2:02pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/10 "2016-10-06T14:02:41Z")

</div>

> [@ndarkness](#):
>
> Pickit reset to the reset in the UNO

PICkit should be connected to the RN2483 reset, not UNO reset.  
Uno reset should be connected to ground.

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 6, 2016, 2:05pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/11 "2016-10-06T14:05:19Z")

</div>

Thanks @kersing

I did that as well, I had a “DIY” cable for the RESET,TEST1 and TEST0 pins, having connected Uno reset to GND, but in the ISCP pins, which I assume is the same that the other one rigth?

By the way, is my connection of PGC and PGD correct?

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 6, 2016, 2:14pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/12 "2016-10-06T14:14:55Z")

</div>

Sounds like you tried the right pins, did you solder the connections or just touch wires to the ‘pins’ of the RN? When touching wires it might take a couple of attempts to get it right. Also, make sure the wires from the PICkit to the RN module do not exceed 6 cm.

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 7, 2016, 6:43am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/13 "2016-10-07T06:43:04Z")

</div>

I have tried this morning again, I couldn’t flash it even though I have connected everything as told…

```
**Pickit 3 pin**  **RN2843**
GND <----------------------------------------> GND(TTUNO GND)
Pin 1(MCLR/Vpp)<------------------------------------> RESET
Pin 2 (Target Vdd)<---------------------------------> Vcc(TTUNO 3.3V)
Pin 5(PGC/ICSPCLK)<---------------------------------> TEST0
Pin 4(PGD/ICSDAT)<----------------------------------> TEST1

```

I connected GND pint in TTUno to the RST pin in the TTUNO as shown  
 ![](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/2/222243a9d484b08b44f580d7c4166fbe57469bf0.JPG)

I got this error( as I was having it before)

2016-10-07 08:23:50 +0200 - Completed loading IPE.

* * *

```
Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.44.26
Firmware type..............PIC18F

Target voltage detected
Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.

2016-10-07 08:30:52 +0200 - Programming...

Device Erased...

Programming...

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0xffff
configuration memory
EEData memory
User Id Memory
configuration memory
Address: 300006 Expected Value: 80 Received Value: 0
Failed to program device
2016-10-07 08:31:10 +0200 - Programming failed
Pass Count: 1
```

---

<div class="post-metadata">

**Author:** ![ndarkness](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ndarkness/32/20484_2.png) [@ndarkness](https://www.thethingsnetwork.org/forum/u/ndarkness)\
**Post date:** [October 7, 2016, 6:51am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/14 "2016-10-07T06:51:39Z")

</div>

Hi @BoRRoZ

I contacted the people of tweetoning, they suggested me to come to TTN forums XD

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 7, 2016, 8:42am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/15 "2016-10-07T08:42:34Z")

</div>

LOL … hope they can help you then here 😉

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 8, 2016, 9:18am UTC](https://www.thethingsnetwork.org/forum/t/how-to-upgrade-rn2483-in-ttuno/3646/16 "2016-10-08T09:18:52Z")

</div>

Have you checked there is no short circuit between the pins? I would at least use a piece of paper to make sure there is no short between the ‘header’ and the RN module. (Fold 1 mm to make sure it ‘protects’ the side of the RN module)  
On the picture it looks like the reset line might be shorting to ground.
