mpc8313e reset configuration

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

mpc8313e reset configuration

2,095件の閲覧回数
jamakh
Contributor I

HI,

I want to change RCWHR register bits.As it is read only so How can I change its values?Actually I want to configure it in SGMII mode.

Thanks in advance.

タグ(3)
0 件の賞賛
返信
3 返答(返信)

1,869件の閲覧回数
marius_grigoras
NXP Employee
NXP Employee

Hi,

As far I know for 83xx targets, the RCW part is located in the NOR flash. So you must write the new RCW binary at the beginning of the NOR.

The RCW registers are read-only are used only to illustrate the RCW setup in the NOR flash.

Regards,

Marius

0 件の賞賛
返信

1,869件の閲覧回数
jamakh
Contributor I

Thanks Marius

Can you please guide me further.I am not finding the address of NOR flash.How can I write in NOR.

0 件の賞賛
返信

1,869件の閲覧回数
marius_grigoras
NXP Employee
NXP Employee

Hi,

Please take a look here [1] for finding the util commands for NOR flash use.

Basically, these are:

md - memory display

protect - using with <protect off> useful for making unprotect before any erase/write to the NOR flash

cp - copy the necessary bytes from source to destination (NOR flash in your case)

For finding the NOR flash start address please use bdinfo command  - need to take a look after flashstart parameter (not sure if is implemented in your u-boot) or reginfo command - need to take a look after BR0 value.

=> bdinfo

memstart    = 0x00000000

memsize     = 0x100000000

flashstart  = 0xE0000000

flashsize   = 0x08000000

flashoffset = 0x00000000

sramstart   = 0x00000000

sramsize    = 0x00000000

immr_base   = 0xFE000000

bootflags   = 0x00000000

intfreq     = 1499.985 MHz

busfreq     = 799.992 MHz

addressing  = 36-bit

ethaddr     = 00:04:9F:01:E3:FE

IP addr     = 192.168.100.26

baudrate    = 115200 bps

relocaddr   = 0x7FF30000

=> reginfo

BR0     0xE8001001      OR0     0xF8000F85

-> this means that the NOR flash is mapped starting from 0xE800_0000

Please note that at 83xx boards the RCW is located just at the beginning of the flash.

Regards,

Marius

[1] https://community.freescale.com/docs/DOC-94696

Deploying SDK 1.3.2

0 件の賞賛
返信