- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I'm trying to use a CY8CKIT-050 to read a hex file from an SD card and flash a PSOC4. I can read from the SD card and push text to the LCD screen that comes with the kit so I know that part is working. I can Aquire the device, verify the silicon ID and kind of erase the flash.
An error occurs just after "Write_IO (CPUSS_SYSREQ, SROM_SYSREQ_BIT | SROM_CMD_ERASE_ALL);",
When I read from the SROM, I get a checksum zero fault returned.
Continuing the oddness, after running to this point if I power cycle my PSOC 5, my code times out trying to verify the silicon ID. Specifically it times out trying to read the SROM after doing "Write_IO (CPUSS_SYSREQ, SROM_SYSREQ_BIT | SROM_CMD_GET_SILICON_ID);"
If I check my PSOC4 using the MiniProg3, I can read the silicon ID using PSOC Programmer 3.22.0. I can also see that the flash has been set to 0s.
I tried powering my PSOC4 off of the PSOC5 kit and a power supply (tried 3.3V-5.5V, supply rated @ 28A ) with the results being the same.
Anyone have an idea or a gut feeling to start from? I appreciate the help.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi R04,
your code is based on PSoC4 programming specification (document no. 001-51799) ?
Regards,
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ralf,
I'll double check the specs. I'm adapting this project over. I personally haven't tried this using the $4 boards but have seen on other threads that people have gotten this to work.
http://www.cypress.com/?id=4&rID=98796
Thanks for the input,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi R04,
the KitProg firmware sources might also be a good starting point.
Regards,
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ralf,
Thanks for trying to help me with this. I went line by line lokoing at the example I was using and a different example and found there was an extra condition on an if statement. I took that out and it erases now!!!
Thanks again,
R04
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi R04,
I have the same behaviour. Can you please tell me the extra condition you found
Thanks,
Ramon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ramon,
we also have the same behaviour, did you find the solution?
Thanks,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider posting your project as an archive for the community benefit.
If proprietary code remove that, just post the working SDCARD portion of project.
“File” Creator
“Create Workspace Bundle”
Regards, Dana.