Maarten Brock schreef op 2020-05-29 19:39:
Maarten Brock schreef op 2020-05-23 10:53:
Maarten Brock schreef op 2020-05-22 15:49:
Hello Philipp,
Philipp Klaus Krause schreef op 2020-05-21 16:23:
How can I write a program onto an EFM8 * Bee Starter Kit Board?
For my C8051 boards, I use an U-EC6 with ec2-new, which mostly works
fine.
But for an EFM8 Sleepy Bee Starter Kit board I tried, I got "MATCH
FAILED, no suitable devices" when trying ec2test-any --port USB.
Philipp
The EFM8 Sleepy Bee Starter Kit itself contains a (Segger) J-link
that
can program both the integrated MCU as well as an external MCU.
To use it you can install SiLabs Simplicity Studio.
I don't think there is an Open Source solution. Though J-link is
supported by OpenOCD, the C2 interface is not a supported Transport
layer in OpenOCD.
All EFM8 * Bee chips come with a bootloader preinstalled. The
bootloader
sources are open and so are the Python scripts to generate bootloader
record files and send them over. See AN945 from SiLabs:
https://www.silabs.com/documents/public/application-notes/an945-efm8-factory-bootloader-user-guide.pdf
So as long as you do not destroy the bootloader, this is a valid option
for programming as well. I have never used the bootloader though.
Maarten
It seems that hex2boot.py is missing from AN945.zip and hex2boot.exe
is a Windows application (wine?).
But the documentation also describes the protocol and Gabriele Gorla
already implemented it in C with a GPL for the EFM8UB1 over USB.
"EFM8 Flash - Multi platform GUI Flash tool for Silicon labs EFM8UB1 USB
MCUs"
https://gglabs.us/node/2085
It only supports loading binary files which I dislike. Personally I
would prefer to load a hex file because it contains address information.
Maarten
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user