I have a question about how breakpoints work through the emulator. I heard that when a breakpoint is set in the IDE, the memory location of the instruction in DSP memory space gets overwritten with some type of "trap" instruction. If I perform the following procedure, should the debugger stop on my break point?
- Program flash memory with a boot stream (init code + main application)
- Configure the BF537 BMODE pins such that the DSP will load a bootable program from flash (BMODE==001)
- Connect to the DSP via a live session in the IDE
- Load the init code (.dxe) through the emulator
- Set a breakpoint at 0xFFA0 0000 (start of init code)
- Set the program counter to the beginning of boot ROM (PC=0xEF00 0000)
Should my breakpoint get triggered, or could the boot loader overwrite my breakpoint?