Debugging Embedded Systems With GDB?

preview_player
Показать описание
---

Debugging Embedded Systems With GDB? // Yep. This video will show you one example of how to use real debugging tools (like gdb) with code running on a microcontroller (in this case a TI MSP430).

***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.

About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:

To Support the Channel:
+ like, subscribe, spread the word

Рекомендации по теме
Комментарии
Автор

Sir plz make a roadmap video on embedded systems for beginners

shubhampatra
Автор

The best C content in youtube video. I love C and your youtube video is amazing.

umpoucosobreconhecimentos
Автор

C vs Rust ! what are differences? What makes rust most loved? Is it really worth or just a hype?

harikrishnanb
Автор

I am SUPER excited for when you release a tutorial on removing the jumpers and using the debugging side for external MSP430s! I love your embedded systems videos! SO GOOD!

thōmās-xn
Автор

Again, Great video as always. Thank you so much for making videos on embedded systems. Really looking forward to your upcoming videos.

vatsalnaik
Автор

Is this happening over JTAG or is it a custom MSP debug interface? Great channel by the way!

LowLevelTV
Автор

why were u not in the top of my search list.. i got ur video after so many searches

something_different
Автор

I’m 3 year embedded systems student. Last year I had to implement ir communication for a school project on the pic16f887 as part of audio amplifier. I had to decode the ir information and based on the send code had to select the right “audio channel” represent by the leds 0 to 3 for the 4 audio channels. But couldn’t find why the led didn’t turn on, after weeks and weeks I found out that a stupid stetting that should only affected the input mode of a pin also effect had on the output mode. After fixing that it work as it should have, O boy what do I love debugging embedded systems.

thomaskikkert
Автор

I love your videos about embedded systems. I would also enjoy a video about linker scripts. I found them very difficult to understand and I couldn't find any good material about them. I would love to see them applied especially in the embedded systems field

shahqudohcohri
Автор

Can you make video about kernel development?

tiagosilva
Автор

Totally doable, I have done it with OpenOCD. We even set up a few of these hanging off a raspberry pi clone and used a JTAG proxy...

kayakMike
Автор

I've been doing embedded since the 70s, and been through the in circuit emulator era of the 80s and 90s, and now the JTAG and ICD era of the past 20 odd years. I wouldn't be without debuggers, printf, GPIO twiddling, high speed SPI, or high speed UART as strings to my debugging bow, but it's horse for courses. Some devices I code for don't even have enough space for printf.

Probably the biggest resistance to debugging embedded systems is the amount of hassle it is to get it working on many embedded platforms nowadays.

IME, the most reliable environments were the proprietary vendor IDEs of the 2000s and early 2010s. Java-based IDEs dependent on JNI to talk to the debugger hardware are always flaky AF. Nowadays we have to spend endless hours of valuable dev time farting about configuring the required software components. Debugging the debugger is a very real thing.

Back around 2000 it was far easier!

nezbrun
Автор

Hey great video! Do you have any videos on how to use Git?

khadir
Автор

you know that you can integrate gdb debugging with vs code so that it's actually convenient (i.e. start debugging with f5, step with f10 etc. like desktop application)?

myusernameislongerth
Автор

How to adjust cli gdb debug for cc26x2 MCU?

aabdev
Автор

The Debug Configurations window shows 'Start GDB Session'.. yet uses variables that I can't find anywhere!


The "actual executable" entry cannot be changed and is set to: arm-none-eabi-gcc

Would love to see how all this works.. openocd vs gdb vs fpserver
For example, one executes openocd, yet under the hood there is gdb somewhere. An 'fpserver' is also started, which seems to be related to the jtag hardware adapter I'm using ("Flash Pro").

bennguyen
Автор

I just realized I’m not subscribed!!! How! You’re videos are really useful

emeraldmasta
Автор

I have learned a lot from this video, thank you.

cernejr
Автор

3:00
Good day Jacob,

Thanks a lot for your tutorials.

How to build Texas Instruments MCU CC26x2 from makefile instead of code composer studio? Is there amy manual for that?

Regards,
АБ

aabdev
Автор

I love your videos and also embedded systems! Great job 🙏❤️

jmean
join shbcf.ru