PSoC™ 4 Forum Discussions
Is there an example to reserve an area of PSoC 4 Flash during debug and re-programming?
This question is about user flash and debugging.
When debugging code, the IDE reprograms not only the code, but the entire flash, erasing any user information stored there.
#define CY_DATABASE_START_FLASH_ROW (CY_FLASH_NUMBER_ROWS - 2u)
Some concepts that are similar; but lacking examples include:
- How to Retain EEPROM Content during Flash Programming - KBA91233 @ https://community.cypress.com/docs/DOC-10883
- Troubleshooting PSoC® 3/4/5LP Programming/Debugging Issues - KBA210619 @ https://community.cypress.com/docs/DOC-10664
- Retain emEEPROM when reprogramming device @ https://community.cypress.com/message/138617#138617
- PSOC 4 Info @ https://community.cypress.com/message/129570#129570
- Is this possible with the CY8CKIT-049-4245AXI @ https://community.cypress.com/message/45812#45812
Thanks in advance for all comments.
Greg
Show LessHello,
We are facing strange trouble on the third revision of our boards.
Below are the observations:
1. Able to correctly flash CY8C4248LQI-BL583 every time.
2. I am setting baud rate for UART to 115200 in firmware and in reality, the baud rate is 96318(83% of expected).
3. Same is the case with I2C Master Clock is also 83% of expected.
4. I used CyDelay(100). And the actual delay is more than 100ms.
5. Earlier I suspected trouble with Crystal. I probed XTALO and XTALI. They seem fine with a sine wave of 24Mhz(Attached scope capture).
6. The device also reset after running for some time(3-4 seconds).
7. BLE is not at all functional.
8. Verified voltages on VDDA, VDDD and VDDR. They are stable.
The PCB revision doesn't seem to change much. The circuit is same just minor layout changes in component placement.
How to debug this issue?
Show LessHello,
There is the device initialization time from reset to te main() entry.
Please see the "PSoC 4 System Reference Guide cy_boot Component v5.80" on 84 page.
We don't have to care for this time right?
Best regards,
Yocchi
Show LessHello,
This is regarding the I2C project that I have posted a few weeks before. I am currently working on designing a prototype board with the PSoC 4 MCU to establish the I2C interface with the video decoder to write to the registers on power-up. So I thought of checking whether Cypress has the option of preprogramming the chips with my I2C code if I request for it while I purchase the chips from Cypress website online.
If it's not possible to buy the chips after programming it is there any programmer kit that has a header for the PSoC 4 BGA chip-WLCSP package (CY8C4014FNI-421AT) to plug onto the programmer kit for preprogramming the chip before sending out the chips to be soldered onto a target PCB.
It will be great if someone could advise me regarding this concern.
Thanks and Regards,
Nandhini Jayapandian
Show LessDear Cypress:
when i start to learn about the CYBLE-212020-01 module , how can i send one date form one module and received form another module;
can you provide the code example for us ? For the API command ,can you provide the describle file for total , tks;
Show LessTrying to communicate with a PSoC4200BLE of the type CY8C4248LQI-BL593.
Mounted it on a breakout board and trying to program it for the first time through a CY8CKIT/146 P|SoC 4200DS prototyping kit, by using PSoC Programmer and Creator
We have tried by HSSP but we had problems, are there other ways to communicate with the PSoc4BLE?
Any suggestions about how to proceed?
Any specific documentation, step by step guide or similar problem?
Show LessHi everyone,
I am using the CY8C41125AZI-M433, I have a problem with the firmware if I activate the RTC external WCO clock, the firmware does not start, the processor seems frozen.
If I enable the internal ILO clock the firmware works perfectly.
I can't understand why.
Help please on how to solve the problem
Thank you
Show LessI am getting feedback from several students that when they try to download CySmart from App Store or Playstore they get the message "the app isn’t available in my region." Is anyone else experiencing this and is there a solution?
Show LessHi,
I am trying to connect the device CyBLE022001-00 with a I2S Codec. The codec requires a master clock but I cannot connect the I2S clock but the PSoC Creator complaints about this connection, says it is an invalid connection, and build fails. How can I solve this problem?
Show Less
Hi,
I try to measure the current consumption of the CY8CKIT-142 Kit with different projects, the current measured globally was between 35 to 40 mA, but I think it should be less than these numbers(depending on my current consumption estimation)
Is that normal?
Show Less