Hi @mariuslucianand,
I was trying to flash the S32K118 EVB based on MBDT. However, before I started to use MATLAB/Simulink MBDT, I have practice how to use S32 arm studio to flash the S32K118 jumpstart firmware and utlizing the freemaster to monitor the (ADC and led control) performance 1st. This ensures the S32K118 evaluation board has no communication issues.
However, I tried a few examples for MBDT S32K11X called "GPIO_ISR_control_s32k11x" and to perform (built and code generation) based on "embedded coder" in Matlab/Simulink. I have properly setting the target connection between download interface and openSDA drive. Anyway, I manage to generate the C-script and Elf file these parts have no issue, but I cannot successfully load the program into the S32K118 using Matlab/Simulink. I also double checked the baudrate on device manager to ensure there's no mismatch.
I have implemented the same code generation method using other MCU such as TI C2000 and Arduino which working properly as expected.
After that, I keep trying on another example which called "flash_bam_download_s32k118" (See attached). But this required to load the "S32K118_Bootloader.rbf" which can be found the file path from "MBDTOOLBOX" -> "BOOTLOADER" -> "RBF_FILES" so I selected the " S32K118_S32DS..xxx.rbf".
I opened the S32 Studio for ARM to flash the rbf file by selecting on top of the Tab lists "Flash from file" and entered to the flash configuration page to flash the .rbf. I suspected that did I implemented the proper way to flash the rbf file to S32K118?
@mariuslucianand I wish if you can provide some of the procedure on how to flash the bootloader based on this example "flash_bam_download_s32k118". Additionally, I also hope that to know on how to load the program code using embedded coder for this example "GPIO_ISR_control_s32k11x".
I read through many articles on the MBDT community but still cannot solved the issues yet.
I was placing an order last two days ago for the BMS development kits such as S32K144EVB+MC33771TPL/33772+14battemulator +6Battemulator. However, I really wish if I can familiar with more MBDT examples and features before my BMS hardware development kits arrive at that time.
Best Regards,