Open lucagessi opened 2 years ago
EFR devices are handled in target/efm32.c. efm32_probe() is already called, but already the test for the core will fail. Compare the code with what the new device expects. Compare reference manual. If there are substantial similarities, change/add code in little steps and test. Running hosted for that will spare you constant firmware reflash. But maybe the similarities are very small, so perhaps a who new target file is the better approach. Do other open source debuggers already support the MGM or a similar EFR chip? Maybe get some inspriration there too.
But the CIDR read timeout is bad. It seems, some access restrictions are already implemented in your code. Try on an empty device or with minimal code with no protection, no M33 features. Here both STM32L5 and U5 read CIDR fine.
I use a development board by Silicon Labs with the programmer inside, so I don't know if a compatible probe exists. There is some documentation for developer? Maybe some docs that you may suggest in order to try to resolve this issue? Thank you
Probably the Silicon Labs has a CMSIS DAP programmer. BMP Hosted onl Linux can easy talk to that dongle.On windows, libusb must be able to find the programmer, so the ZADIG https://zadig.akeo.ie/ is needed. The documents for developpers are the reference manuals, the code and the git history. Do you perhaps already have experience with a MCU already supported. Perhaps you even wrote some code to update the flash? Compare how that is implemented in BMP to the implementation in your old code.
this is a slight mislabeling of the issue, the MGM210P is the module reference, the soc used internally is the EFR32MG21, which is indeed not supported
Hi. I started using black magic probe (stlink clone converted) some times ago. The main reason is because for every type of microntroller/manufacturer we have a different programmer/debugger and it is very annoyng.
We use in a recent project a module by Silicon Labs, MGM210P0, and MGM210PA. BMP recognises that the board has a cortex-m33 but it cannot flash, erase ecc. Below the output using blackmagic -t linked to a stlink-BMP:
Thank you