Cypress Semiconductor Corporation • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600Document Number: 001-13258 Rev. *J Revised September 2
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 10 of 39Parameters and Resources Default parameters are for informational purposes only. Default
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 11 of 39from 0x00-0x7F. Because this is the upper 7 bits of the address, the actual address appe
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 12 of 39Specifies the range of CPU clock speeds under which a CY8C27xxx silicon revision A devic
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 13 of 39at colder temperatures. Bootloading at significantly lower temperatures than the paramet
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 14 of 39Common ProblemsUpdating Bootloader Projects, Service Pack Upgrades, and CompilersAvoid c
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 15 of 39For development and debugging purposes, a flash security of 'U' (unprotected)
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 16 of 39from a watch dog timer reset condition, it is possible to monitor a status bit associate
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 17 of 39ENTER_BOOTLOADERDescription:Routine to completely setup the bootloader and prepare to do
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 18 of 39C Prototype:void BL_SetTemp (CHAR cTemp);Assembler:mov A, cTemplcall BL_SetTempExample C
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 19 of 39BootLdrI2C_DisableIntDescription:Disables the I2C slave by disabling the SDA interrupt.
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 2 of 39Figure 1. I2C Block DiagramQuick Start1. Review this user module datasheet. A successful
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 20 of 39BootLdrI2C_Poll() and BootLdrI2C_BootLdr_Poll()Description:Used when the Communication_
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 21 of 39BootLdrI2C_StopDescription:Disables the I2CHW by disabling the I2C interrupt.C Prototype
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 22 of 39BootLdrI2C_DisableSlaveDescription:Disables the I2C Slave function by clearing the Enabl
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 23 of 39BootLdrI2C_InitRamReadDescription:The BootLdrI2C_InitRamRead routine initializes a data
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 24 of 39Return Value: NoneSide Effects:The A and X registers may be modified by this or future i
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 25 of 39BootLdrI2C_ClrRdStatusDescription:Clears the status bits in the Control/Status register,
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 26 of 39Sample Firmware Source Code Configure the user module parameters as shown in Figure 5, f
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 27 of 39Here is an implementation of an BootLdrI2C User Module written in C: //----------------
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 28 of 39 asm("nop");} }Here is an implementation of the BootLdrI2C User Module wr
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 29 of 39Configuration Registers This section describes the PSoC Resource Registers used or modif
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 3 of 39Functional Description The bootloader is located in a section of Flash memory defined by
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 30 of 39Received or Transmitted data. To transmit data, this register must be loaded before a wr
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 31 of 394. Connect the CY3240 USBtoIIC bridge to the target system. Use the GUI to set the power
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 32 of 39Bootloader I2C Download (.dld file) FormatThis section briefly discusses the format of t
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 33 of 39Table 5. Slave Address Read ResponsesFor details, see the BootLoader operation flowchart
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 34 of 39The next three lines contain only the control byte, the I2C prefix, and 16 bytes of data
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 35 of 39Figure 10 shows the last download record:Figure 10. Last Download RecordThe last line is
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 36 of 39Code Area (see Bootloader Memory Organization for information). This ensures that the E2
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 37 of 39Figure 11. BootloaderI2C User Module Operation Flowchart
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 38 of 39Version HistoryVersion Originator Description1.2 DHA Added Version History2.00 DHA 1. Re
I2C BootloaderDocument Number: 001-13258 Rev. *J Revised September 28, 2012 Page 39 of 39Copyright © 2007-2012 Cypress Semiconductor Corporation. The
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 4 of 39Theory of OperationCreating a project with a bootloader requires several nonstandard modi
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 5 of 39 The first is blocks 0 and 1 of ROM. These blocks contain critical interrupt vectors and
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 6 of 39(which is created with the application). If the two checksums are equal, the bootloader u
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 7 of 39Generate Checksum – After your project builds correctly, you can use the bootloader tools
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 8 of 39allows the linker to place code automatically and can be helpful in determining applicati
I2C BootloaderDocument Number: 001-13258 Rev. *J Page 9 of 39To translate from Blocks to absolute addresses, multiply: Abs_addr = block_number X Block
Commentaires sur ces manuels