We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm currently working with STM32H755 (dual core Cortex M7 + Cortex M4) but I'm having trouble flashing anything to the M4.
Usually I receive "invalid ROM table" error when trying to flash or debug the M4. And I can sometimes get it to flash if I flash the M7 and quickly after try to do the M4.
I'm trying this on a minimum viable sample (files generated with CubeMX, I'm using the packages from Keil to bring in the headers) that works when flashed using STM32CubeIDE/STM32CubeProgrammer, which suggests to me that the settings for Keil are just off.
I'm not too familiar on how the different target settings tie together, and I have not found good manual to finding out, what causes the "invalid ROM table" error to pop up.
I have seen this web page:https://www.keil.com/support/docs/3566.htm ,and those settings do not bring any change to the situation. I have tried changing the xtal-value to 25MHz (the actual input frequency) to 120MHz (bus frequency) and to 240MHz (M4 frequency). None of these help and I'm unable to get anything happening.
I have also gone through the settings with AN5286 from ST that should tell the correct settings but these produce the same error message.I did also try to make an example project from the package manager but the settings still seem wrong because I can't flash the CM4.
I'm using the ULink2 as my probe.
Any idea on what usually (actually) causes these?
The board is fully functional, it has been tested in the STM ecosystem but due to their bad IDE, we have decided to make the jump over to Keil.