Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NRF24L01 + USB SPI CONVERTER #19

Open
TotalDay opened this issue Jun 19, 2016 · 15 comments
Open

NRF24L01 + USB SPI CONVERTER #19

TotalDay opened this issue Jun 19, 2016 · 15 comments

Comments

@TotalDay
Copy link

Hello! How can i flash this NRF24L01 + USB SPI CONVERTER with ArduinoISP or SPI programmer ?

http://www.elecfreaks.com/wiki/index.php?title=2.4G_Wireless_nRF24L01p_with_PA_and_LNA

Please help!

@TotalDay
Copy link
Author

@TotalDay
Copy link
Author

_12
52100a
n24l01_figure20

@TotalDay
Copy link
Author

new-ch340t-usb-to-serial-port-adapter-board-2-4g-nrf24l01-wireless-module-wholesale

@marcnewlin
Copy link
Contributor

Unfortunately it is not possible to use this firmware with an nRF24L01+ without modification. The firmware is designed to work with the nRF24LU1+, which contains a USB controller and 8051 MCU (which are not present in the nRF24L01+).

If you want to use an nRF24L01+, my recommendation would be to connect it to a 3.3v Arduino or Teensy, and modify the firmware to use the Arduino's SPI interface instead of the internal SPI interface used with the nRF24LU1+.

@TotalDay
Copy link
Author

TotalDay commented Jun 22, 2016

Marcnewlin, i read many manuals about nRF24LU1+, but i can not find specs about flash size 16 kb or 32 kb. have you any information about bootloader`s adress of this chip?

@marcnewlin
Copy link
Contributor

The firmware in this repository is specific to the 32kb flash variants of
the nRF24LU1+, but it should work with the 16kb variants with a slight
modification.

The chips ship with the Nordic bootloader occupying the upper 2kb of flash
memory. On the 32kb variants this is at address 0x7800, vs 0x3800 for the
16kb variants.

I haven't tested this with a 16kb nRF24LU1+, but it should be as simple as
updating the bootloader address.

Let me know how it goes!
On Jun 22, 2016 5:22 PM, "TotalDay" notifications@github.com wrote:

marcnewlin, i read many manuals about nRF24LU1+, but i can not find specs
about flash size 16 kb or 32 kb. have you any information about
bootloader`s adress of this chip?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#19 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABMBHhbp6yxgBa_iX5e2HsiZvHi08AVnks5qOaeggaJpZM4I5Lxh
.

@TotalDay
Copy link
Author

TotalDay commented Jul 21, 2016

Today i received NRF24L01 USB adapter USB 2.4Ghz NRF24L01 UART 2.4G NRF24L01

imag0979
imag0983

@TotalDay
Copy link
Author

TotalDay commented Jul 21, 2016

This adapter have
Chipset UART : CH340
MCU : STC11L04E
VID:PID=1a86:7523

default
CH341SER_MAC.ZIP
CH341SER.ZIP
CH341SER_LINUX.ZIP
NRF24L01ComExample_STC.zip
CH341SER_ANDROID.ZIP

@TotalDay
Copy link
Author

TotalDay commented Jul 21, 2016

The best solution is to flash Firmware direct from USB - UART

Can someone help to flash it?

http://www.ebay.com.au/itm/NRF24L01-USB-adapter-adaptateur-USB-2-4Ghz-pour-NRF24L01-UART-2-4G-NRF24L01-/272081225026

@TotalDay
Copy link
Author

imag0980
imag0981
imag0982
imag0983
imag0978
imag0979

@TotalDay
Copy link
Author

TotalDay commented Jul 22, 2016

I am trying to flash via USB SERIAL CONVERTER

Changes:

static void (nordic_bootloader)() = (void ()())0x3800;

LDFLAGS = --xram-loc 0x4000 --xram-size 2048 --model-large

'USB VID:PID=1a86:7523'.lower()

dongle = usb.core.find(idVendor=0x1a86, idProduct=0x7523)


make install

result: device is busy


make spi_install

1

30 minutes and still nothing

@SimenDeath
Copy link

SimenDeath commented Jan 7, 2017

I am having same problem .. -> it frozes in Writing image to flash -> i am trying to flash with teensy3.1 via SPI with cina module nrf24l01+.
...
Edit:
Okey problem was that i got 01+ and not LU1+. I finally underestand difference between nrf24l01+ and nRF24LU1+ :). So now i need to figure out how to change firmware to use it on 01+.

@madagaga
Copy link

madagaga commented Mar 10, 2017

Hi @SimenDeath , i have same problem.
I'm not a c/asm developper but I've take a look at the "firmware" given by the seller, it handle only the nrf part.
this link seems to show how to handle uart part
http://www.stcmcu.com/datasheet/stc/STC-AD-PDF/STC11F-10Fxx-english.pdf

Maybe it could help

nrf part could be rewriten to handle 01/01+ as the given code is quite similar to arduino/rpi rf24 lib.
Then a AT interpreter should be written to transfer command between PC <=> STC <=> nrf

@its-saeed
Copy link

I have same problem. Does anybody solve this problem?

@RoganDawes
Copy link

I haven't solved the problem, but as Marc indicated in #19 (comment), the nRF24L01 has no built in CPU, which means you cannot flash firmware to it. You can consider using ucMouseJack firmware instead: (https://github.com/insecurityofthings/uC_mousejack)

This uses a separate microcontroller to drive the nRF24L01.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants