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
Содержание C28 Series
Страница 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Страница 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Страница 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Страница 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Страница 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Страница 275: ...Appendix eZdsp F2812 eZdsp F2812 Connector Header and Pin Diagram C28x Appendix A eZdsp F2812 A 3 ...
Страница 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Страница 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Страница 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Страница 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Страница 281: ...Appendix JP7 JP8 JP11 JP12 Boot Mode Select JP9 PLL Disable DS1 DS2 LEDs C28x Appendix A eZdsp F2812 A 9 ...
Страница 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...