- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have two pieces of code (App1 and App2) that compiled in different FLASH regions (by changing the linker script) and loaded on a PSoC6 MCU (CYBLE-416045-02 device), and I use ResetHandler to determine which code to run based on reset reason.
In App1, there's a function that will call Cy_Flash_WriteRow to write certain data in certain FLASH location, and in App2, it calls this function directly because it knows where this function is located in App1. However, I am always getting CY_FLASH_DRV_ERR_UNC error. Does anyone know what could possibly be the cause?
(Each code has its own startup file (unmodified and provided by Cypress PSoC Creator) compiled and thus they have their own vector tables)
Thanks!
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can call this function uint32_t Cy_Flash_GetExternalStatus(void ) to get more details on the error which you have got.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can call this function uint32_t Cy_Flash_GetExternalStatus(void ) to get more details on the error which you have got.
Regards