поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AS8267 датащи(PDF) 89 Page - ams AG

номер детали AS8267
подробное описание детали  Single-Phase 2-Current Energy Measurement Integrated Circuits with Microcontroller, RTC, Programmable Multi-Purpose I/Os
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  AMSCO [ams AG]
домашняя страница  http://www.ams.com
Logo AMSCO - ams AG

AS8267 датащи(HTML) 89 Page - ams AG

Back Button AS8267 Datasheet HTML 85Page - ams AG AS8267 Datasheet HTML 86Page - ams AG AS8267 Datasheet HTML 87Page - ams AG AS8267 Datasheet HTML 88Page - ams AG AS8267 Datasheet HTML 89Page - ams AG AS8267 Datasheet HTML 90Page - ams AG AS8267 Datasheet HTML 91Page - ams AG AS8267 Datasheet HTML 92Page - ams AG AS8267 Datasheet HTML 93Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 136 page
background image
Data Sheet AS8267 / AS8268
Revision 1.0, 19-Jun-07
Page 89 of 136
SET_PASSWORD
CMD
7
0
1
2
3
4
5
6
D0
8 bytes
ACK / NACK
7
0
1
2
3
4
5
6
D1
D7
RXD
TXD
In this mode the ATK_EN bit (bit5) is enabled in the Flash status register (9700h), and the attack register logs
any unauthorized access to the device and stores it in the Flash memory. Also in this mode once a password is
entered it is encrypted and stored in the Flash memory. At the same time the Flash memory ‘LOCK’ bit (bit6) is
set in Flash status register. When ‘LOCK’ bit is set the top page of the Flash memory (storage of program
length, password, non-volatile status flags) is blocked for page erase and write access even when access is
granted. This also guarantees that the protection remains even the device is powered down and powered up
again.
Based on the blocked write access of the top page of the Flash memory it is not possible to change an existing
password. A new password can only be assigned after a MASS ERASE.
Once the correct password is entered the listed commands are enabled again.
In case an incorrect password is entered the Attack Counter is increased. After five attacks the UART1 will be
disabled by switching off the internal clock for the UART1.
In this state the device is locked forever.
If the device memory is blank (e.g. after FAB-out) the access to the Flash memory is open and no password is
required.
To give the user the possibility of reusing a blocked device he has to implement special functionality in his
software.
The following example describes a possible implementation.
Monitoring of one of the non blocked interfaces (SPI2 or UART2) within the customer specific MCU
software
If a specific (defined by the developer) sequence is applied the MCU can perform a page erase of the
up most page (holds also program length) in the Flash memory.
After a reset the device will now start with its default parameters and will not perform an automatic
program load via the boot loader.
In this operating mode it is than possible to write the program length again into the Flash memory. Also
a new password can be entered.
After a reset the meter will work again and also stored metering data can be accessed.
MCU Access to the FLASH Memory
The listed commands are available for the MCU access.
READ
WRITE Byte
PAGE ERASE
Initiation of a PAGE ERASE by the MCU the CPU_PE bit in the FLASH Status Register (9700h) has to be set.
After this a WRITE command with the selected address has to be performed.
After completion of the page erase procedure the CPU_PE bit has to be cleared by the MCU.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com