| Electronic Components Datasheet Search |
|
AS8267 Datasheet(PDF) 111 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS8267 Datasheet(HTML) 111 Page - ams AG |
|
111 / 136 page ![]() Data Sheet AS8267 / AS8268 Revision 1.0, 19-Jun-07 Page 111 of 136 Program Debugging Program debugging can be done using a so-called monitor program, which may communicate with a PC using the UART2 interface or the UART1 interface in direct access mode. In the AS8267 / AS8268 the SPI interface (SPI2 and MCU) can also be used to access the whole XDATA address space. Note: Direct access mode (‘dam’ register bit) turns off the command interpreter. If the MCU program performs this operation, it must be able to clear the dam bit after the operation, or the SPI2 access must have the ability to do this. If both possibilities are blocked there is no way out and the device is permanently locked. To prevent this situation UART2 is recommended to be used as debug interface. Read from XDATA Address This command is used for Flash and external EEPROM read access. Mainly for evaluation purposes it is possible to read all 64k of the XDATA address space. This includes all registers, the X_RAM memory and the Flash memory. A dedicated command is reserved for this. The following diagram shows the main blocks involved here: UART1 SCT RXD TXD SCT DSP RTC MPIO SPI X_RAM WDT External EEPROM LCDD FLASH WRITE READ MASS_ERASE, PAGE_ERASE Transmission Protocol: In order to make the data transfer easier for the system control a defined protocol is used for talking to the UART1, where also the length of the data to be read from the XDATA address space is specified at the beginning of the transmission. It looks like this: Data 7 0 1 2 3 4 5 6 ... Read Command (8 bits) 7 0 1 2 3 4 5 6 15 8 9 10 11 12 13 14 7 0 1 2 3 4 5 6 Start Address (16 bits) 15 8 9 10 11 12 13 14 7 0 1 2 3 4 5 6 Block Length (16 bits) (TXD) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |