- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used PSOC Creator and the examples provided PSOC6 DFU app0 and app1, then change the device to CYBLE416045-2. I get the following error when using the Bootloader Host program trying to upload app1
The bootloader reported error 'The flash row is not valid for the selected array
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Anva_2903386 ,
Adding to @Alakananda_BG response, in your linker script of App1, you need to make the following edits for it to work correctly. Check if you have made them.
In dfu_cm4.ld file:
REGION_ALIAS("flash_core0", flash_app1_core0);
REGION_ALIAS("flash", flash_app1_core1);
REGION_ALIAS("ram", ram_app1_core1);
/* DFU SDK specific: sets an app Id */
__cy_app_id = 1;
In dfu_cm0p.ld file:
REGION_ALIAS("flash", flash_app1_core0);
REGION_ALIAS("flash_core1", flash_app1_core1);
REGION_ALIAS("ram", ram_app1_core0);
/* DFU SDK specific: sets an app Id */
__cy_app_id = 1;
With these modifications, you shouldn't this error.
Hope this helps 🙂
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Anva_2903386 ,
Adding to @Alakananda_BG response, in your linker script of App1, you need to make the following edits for it to work correctly. Check if you have made them.
In dfu_cm4.ld file:
REGION_ALIAS("flash_core0", flash_app1_core0);
REGION_ALIAS("flash", flash_app1_core1);
REGION_ALIAS("ram", ram_app1_core1);
/* DFU SDK specific: sets an app Id */
__cy_app_id = 1;
In dfu_cm0p.ld file:
REGION_ALIAS("flash", flash_app1_core0);
REGION_ALIAS("flash_core1", flash_app1_core1);
REGION_ALIAS("ram", ram_app1_core0);
/* DFU SDK specific: sets an app Id */
__cy_app_id = 1;
With these modifications, you shouldn't this error.
Hope this helps 🙂
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much, problem solved. I appreciate your prompt reply