Hello,
I'd like to ask you about a possibility to stop Keil from downloading Code to a wrong device.
Background is, we often work on Multi-MCU-Projects, with more than one debug adapter and different chip types at the same time. So, it sometimes happens that the Programmer mixes up the debug adapters or something, and ends up loading the firmware to the wrong chip, with more or less severe results.
Does anybody maybe know a way to prevent this from happening? Can we somehow do a "Pre-Download-Check" if the device matches the device which is set in the project settings? Or is there a possibility to "mark" the devices permanently?
It maybe would even be sufficient to stop the code from executing on the wrong device.
Best Regards,
Tobias
Hello Andy,
yes, you're right, we need to debug more than one chip at once. Do you have any idea how to get the information regarding the Chip ID out of the debug adaptor? I was thinking about writing a small program which is executed by Keil after build/rebuild, since Keil doesn't seem to support any kind of check on it's own. Unfortunately i can't find any documentation regarding how to communicate with the debug adaptors "outside" from Keil.