This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Starterware/TMS320F28377D: Controller Flashing

Part Number: TMS320F28377D


Tool/software: Starterware

Hi ,

 I am new to microcontroller flashing and memory management.

most of the controllers having 256KB or 512KB ROM(Flash),  2KB and 4 KB of RAM. 

how controller works internally after flashing and running code (RAM and ROM point of view)?

generate the executable file after building the source code  and flashing it to the Flash  memory (assume the code size is 35kb).

while running the code , start up code copies the application code from ROM to RAM and start executing (I saw in sites) .

my code size is 35kb and RAM is 2kb , how it fit in to the RAM and it works?

if it execute it from the flash then how it works?

there are four segments in c memory layout (stack ,heap, data and code segment in RAM).

what is the use of code segment in RAM( code goes to store in code segment , which code it stores?) 

could you please elaborate it more from flashing and running the code to controller(memory point of view how internally it works).

Regards,

Ambarish