How to compile EFM8BB50 microcontroller using Keil uVision

I have installed SiC8051F_uVision, but the EFM8BB50 series microcontroller is not listed in Silicon Labs' database. How can I compile EFM8BB50 with Keil? If I have all the header files for this microcontroller, can I create a database for it and compile it myself?

Parents
  • Thank you very much. I successfully created the EFM8BB50 data using this method. I modified the CPU, XRAM, and IROM according to the datasheet. However, I didn't modify MON and SIM because the DLL files couldn't be edited. I'm not sure if these two files will have any impact, but currently, the compilation was successful and the HEX file was generated successfully. The EFM8BB50 header file comes from Simplicity Studio V5 software.

Reply
  • Thank you very much. I successfully created the EFM8BB50 data using this method. I modified the CPU, XRAM, and IROM according to the datasheet. However, I didn't modify MON and SIM because the DLL files couldn't be edited. I'm not sure if these two files will have any impact, but currently, the compilation was successful and the HEX file was generated successfully. The EFM8BB50 header file comes from Simplicity Studio V5 software.

Children
  • Good that you managed to define the device to a point where you can build your project.

    MON and SIM specify the DLLs that display the peripheral dialogs for the simulator and target debugger. You can't extend these DLLs, and you will most likely miss some peripheral dialogs that are specific to your device.

  • This DLL file might be crucial, as it could affect whether I can write the program to the microcontroller. Although I compiled the HEX file using Keil, it seems useless because Keil cannot write the program via USB debug adapter. Other Silicon Labs software also fails to write the HEX file to the microcontroller. Currently, it appears that only Simplicity Studio V5 can compile and flash the program