Last week I purchased an Explorer 8 board to validate and resolve the PIC1867K40 microcontroller.
As part of the testing of this microcontroller I have ported/created a mega demonstration to show many of the microcontroller capabilities. Many of the capabilities are common to PICs. AVRs and LGTs but this is a demonstration with 11 separate sub programs,
The demonstration comprises 11 sub programs utilizing the different peripherals while demonstrating the different capabilities of the Explorer 8 Development Board. Each sub program contains a brief description of the lab, code snippets, and discussions to make you become easily acquainted with the different peripherals and commands. This program also make use of the PPSTOOL, the easy-to-use tool that you can use to generate codes for a more efficient use of the CPU and memory resources.
All written in GCBASIC language and are compatible with the latest GCBASIC compilers.
Sub Programs
The Sub Programs in this program are presented in the same order as they appear when you program a micrcontroller. You can navigate through each lab by pressing the S2 button.
You can easily port this to other microcontrollers. The documentation is available on GitHub ( see URL below ) and you can examine these documents to aid porting.
This will be included in the next release of the Demonstration Programs.
The folder has the resources you need to port, plus working examples. These working examples will increase as the verification of other microcontrollers happens.
I will use this demonstration program is future to test microcontrollers. In the past I have created programs to test the capabilities as part of verifying a microcontroller is supported by GCBASIC but this pulls these tests into one program. :-)
Enjoy
Last edit: Anobium 2023-08-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Updated the Explorer 8 board demonstration program to include NVM Memory Operations
The K40 now supports self-write capability to PROGMEM. The demo now write and reads to the K40 NVM memory. This is handled within the existing NVM library where it reads, erases and writes blocks of PROGMEM.
Enjoy
Whilst doing this... I hit an issue with Software I2C where is was not caching the state of the global interrupt flag. This is now resolved in the latest build #1271.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Last week I purchased an Explorer 8 board to validate and resolve the PIC1867K40 microcontroller.
As part of the testing of this microcontroller I have ported/created a mega demonstration to show many of the microcontroller capabilities. Many of the capabilities are common to PICs. AVRs and LGTs but this is a demonstration with 11 separate sub programs,
The demonstration comprises 11 sub programs utilizing the different peripherals while demonstrating the different capabilities of the Explorer 8 Development Board. Each sub program contains a brief description of the lab, code snippets, and discussions to make you become easily acquainted with the different peripherals and commands. This program also make use of the PPSTOOL, the easy-to-use tool that you can use to generate codes for a more efficient use of the CPU and memory resources.
All written in GCBASIC language and are compatible with the latest GCBASIC compilers.
Sub Programs
The Sub Programs in this program are presented in the same order as they appear when you program a micrcontroller. You can navigate through each lab by pressing the S2 button.
Using
You can easily port this to other microcontrollers. The documentation is available on GitHub ( see URL below ) and you can examine these documents to aid porting.
This will be included in the next release of the Demonstration Programs.
URL
Folder URL
The URL to the GitHub folder is:
https://github.com/GreatCowBASIC/Demonstration_Sources/tree/main/Vendor_Boards/Microchip_Explorer_8_Demo_Board
Demonstration Program URL
The URL to the program is:
https://github.com/GreatCowBASIC/Demonstration_Sources/blob/main/Vendor_Boards/Microchip_Explorer_8_Demo_Board/Explorer8_Capability_demo.gcb
The folder has the resources you need to port, plus working examples. These working examples will increase as the verification of other microcontrollers happens.
I will use this demonstration program is future to test microcontrollers. In the past I have created programs to test the capabilities as part of verifying a microcontroller is supported by GCBASIC but this pulls these tests into one program. :-)
Enjoy
Last edit: Anobium 2023-08-23
Updated the Explorer 8 board demonstration program to include GCLD capabilities.
So, the major demonstration now shows LCD via expander using SPI and GLCD via I2C on the same data bus. Clever.
I have also posted an I2C hardware and software GLCD demonstration program.
Updated the Explorer 8 board demonstration program to include NVM Memory Operations
The K40 now supports self-write capability to PROGMEM. The demo now write and reads to the K40 NVM memory. This is handled within the existing NVM library where it reads, erases and writes blocks of PROGMEM.
Enjoy
Whilst doing this... I hit an issue with Software I2C where is was not caching the state of the global interrupt flag. This is now resolved in the latest build #1271.