Putty, a terminal program able to act as a telnet client (so we can see UART output).Qemu, an open source emulator for a lot of systems.A pre-built toolchain for aarch64. I'm using gnu-arm-elf from Linaro.It doesn't quite fully emulate the PI, but it's close enough for our purposes.įirst off, we're going to need a few things installed: It's a popular open source emulator that can mimic just about everything. We're going the software emulation route. We could probably set ourselves up with a J-TAG interface, but that can be a complicated wiring task and I didn't see much in the way of solid instructions on how to hook up a hardware debugger to a pi. It's also hard on the Raspberry Pi, since we would need to copy the binary to the SD card each time we make a change. Why? Because debugging bare metal code is hard without a debugger. ![]() I got gdb (the gnu debugger) working with qemu on Windows 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |