T2080 RCW NOR Flash

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

T2080 RCW NOR Flash

6,030件の閲覧回数
VismaySharma
Contributor III

Hi

I am current using T2080RDB board and want to load a custom RCW from NOR flash. My Nor flash has been configured at address 0xF8000000 and the RCW is flashed at that address. Issue is the board doesnt read the flashed rcw and still takes the hardware RCW.

The dip switches have been set for NOR Flash and our code also loads perfectly from flash. The only issue we face is that the RCW loaded to NOR flash isnt used by the board and goes back to the hardcoded RCW.

Please let me know what is the issue and also what is the default RCW load address if wrong for the current configuration.

Thanks

Vismay

ラベル(1)
0 件の賞賛
返信
11 返答(返信)

6,015件の閲覧回数
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @VismaySharma 

Could you please provide us with more details about the flashing process?

What tools did you use?

Did you use Codewarrior / Flash programmer?

We will be aware for your kind reply.

Have a great day.

BR,

Hector 

 

5,990件の閲覧回数
VismaySharma
Contributor III

Hi Hector

I am using lauterbach Trace32 for debugging and code load along with configuration and flash programming. Flashing of code to the flash happens as expected only issue we face is with rcw loading from flash to the rcw registers as mentioned above.

Thanks

Vismay

5,946件の閲覧回数
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @VismaySharma 

In addition to my last reply,

Could you please provide us with your values on the following switches?

-SW1[1:8]

-SW2[1]

-SW3[4]

-SW3[5:7]

We will be aware for your kind reply.

Have a great day.

-Hector

 

5,926件の閲覧回数
VismaySharma
Contributor III

Hi Hector 

Please find below the switch positions being used below: -

-SW1[1:8] = 0x00010011

-SW2[1] = 1

-SW3[4] = 0

-SW3[5:7] = 000

Thanks

Vismay

 

0 件の賞賛
返信

5,967件の閲覧回数
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @VismaySharma 

Thank you so much for all the information provided.

In order to avoid any kind of confusion, here are some questions that we would like to ask you:

Are trying to modify the .pbl file and upload it to the flash?

Are you trying to overwrite the values of the RCW and upload it to the flash?

We will be aware for your kind reply.

BR,

Hector

5,928件の閲覧回数
VismaySharma
Contributor III

Hi Hector

So I am generating a new RCW binary from QCVS and loading the same to NOR flash memory to be used as the RCW instead of the hardcoded RCW on the board. In OCVS RCW fields have been configured to be loaded to NOR flash as well. Hope that answers your question.

Thanks

Vismay

5,903件の閲覧回数
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @VismaySharma 

Thank you so much for all the information provided.

We would like to ask you a few questions:

  • Could you please provide us with your SDK version?
  • Are you using the SDK v2.0-1703?
  • Could you please provide us with your output console log on a .txt file?

Based on the QorIQ SDK V2.0-1703 Documentation, Rev. 0, Mar 2017.

Table 102. NOR Flash Memory Map (continued)

Directions From the RCW (current bank)

Range started --------- range End

0xe8000000 --------- 0xe801ffff

Directions From the RCW (alternate bank)

0xec000000 --------- 0xec01ffff

In addition to that, there is a note that indicates the following from the section “4.4.18.7 Flash Bank Usage”:

“The NOR flash on the board can be seen as two flash banks. The board DIP switch configuration (for T2080RDB, SW3[5:7]) preselects bank 0 as the hardware default bank. To protect the default U-Boot in bank 0, it is a convention employed by NXP to deploy work images into the alternate bank, and then switch to the alternate bank for testing. Switching to the alternate bank can be done in software (or via the dip switch) and effectively swaps bank 0 with the alternate bank, thereby putting the alternate bank in the bank 0 address range until further configuration or until a reset occurs. This protects banks 0 and keeps the board bootable under all circumstances.”

  • Did you perform such practice?

We will be aware for your kind reply.

Best Regards.

-Hector 

5,864件の閲覧回数
VismaySharma
Contributor III

Hi Hector

Thanks for the response. I have already tried with alt bank and the memory map you have mentioned below earlier and had programmed Flash RCW at 0xe8000000. I am able to flash my code in the flash region so i dont think alt bank should be an issue. Also is altccsr required even if i am not using alt bank?

Thanks

Vismay

5,756件の閲覧回数
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @VismaySharma 

Regarding your last reply,

Could you please provide us with your log on .txt file?

BR,

Hector Villarruel

5,718件の閲覧回数
VismaySharma
Contributor III

Hi Hector

Can you please provide the steps to export the log file for the same?

Thanks

Vismay

5,706件の閲覧回数
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @VismaySharma 

Kindly select all the log from the console, copy and paste it into a text editor and save it as a .txt

Once you do so, kindly provide us with this information by attaching it to the post.

BR,

Hector 

0 件の賞賛
返信