2021-01-08 04:56 AM
By default the ST-Link Debugger setting Pack "Keil.STM32L0xx_DFP.2.1.0" is Enable and I got error "Invalid ROM Table" when trying to flash the MCU. But If I just Disable the checkbox Enable in the Pack tab in ST-link Debugger setting then the flashing is OK :)
I'm I doing something wrong or is this a bug ?
Thanks for help,
Thomas
2021-01-08 08:34 AM
A more detailed log from another project when flashing (same conditions):
File : C:\Keil_v5\ARM\PACK\Keil\STM32L0xx_DFP\2.1.0\Keil.STM32L0xx_DFP.pdsc
Sequence : DebugPortStop
Context : Item #2: <control if="DoDebugPortStop">
Item #0: <block>::Line 3
Expression : "v5\ARM\PACK\Keil\STM32L0xx_DFP\2.1.0\Keil.STM32L0xx_DFP.pdsc"
E310 : Debug access failed - cannot write value 0x00000000 to DP register 0x08
Flash Load finished at 17:30:12
2021-01-11 02:41 AM
2022-02-22 01:29 AM
Hi Thomas,
in Options for Target... under Debug -> Settings -> Pack,
make sure to uncheck "Enable".
This solved the problem for me.
Currently, I have no explanation for this behavior, likely a bug in Keil.
Best regards
Jaroslav
2022-02-22 02:33 AM
Hello, is this some kind of joke?
More than one year to give me answer that I already gave in original post?
(BTW the bug is still there)
Regards,
Thomas
2022-02-22 03:15 AM
@Thomas LB Have you asked Keil about this? One of advantages of choosing Keil is their fast and professional support.
2022-02-22 03:23 AM
When I was replying in this thread, I didn't notice that the question is already one year old.
I came across this issue only today.
Don't you think it would make sense to report this issue to Keil, which is the actual toolchain provider?
2022-02-22 06:15 AM
Sure, but to me it's ST<->Keil bug so I can help by providing contexte and workaround but I think it is ST job to talk to Keil to fix it. For the record at the time a case was opened (00124133), someone at ST (@Jocelyn RICARD ) did reproduce de bug but can't find explanation so the case was "escalated" and closed but never got news from it :\