Open yazhuo-wyze opened 1 year ago
Hi! Can you please specify what kind of support you request? If you want to run OpenSK on your hardware, the Nordic chip is supported. However, BLE is not yet implemented, so you'd have to contribute for that :)
Hello Again. I need an installation document, like this: https://github.com/google/OpenSK/blob/stable/docs/boards/nrf52840_mdk.md , no need for Bluetooth for now.I mentioned E104-BT5040U, this one. I think it uses an nRF 52840.
We don't support new hardware on request. We do accept contributions, so if you find out how to install OpenSK on this platform, feel free to extend our documentation.
ok,thanks.I will try this new board, but I am not good at embedded development. If it works, I will provide documentation.
I have 3 of these. It comes with a broken Open DFU bootloader. When first flashed with the OpenSK for the PCA10059 via nrfutil or nrf Connect it becomes completely unresponsive.
The bootloader for the PCA10059 found here will restore functionality. With the PCA10059 bootloader it behaves just like a PCA10059. The LEDs and buttons are connected to the same io pins. The left button is RESET and the right USER.
I would not recommend these. For the same price you can get a PCA10059 with a working bootloader. The plastic case it comes with is also not very useful. The buttons are not accessible. Also one leg of the RESET button was not soldered on one board and the USER button was not soldered on another.
On aliexpress. It board seems to be the cheapest board with nrf52840 form me (at least form my country e.g. Poland). I have one question. @chimpnz How you flashed this bootloader. jlink, Daplink or something other maybe ? Because I maked this same, and after i flashed i saw this issue.
On aliexpress. It board seems to be the cheapest board with nrf52840 form me (at least form my country e.g. Poland). I have one question. @chimpnz How you flashed this bootloader. jlink, Daplink or something other maybe ? Because I maked this same, and after i flashed i saw this issue.
I used a OpenOCD on a Raspberry Pi. Mostly followed the directions here https://www.rototron.info/circuitpython-nrf52840-dongle-openocd-pi-tutorial
Just substitute to correct SWD pins on the different device and flash the bootloader from https://devzone.nordicsemi.com/f/nordic-q-a/40924/how-can-i-restore-the-original-bootloader-of-a-pca10059
Thanks at @Firemanpl and @chimpnz for your extensive documentation here! About missing access to the button: If you want to port OpenSK to this board, how would you solve this? If you want to build a touchless security key, I think you have 2 options:
Or is there something entirely different you are trying to do?
@yazhuodong-wyze : In fact, I just flashed the OpenSK firmware for this E104-BT5040U using Daplink and it works well now, no fatal problems so far.
@chimpnz : I had the same problem with the corrupted DFU bootloader and at first I was wondering if the one I had was broken, well, now it turns out it's not a coincidence :-) thanks for bringing a functioning bootloader.
@kaczmarczyck : Finally, since the chips themselves are all the same, just some pin mapping relationships are different, I will update the documentation support for this product on OpenSK installation in the coming days.
Regarding the device itself, it is supposed to be the cheapest nrf52840 development module currently on the market (at least for me) made by a Chinese company, so its documentation and hardware design etc. is not as well developed as Makerdiary and Nordic, and the money saved puts a higher demand on the user.
By the way, by checking the manual I found that E104-BT5040U and Nordic nRF52840 Dongle are identical in the mapping of user buttons, both are P0_16, so theoretically (and the easiest way), it is perfectly feasible to use Dongle's documentation to flash E104-BT5040U.
Specifically for my implementation, I actually added a capacitive touch button to it, and then modified the pin definition of user button inside the tock(yes I treated it as Dongle) to match my physical capacitive touch button. It runs well for now, but good boy don't follow my example of messing with the definition like that, it tends to cause weird hard to debug problems ;-)
Let me post some details here.
I was disappointed to select another model - E104-BT5040UA, as description was not clear enough that it's very different from E104-BT5040U. This works as a snuffer only, and you cannot use it with "nRF Connect at" all. You can use as sniffer in Wireshark only!
Description on other sale lots (which I've missed) says:
Differences between E104-BT5040U and E104-BT5040UA:
1. The factory software of the two modules is different, and the functions are also different.
E104-BT5040U: The main function is to support Nordic's official PC-side nrf connect, customers can use this module with nrf connect for BLE function debugging and development;
E104-BT5040UA: The main function is to capture BLE4.2 and BLE5.0 protocol packets, and it is used with other BLE modules to capture and analyze the communication of other modules.
2. The hardware structure is different.
E104-BT5040U: It is developed based on Nordic's official nRF52840 USB Dongle module, the hardware structure is similar to it, and most of the IO ports and hardware resources of the chip are drawn;
E104-BT5040UA: It is developed based on Nordic's official development board PCA10056. In addition to the nRF52840 chip itself, a serial port chip is added, and only the programming interface is introduced. IO and other hardware resources have no interface.
3.E104-BT5040U is compatible with all the programs of Nordic's original nRF52840 USB Dongle, and IO ports and hardware resources have been introduced, which is convenient for customers to carry out secondary development;
E104-BT5040UA does not recommend customers to carry out secondary development, and Ebyte does not provide secondary development support.
product link : https://www.ebyte.com/product-view-news.html?id=1030 buy link : https://detail.tmall.com/item.htm?id=624428606924