mpc8313e reset configuration

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

mpc8313e reset configuration

918 Views
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.

0 Kudos
3 Replies

692 Views
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 Kudos

692 Views
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 Kudos

692 Views
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 Kudos