You are here:
Hades Wiki
>
DaqSlowControl Web
>
DaqUpgrade
>
DaqUpgradeMDCOverview
>
MDCUpgradeOld
>
FlashProgramming
(27 Oct 2009,
JanMichel
)
(raw view)
E
dit
A
ttach
-- Main.AttilioTarantola - 26 Apr 2009 The OEPB flash programming over ETRAX. 1)ETRAX takes OEPB configuration file. 2)ETRAX does block write with increasing addresses and writes 32 bits dataword in the following addresses: address nr: 0-63 data (64 addresses x 32bits = 2048 bits =1 flash page) address nr: 64: flash page number address nr: 65: flash programming status address nr: 64: flash control register 3)ETRAX sends 1 page->MDC addon->OEPB 4)OEPB loads page by page in a RAM and then to FLASH 5)OEPB writes control register. The process is repeated for all pages. *Main Commands for Macronix (MX25L1605D) for OEPB* |*Command Name*|Command|*Send Data at Command*|*Receive data at Command*|*Comments*| |WREN| x"06" | - | - |enable write| |WRDI| x"04" | - | - |reset write enable| |RDSR| x"05" | - | 2 byte |readout status register| |CP | x"AD" |3 byte(ADD) + 2 byte(DUMMY DATA) + XX DATA |-|send all data at once. Add. auto increase| |CE | x"60" | -| - |erase whole chip| |PP | x"PP" |3 byte(ADD) + 1 byte (DATA)|-|program selected page| |REMS| x"90" |2 DUMMY byte|2 byte|output manufacturer ID and device ID| | | |||| *Possible command sequence for OEPB* |*Sequence Number*|Command|*Comment*| |0 | RDSR | if Block Protect = 0 then CE can be executed | |1 | CE |erase whole chip| |2 | RDSR | be sure CE has been executed| |3 | WREN |enable write| |4 | CP |continuously write data| |5 | WRDI | reset write enable| |6 | RDSR | be sure CP mode is ended | | | ||
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r4 - 27 Oct 2009,
JanMichel
DaqSlowControl
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
DaqSlowControl
HODO
Homepages
InterWikis
Main
PionBeam
Sandbox
System
Български
_jméno_jazyka
Dansk
Deutsch
English
Español
Suomi
Français
Italiano
日本語
한글
Nederlands
Norsk
Polski
Português
Português brasileiro
Русский
Svenska
简体中文
正體中文
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki?
Send feedback
Imprint (in German)
Privacy Policy (in German)