Lab 10: Programming the Flash
33. Single-Step through the bootloader code until you arrive at the beginning of the codestart
section in the CodeStartBranch.asm file. (Be patient, it will take about 55 single-
steps). Notice that we have placed some code in CodeStartBranch.asm to give an
option to first disable the watchdog, if selected.
34. Step a few more times until you reach the start of the C-compiler initialization routine at
the symbol _c_int00.
35. Now do Debug Go Main. The code should stop at the beginning of your main()
routine. If you got to that point succesfully, it confirms that the flash has been
programmed properly, and that the bootloader is properly configured for jump to flash
mode, and that the codestart section has been linked to the proper address.
36. You can now RUN the DSP, and you should observe the LED on the board blinking. Try
resetting the DSP and hitting RUN (without doing all the stepping and the Go Main
procedure). The LED should be blinking again.
Running the Code – Stand-alone Operation (No Emulator)
37. Close Code Composer Studio.
38. Disconnect the emulator from the eZdsp™ board.
39. Remove the power from the board.
40. Re-connect the power to the board.
41. The LED should be blinking, showing that the code is now running from flash memory.
End of Exercise
C28x - System Design 10 - 25