Hi lunminliang,
A feedback from my experience (after a wrong RCW flashing on T1040RDB yesterday) to complete your answer, where, after having read the third point, I was still missing where were the "specific encodings".
lunminliang:
For your question "From where it will fetch all the field values?"
In this case the RCW fetching process is bypassed and the device is automatically configurd according to the specific encodings which are pre-assigend for given hard coded option.
The "specific encodings" are done with the cfg_rcw_srcX hardware switches on the board. Depending on them, it is possible to choose if the board reads RCW values from the NOR flash (normal mode) or uses pre-defined values (hard-coded mode).
Reading the T1040 reference manual, I finally understood:
- the hard-coded mode uses its own SYSCLK and DDRCLK at least to allow a minimal boot (no more staying in ASLEEP state) in order to flashing the NOR (when done, turn the board off, set the normal mode and continue as usual with the now safe environment).
- two sets of SYSCLK / DDRCLK values are available, on the T1040 there are in fact several values for hard-coded mode (with one bit for each clock)