cc2538-bsl
micronucleus
Our great sponsors
cc2538-bsl | micronucleus | |
---|---|---|
2 | 3 | |
483 | 1,632 | |
- | 1.4% | |
5.3 | 2.5 | |
5 days ago | 2 months ago | |
Python | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cc2538-bsl
-
Sonoff CC2652P stick as ZigBee sniffer?
Flash the stick with C:\Program Files (x86)\Texas Instruments\SmartRF Tools\SmartRF Packet Sniffer 2\sniffer_fw\bin\cc1352p1lp\sniffer_fw.hex . As far as I know, you can flash it using the same methods you'd normally use to flash Z-Stack firmware. cc2538-bsl.py works, but if you ask it to verify, it'll show "ERROR: Timeout waiting for ACK/NACK after 'Get CRC32 (0x27)'". And note that once you flash the sniffer FW, you won't be able to re-flash it over USB; you'll need to use the cJTAG pins on the board (the Reset, TMS, TCK, etc… pins shown in this pic), which requires extra hardware, such as the CC-DEVPACK-DEBUG. Or at least I couldn't figure out how to do it; if it's possible, please let me know how.
- PSA: Zigbee network lockup bug affecting zigbee2mqtt and ZHA (zigpy-znp) fixed
micronucleus
-
Building the worlds jankiest serial to USB cable from scavenged parts
You can actually bit-bang low speed USB on Arduino [0]. There is even a bootloader [1] for ATtiny. It is obviously not compatible with Arduino, but those tiny boards look too cute to ignore [2]. Also, you can use USB port both for downloading firmware and your application.
[0] https://github.com/obdev/v-usb
[1] https://github.com/micronucleus/micronucleus
[2] https://cpldcpu.wordpress.com/2014/04/25/the-nanite-85/
-
Emulator of Original Dell Charger Using ATTINY85
The Digispark[1] and its clones use the ATTINY85 and offer flashing over USB via the Micronucleus bootloader[2] using V-USB[3]. It comes at the cost of a significant chunk of flash storage, but the convenience is excellent. Plus, V-USB support means you can emulate all sorts of USB devices. I've used it to build a DIY NES controller adapter, but it's commonly used as a cheap Rubber Ducky[4]. For projects where USB interfacing makes sense, it can be a good fit.
1: http://digistump.com/products/1
2: https://github.com/micronucleus/micronucleus
3: https://www.obdev.at/products/vusb/index.html
4: https://shop.hak5.org/products/usb-rubber-ducky-deluxe
-
Writing bootloader to practice programming skills?
So it looks like they're using the micronucleus bootloader for the linked example. That bootloader not only does the normal bootloader job, but also acts as a bitbanging USB device in order to communicate with the computer over USB. The USB bitbanging is a huge endeavor to undertake on top of writing a bootloader.
What are some alternatives?
Awesome-Embedded - A curated list of awesome embedded programming.
HoodLoader2 - 16u2 Bootloader to reprogram 16u2 + 328/2560 with Arduino IDE
ZigStarGW-MT - GUI wrapper designed for convenient service work with TI CC1352/CC2538/CC2652 based Zigbee sticks or gateways. Packed into single executable file
libusb - A cross-platform library to access USB devices
rEFInd-minimal - A stunningly clean theme for the rEFInd UEFI boot manager.
ATTinyCore - Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
toaruos - A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
lk2nd - Secondary little kernel (lk) bootloader for Qualcomm MSM8953 devices
hekate - hekate - A GUI based Nintendo Switch Bootloader
picostdlib - Nim wrapper for the raspberry pi stdlib
OC-little - ACPI Hotpatch Samples for the OpenCore Bootloader
svd2nim - Convert CMSIS ARM SVD files to nim register memory mappings