New Project: nRF24LE1

Nordic semiconductor makes probably the best commercial ultra-low power, high bandwidth radio transceivers. We have used the nRF24L01 2.4GHz chips in wireless headstages previously.

I’m working on a new project that uses these transceivers. But since I’m too lazy to select a microcontroller, design some kind of communication protocols between the two, and a PCB for it, I decided to use Nordic’s nRF24LE1, which includes the transceiver and a 8051-style microcontroller all on one chip. Pretty sweet!

Further, Brennen Ball from DIYEmbedded.com makes a nice breakout board for it, as well as bootloader and a SDK based on SDCC. All very convenient – this way I don’t have to go through Nordic’s own Windows-based toolkit using the Keil compiler, making the cost lower.

First step is to figure out how to use Brennen’s tools. He wrote the PC bootloader in C#, and claims that it works natively in Linux through Mono. For me, however, I keep getting the errors:


Missing method EnableVisualStyles in assembly /home/allenyin/Projects/rat_wireless/nrf24lx1_bootloader_pc/nrf24lx1_programmer/bin/Debug/nrf24lx1_programmer.exe, type System.Windows.Forms.Application
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Solved this by installing Mono libraries: 1) libmono-system-windows4.0-cil; 2) libmono-winforms2.0-cil

—————-TBC—–

Advertisements

About collapsedwavefn

I have a lot of thoughts. Some of them I'd like to share.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s