- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use eprom flash memory CAT24C64 with I2C channel for CY8C4146AZI-S423 chip, PSoC Creator 4.4. I made a short test project, it works well, but if I run this project in debug mode even without breakpoints, the MemoryWrite and MemoryRead APIs return DEVICE_BUSY instead of SUCCESS. For this reason, I cannot debug a more complex project where I use this flash. I tried to set CyDelay with different times after these APIs, useless for debug mode, but once this project is programmed it works well with CyDelay(10). Maybe I'm missing something?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, there was a hardware problem, our hardware engineer gave me a controller with an I2C SCL pin, which is shared with the DEBUG pin to save header pins in the board. When this shared connection was disabled, the I2C eprom started working in both normal and debug modes. Sorry again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, there was a hardware problem, our hardware engineer gave me a controller with an I2C SCL pin, which is shared with the DEBUG pin to save header pins in the board. When this shared connection was disabled, the I2C eprom started working in both normal and debug modes. Sorry again