You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using IAR EW 8.32 for a development project using an STM32C031C6 nucleo board.
I installed the 1.02 patch provided in this repository to add support for the STM32C0 family and was able to build my project.
However, I was not able to use the IAR debugger after installing the patch : IAR reported an error "Failed to load flash loader <...>/FlashSTM32C03xx6.flash" :
The IAR debug log indicated that the script STM32C0xx.dmac failed to run at line 96 in the enable_dbg_clock() function :
After some trial and error, I stumbled upon the IAR C-SPY Debugging Guide mentioning the prototype of this function :
__readMemory32(address, zone)
This document also states that the only zone available in ARM architecture is "Memory".
I replaced all the occurrences of "AP0_Memory" by the string "Memory" in the STM32C0xx.dmac script, and everything works fine now.
I don't know if this issue is specific to my version of IAR (8.32) but if this patch is compatible with all 8.x versions, it could be upstreamed to avoid uneccessary trouble for other developers :)
The text was updated successfully, but these errors were encountered:
Hello,
Sorry for not mentioning it clearly in my first post, I was refering to the patch for IAR v8 : EWARMv8_STM32C01x-03x_V1.0.2.zip
Best regards,
Nicolas
Apologies for the delayed response. According to the README in the EWARMv8_STM32C01x-03x_V1.0.2, please ensure that you have EWARM version 9.20.1 or later installed before proceeding with the installation.
Hello,
I am using IAR EW 8.32 for a development project using an STM32C031C6 nucleo board.
I installed the 1.02 patch provided in this repository to add support for the STM32C0 family and was able to build my project.
However, I was not able to use the IAR debugger after installing the patch : IAR reported an error "Failed to load flash loader <...>/FlashSTM32C03xx6.flash" :
The IAR debug log indicated that the script STM32C0xx.dmac failed to run at line 96 in the enable_dbg_clock() function :
After some trial and error, I stumbled upon the IAR C-SPY Debugging Guide mentioning the prototype of this function :
This document also states that the only zone available in ARM architecture is "Memory".
I replaced all the occurrences of "AP0_Memory" by the string "Memory" in the STM32C0xx.dmac script, and everything works fine now.
I don't know if this issue is specific to my version of IAR (8.32) but if this patch is compatible with all 8.x versions, it could be upstreamed to avoid uneccessary trouble for other developers :)
The text was updated successfully, but these errors were encountered: