Flash Programming
Flash Programming
F28x DSP
F28x DSP
FLASH
FLASH
CPU
CPU
RAM
RAM
Flash Programming Basics
Flash Programming Basics
The DSP CPU itself performs the flash programming
The DSP CPU itself performs the flash programming
The CPU executes Flash utility code from RAM that reads the
The CPU executes Flash utility code from RAM that reads the
Flash data and writes it into the Flash
Flash data and writes it into the Flash
We need to get the
We need to get the
Flash utility code
Flash utility code
and the
and the
Flash data
Flash data
into RAM
into RAM
JTAG
JTAG
Emulator
Emulator
SPI
SPI
GPIO
GPIO
SCI
SCI
RS232
RS232
ROM
ROM
B
o
o
tlo
ad
er
B
o
o
tlo
ad
er
Flash
Flash
utility
utility
code
code
Flash
Flash
Data
Data
Flash Programming Basics
Flash Programming Basics
Sequence of steps for Flash programming:
Sequence of steps for Flash programming:
Minimum
Minimum
Erase
Erase
size is a sector
size is a sector
Minimum
Minimum
Program
Program
size is a bit!
size is a bit!
Important not to lose power during erase step:
Important not to lose power during erase step:
If CSM passwords happen to be all zeros, the
If CSM passwords happen to be all zeros, the
CSM will be permanently locked!
CSM will be permanently locked!
Chance of this happening is quite small! (Erase
Chance of this happening is quite small! (Erase
step is performed sector by sector)
step is performed sector by sector)
1. Erase
1. Erase
-
-
Set all bits to zero, then to one
Set all bits to zero, then to one
2.
2.
Program
Program
-
-
Program selected bits with zero
Program selected bits with zero
3.
3.
Verify
Verify
-
-
Verify flash contents
Verify flash contents
Algorithm
Algorithm
Function
Function
C28x - System Design
10 - 13
Содержание 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 ...