NRF24L01 + USB SPI CONVERTER
TotalDay opened this issue · comments
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!
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+.
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?
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
.
This adapter have
Chipset UART : CH340
MCU : STC11L04E
VID:PID=1a86:7523
CH341SER_MAC.ZIP
CH341SER.ZIP
CH341SER_LINUX.ZIP
NRF24L01ComExample_STC.zip
CH341SER_ANDROID.ZIP
The best solution is to flash Firmware direct from USB - UART
Can someone help to flash it?
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
30 minutes and still nothing
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+.
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
I have same problem. Does anybody solve this problem?
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.