[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself


View post   

File: 11 KB, 320x186, segger-jlink.jpg [View same] [iqdb] [saucenao] [google]
1765882 No.1765882 [Reply] [Original]

I need help from you guys. Up to now, I've programmed Arduino (yes I know it's idiotic simple) and ESP8266 using Arduino IDE and libraries.

I want to level up my game by programming Silicon Labs' BGM123A256 BLE module. It's Cortex-M4 based chip, it has very low consumption, it's not expensive (I suppose) and it has RFSENSE feature, so it can wakeup by radio signal nearby, so it's great for low consumption device which gives me its data only when I request it by Android phone over Bluetooth. I'm open to alternatives, this is just one I found after few days of research, it's best suited for my needs.

Here's the main question: How in the name of Christ do I program it?
What IDE do I need, what toolchain? I've bought JTAG debugger thing but can't figure it out. SiLabs want me to buy their kit for programming which is 100$ and I'm not paying so much for one damn chip.

>> No.1765958

Well first thing, do you have the right SWD cable for it? Looks like you've got a debugger thing with the small 10-pin version, your target device should have either that or a 20-pin 0.1" SWD/JTAG plug.
Then you need a utility to download to it, for ST-Link debuggers it would be st-flash, but you've got a J-link. That's as far as I've been the past few years, using the mbed.org online IDE with st-flash to download binaries to a supported board.
I just checked, and it doesn't look like silabs supports mbed except for some EFM32 boards. That's actually kind of why I went with a Blue Pill board, cheap ($2 in quantity) and supported by mbed.
Whatever answers you get will actually help me too.
>charging for a basic dev kit
I mean, when I was paid to do this shit we were using IAR, and I remember that ARM bought out Keil (that's the compiler that mbed.org uses), but these days a chip vendor should have some sort of freebie IDE.

>> No.1766126

Simplicity studio.