# Loading new firmware/ gateware using the Limesuite API

**URL:** https://discourse.myriadrf.org/t/loading-new-firmware-gateware-using-the-limesuite-api/4450
**Category:** LimeSDR
**Created:** [27 March 2019 21:47 UTC](https://discourse.myriadrf.org/t/loading-new-firmware-gateware-using-the-limesuite-api/4450 "2019-03-27T21:47:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![booth](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@booth](https://discourse.myriadrf.org/u/booth)
#### Post date: [27 March 2019 21:47 UTC](https://discourse.myriadrf.org/t/loading-new-firmware-gateware-using-the-limesuite-api/4450/1 "2019-03-27T21:47:13Z")

</div>

Dear All,  
I have two custom FPGA .rbf files and want to switch between them. My two questions are:

1. How long would it take the selected gateware/ firmware to take effect,
2. Will I lose connection after loading the new FPGA gateware, do I need to reconnect?
3. Do I need to reset the board?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![martywittrock](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/martywittrock/32/66_2.png) [@martywittrock](https://discourse.myriadrf.org/u/martywittrock)
#### Post date: [27 March 2019 22:19 UTC](https://discourse.myriadrf.org/t/loading-new-firmware-gateware-using-the-limesuite-api/4450/2 "2019-03-27T22:19:36Z")

</div>

@booth - Kurtul,

Gateware/firmware changes happen immediately following reprogramming. You should always use the LimeSuite tool to reprogram your Lime because not only will you see the firmware update when you do a ‘Device Info’ but you are always assured that it’s been properly reprogrammed. Usually the LimeSuite tool will reset the entire board, but if you’re having issues with it I would advise that you power off your board, restart the LimeSuite tool, connect to it in the tool, and then check to make sure the firmware update was applied correctly through the ‘Device Info’ part of the toolset in LimeSuite.

Hope this helps - 73 de Marty, KN0CK

---

<div class="post-metadata">

### Author: ![booth](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@booth](https://discourse.myriadrf.org/u/booth)
#### Post date: [27 March 2019 22:24 UTC](https://discourse.myriadrf.org/t/loading-new-firmware-gateware-using-the-limesuite-api/4450/3 "2019-03-27T22:24:47Z")

</div>

Thanks a lot.  
Unfortunately I can not use Limesuite. I have to use the API because I will embed the Gateware changing function into my own program.

---

<div class="post-metadata">

### Author: ![IgnasJ](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@IgnasJ](https://discourse.myriadrf.org/u/IgnasJ)
#### Post date: [28 March 2019 08:30 UTC](https://discourse.myriadrf.org/t/loading-new-firmware-gateware-using-the-limesuite-api/4450/4 "2019-03-28T08:30:29Z")

</div>

From command line you can use :  
LimeUtil --fpga fpga\_image\_name.rbf

From API programming can be done using LMS\_Program() with mode set to “FPGA FLASH”
