what is difference about internal sram and internal flash in CW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what is difference about internal sram and internal flash in CW

3,236 Views
flash
Contributor I
Using cw ,it can generate two modes which contain "internal sram " and  "internal flash".
 
what is difference when using them to debug the code via the BDM.
Labels (1)
0 Kudos
2 Replies

604 Views
CrasyCat
Specialist III

Hello

Which processor are you targeting (Coldfire, EPPC82xx, ...)?

Basically internal RAM target loads code into RAM , whereas Internal Flash target loads code into the chip internal flash.

Depending on the processor you are targeting, You may be able to set 1 ot 2 breakpoints even when the application is loaded into Flash.

Basically you can debug in flash, but there are some limitation due to the hardware.

CrasyCat

0 Kudos

604 Views
J2MEJediMaster
Specialist I
When the program is placed in internal SRAM, you can use the debugger to set breakpoints in the code.
0 Kudos