PSoC™ 5, 3 & 1 Forum Discussions
Has anyone developed an SPI bootloader? I need to do it if one isn't already available. I am also hoping someone has done a USB to SPI bootloader translation/pass-through program so I can debug the bootloader. I envision using a second demo board to just pass the bootload commands through it onto the SPIM to be received by the first demo board that is trying to bootload through the SPI.
I then wouldn't have to also write a windows based SPI bootloader-host.
The other alternative is to write a windows based UART bootloader-host and a UART to SPI pass through program on a second demo board. I don't like writing windows based programs so I'm hoping the first option is available.
Show Lesshi developers,
I am currently involved with designing a PSoC1 based application board. i need to include in system serial programming into the circuit . when i read the ISSP related application notes given here ( http://www.khalus.com.ua/psoc/pdf/modules/ISSP.book.pdf ) and here CY3207-ISSP Kit - User Guide what i understood is, it is best to implement the reset programming method for in-system /in-circuit programming. and the power to the PSoC IC during in-circuit programming is the same as the Vcc powering the application circuit. can anyone tell me whether what i understood is right?
i have one more query suppose a previously downloaded application program is running in the PSoC IC (in-circuit) how will this condition interfere with the programming action initiated by the programmer(since the circuit is powered on and power is common for programmer and the application circuit)?
Show Lesshow can i measure voltage of light with the help of photodiode.?
I have a project with 9 inputs (pots) to the adc via hardware mux and 9 capsense inputs. This is just the analog portion of the project. Is there any reason not to interleave the pin selection on these? I have a routing that works that does this. I have placed all of these on the left side gpio section. This is convenient for external connections. I want to check to see if it matters whether or not I place all of this on one side or if it's better to do the adc and mux on the left and all capsense on the right.
Show LessThe USB module data sheet mentions that an SIO pin can be used as a VBUS monitor by connecting it directly to VBUS. Are there any other considerations when connecting an SIO to this 5V source when everything else on the psoc3 is running at 3.3V? I was thinking of just adding transient protection to the line the same as I do with D+ and D-.
Show Lessnstead of acs714 i am using wcs2750.i have attached data sheet of it.how to interface this with psoc??i have written the code already but problem with interfacing.is there any current sensor other than this??
Show LessI'm using the PSoC Creator with PSoC3. I am having a problem using the Timer function.
I know this may not be the proper forum and that I will be sternly admonished,.
1. I tried using the timer to create a simple 1millisecond interrupt but could only get one frequency of interrupt output, regardless of the clock input. I lost many hours trying to figure out what might be wrong with the clock, but then I ran the clock straight into the ISR function and it worked as expected. I also tried the the Timer in UDB mode and it worked. Therefore I concluded that there must be a problem with the timer FF mode (which the datasheet recommends for simple applications like this to save resources).
2. I opened a case and someone keeps sending me zip files. I don't understand how I'm supposed to implement the bundled zip files. I unzip them and try to open the project and I get an error message saying that the path is invalid and the project needs to be in a directory of the same name. I create a directory with the name of the project, doesn't work. Same problem. Getting nowhere fast with a deadline coming on. I have attached the file I got from Cypress. You try it.
Nick
Environment:
PSoC Creator 2.0 Component Pack 2 (2.0.0.828)
Culture: English (United States)
OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
CLR Version: 2.0.50727.5466
CY8CKIT-002 MiniProg3 1.0 Rev**
PSoC Programmer 3.14
PSoC 3 Development Kit 1.0 Rev*A
PSoC Creator 2.0 Component Pack 2
Loaded Plugins:
Name: Addin Discovery
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Discovers PSoC Creator addins (kits, language packs, etc)
Name: Device Catalog
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Device Catalog Plugin
Name: Documentation
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Adds the topics available in the documentation.
Name: Start Page
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Adds a start page to the framework.
Name: Output Window Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Adds the output window
Name: SCC Manager
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The Source Code Control Manager is the central class used for SCC actions within PSoC Creator.
Name: Symbol, Schematic and SchMacro Factory
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The Symbol and Schematic Factory is used to load, cache, and retrieve symbols and schematics.
Name: Project Manager Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Adds project management related functionality.
Name: File Editor Factory Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Add file editors to the framework.
Name: GDE Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Loads the Symbol and Schematic editors
Name: Language Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Supports user files in multiple languages
Name: Workspace Factory
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The Workspace Factory is used to retrieve instances of PSoC Creator workspaces.
Name: Project Factory
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The Project Factory is used to retrieve instances of PSoC Creator projects.
Name: 8-bit PSoC Executable Project Template
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: This plugin provides PSoC Creator with the ability to create PSoC Executable projects.
Name: 32-bit PSoC Executable Project Template
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: This plugin provides PSoC Creator with the ability to create PSoC Executable projects.
Name: 32-bit PSoC4 Executable Project Template Loading Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: This plugin provides PSoC Creator with the ability to create PSoC Executable projects.
Name: PSoC Library Project Template
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: This plugin provides PSoC Creator with the ability to create PSoC Library projects.
Name: Empty Workspace Template
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: This plugin provides PSoC Creator with the ability to create empty workspaces.
Name: Platform Manager
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: PSoC Creator Platform Manager
Name: ARM GCC Generic
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: ARM GNU Generic
Name: ARM RVDS Generic
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: RealView ARM RVCT31 Generic
Name: ARM MDK Generic
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: RealView MDK RVCT40 Generic
Name: DP8051 Keil Generic
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: DP8051 Keil Generic
Name: Device Selector
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Adds a dialog that allows the user to select a device.
Name: Transport Framework
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Provides a generic device communication framework for use by other plugins.
Name: Debugger Core
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The Core Debugger provides an architecture independent framework for the common debug features.
Name: PSoC3 Debugger
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Provides debugging support for the PSoC3 family through a GDB backend.
Name: PSoC4 Debugger
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Provides debugging support for the PSoC4 family of devices through a GDB backend.
Name: PSoC5 Debugger
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Provides debugging support for the PSoC5 family through a GDB backend.
Name: Device IO Transport
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Provides device IO support for Cypress devices though PSoC Programmer APIs.
Name: Bootloader Host
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Provides a host tool to perform bootloading operations.
Name: Background Elaborator
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: PSoC Creator Background Elaborator.
Name: TypeCache Factory
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The TypeCache Factory is used to retrieve instances of TypeCaches.
Name: DWR Plugin
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Registers resource editors with devices.
Name: DMA Wizard
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: Enables quick and correct development of applications that use DMA.
Name: Notice Window
Version: 2.0.0.828
Company: Cypress Semiconductor
Description: The Notice Window displays notices (status messages / errors with managed lifetimes).
Installed CyInstaller Products:
Show LessMy project needs an I2C EEPROM. Rather than use an actual EEPROM chip, I thought I'd just use the PSoC's EZI2C component.
I wired it up as you'd expect, using the special I2C0:SCL and I2C0:SDA pins. Data rate 300kbps, 1 address, Primary slave address 0x50, Sub address size 8, Pin connections Any. The PSoC's Master clock was set to 40MHz. The project is empty except for the EZI2C component and its pins. The main() function does nothing (just an empty loop) after setting up the EZI2C component.
When the external device tries to read the "EEPROM", I can see on my logic analyser that it's not working properly. It still doesn't work with a 50MHz master clock. However, if I set the master clock to 60MHz, it starts to work. Please see the attached images showing the waveforms.
Show LessI am working on a project with a CY8C24123 in assembly using PSoC Designer 5.3.
The code size is going to the limits of the memory of the CY8C24123, so I am quite concerned with memory use.
Today I found that the linker is wasting quite a lot of my precious memory. It leaves a gap between the code coming from boot.asm and the initialisation code for the blocks. There is nothing between the boot.asm code and $0150, wasting about 200 bytes.
I found that this memory gap is caused by a system variable called "RELSTART" that can be found in the "opts.txt" and make files. Though I have not found how I can do anything about this. Every time I change the value it gets overwritten on the next assembly run.
BTW: It would be nice if selecting "Assembly" as the programming method all C support code gets automatically thrown out of the system generated source code.
Show LessHi,
The EZI2C component has an option for choosing a data rate. Since this is a slave device, it doesn't generate a clock output. So what difference does it make to choose different data rates? What is the advantage of choosing a low data rate? Why not just always choose the maximum?
Hugo
Show Less