Sunday, July 17, 2011

New PC-side bootloader version...

So I wanted to let everybody know I've released a new version of the PC-side bootloader. The new version adds a terminal, so now you don't have to keep switching back and forth to program the device. Also, the code works natively in Linux (tested with Ubuntu 11.04). You just have to run the executable with mono (not wine, it doesn't work this way for me...this is how it gets run if you just double click it). You can download it here.

Check out a screen shot here:


EDIT: After typing the post, I thought about a few things to add. First, you can leave the terminal open while you program the device (you don't have to close the terminal first to program the device). The app will handle opening/closing the serial port automatically.

Also, I have a very small shell script in the bin directory that Linux (and Mac OS, I would presume) users can use to run the executable with mono. To run the command, open up a terminal and then cd to //nrf24lu1_bootloader_pc/nrf24lu1_programmer/bin/Debug and run the script nrf24lu1_programmer (*NOT* nrf24lu1_programmer.exe).

Finally, if for some reason you have to forcibly kill the program in Linux, you will have to manually delete the lock file for the serial port you are using. The lock file location and name will be listed in the output box of the programmer app.

Labels: ,

7 Comments:

At October 8, 2011 at 5:50 AM , Blogger Juan said...

Hi!

I am trying to program the nRF24LE1 with a USB-TTL cable with 3.3v I/O (http://www.sparkfun.com/products/9717). I understand that this does the same that the proposed serial programmer. Am I right?

Which is the right port speed to program? 38400?

Juan

 
At October 8, 2011 at 2:22 PM , Blogger brennen said...

That cable should work fine. You can also connect the 5V supply line that comes out of that cable to the VIN pin on the LE1 board. Just make sure you don't connect the 5V line to the VCC pin!!!.

You would then connect FT232R.RTS -> nRF24LE1->RESET, FT232R.TXD -> nRF24LE1.RXD, and FT232R.RXD -> nRF24LE1.TXD.

I would recommend placing a 1k ohm resistor in series between FT232R.RTS and nRF24LE1.RESET, as well as between FT232R.TXD and nRF24LE1.RXD. The resistor needs to be as close to 1k ohm as possible to make sure it doesn't affect the voltage on the RESET pin enough that it causes the device to not reset.

 
At March 24, 2013 at 3:43 PM , Anonymous Anonymous said...

How to run, software? Step by step

 
At October 28, 2013 at 9:30 AM , Blogger Unknown said...

Very nice post. I just stumbled upon your weblog and wanted to say that I've truly enjoyed browsing your blog posts. After all I will be subscribing to your rss feed and I hope you write again soon!
Also visit my web-site:Black Friday Canon T3i Deals or Coupons

 
At November 30, 2013 at 7:37 AM , Blogger Rosalindahallam said...

In this year I want to buy a vacuum cleaner. Unfortunatly, There aren't any deals for my product at local market. I think I have to find a deal for vacuum cleaner at onlion shop like Amazon.

 
At March 23, 2018 at 4:14 AM , Anonymous Anonymous said...

Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. vShare iOS 10

 
At December 2, 2020 at 4:50 AM , Blogger vivikhapnoi said...

Good Post! , it was so good to read and useful to improve my knowledge as an updated one, keep blogging.

giá vé máy bay đi nhật bản vietjet

ve may bay tet

vé máy bay đi đà nẵng 30/4

vé máy bay vietjet hà nội cam ranh

vé máy bay đi quy nhơn tháng 8

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home