-
Syllabus
-
Terminology
-
Introduction to MDBCore Interface mdbcs 1 min
-
Tools needed to use mdbcs 1 min
- Preparing for mdbcs
-
Configure environment for using mdbcs 2 min
-
Creating mdbcs 2 min
-
CLASSPATH 1 min
-
Preparation Summary 1 min
- MDBCore Interface mdbcs
-
mdbcs API 1 min
-
Groovy 3 min
-
Scripting Styles 2 min
-
mdb vs mdbcs 3 min
-
mdbcs solves mdb Limits 2 min
-
Advantages of mdbcs vs mdb 3 min
- mdbcs Demo
-
Firmware used in Lab 2 min
-
mdbcs Demo 10 min
- SDK Examples and Summary
-
SDK Examples 1 min
-
Summary 2 min
-
Please provide some feedback!
Automate FW testing with MDBCore scripting - MDBCore Interface mdbcs
In this module we cover the mdbcs, a more complex interface into MDBCore. (December 2023)
In this module we cover the mdbcs, a more complex interface into MDBCore.
The objective of this series of courses is to showcase the potential of MDBCore-scripting in automating firmware testing.
Target audience: FW-tester, Quality or Project-Leads
Knowledge: working experience of MPLAB®X & any OO-language knowledge helpful
1)Introduction Course: We commence by exploring the MPLABX ecosystem, the MDBCore, and the SDK, before delving into specific use-cases.
2)Compile without IDE: Prior to firmware testing, we examine the process of automatically compiling sources into *.elf files from a script.
We are now prepared to explore the three distinct MDBCore usage models for automated firmware testing.
3.a) MDBCore Interface mdb: The MDB, as the simplest and first method to utilize MDBCore, includes a script mdb.bat/.sh that manages instructions from an mdb-commands.txt file. However, it has certain limitations that are addressed with the next usage model, mdbcs.
3.b) MDBCore Interface mdbcs: mdbcs is designed to overcome the limitations of mdb. It is delivered as a Java module, mdbcs.jar, thus requiring a scripting language with a Java interface, such as Jython. This adds a bit more complexity but resolves the mdb limitations and provides access to a wide range of Java libraries, such as the Java Swing library for simplified user interfaces.
3.c)FW test automation with Java: The final and most complex usage model is pure Java, which offers full MDBCore functionality, albeit with the highest level of complexity.