Conversation
|
You’re already very familiar with debugging applications on x86. An embedded system typically contains one or more microcontrollers (MCUs) or microprocessors (MPUs). These, along with their peripherals, make up an embedded system. Embedded systems have many applications: TVs, microwaves, refrigerators, air conditioners, digital watches, IoT devices, phones, cars, routers, set-top boxes, and more. Essentially, almost every electronic device has an embedded system inside it Unlike debugging on a PC, debugging embedded systems is more challenging. To debug an embedded system, three things are required: a hardware debugger, a driver for the hardware, and software to control it. The software manages the hardware debugger using its driver, and the hardware debugger uses JTAG, SWD, or other interfaces to communicate with MCUs and MPUs. OpenOCD is an open-source project that provides debugging and in-system programming for embedded target devices. It acts as a software layer that allows users to communicate with a hardware debugger to flash and debug embedded devices. |
|
These MCUs and MPUs might have many core architecture. But for simplicity, I will focus only on ARM architecture as ARM CPUs currently power approximately 90% of all embedded devices.
Read tests/stm32f1_blink/README.md to install neccessary packages and build stm32 image. Please inform me if you encounter any issue |
In my Amazon account, I see this as about $40 US dollars. |
Can you send a picture of yours, or a link to it. I see many versions. I'd like to get the right one that matches to yours. |
This take a little time for me to setup. I'll let you know how it goes. |
Will do. Thanks! |
This is the one that I'm using: Note the chip on the board will have label: STM32 F103C8T6, the postfix won't matter. Even the clone version will work just fine, so don't worry too much about it |
It doesn't look like mine |
As discussed previously, my final intention is to integrate OpenOCD into Seer.
I’ll explain what OpenOCD is and what you need to prepare in order to test it