You will need a new data file dated 2022.. Any previous DAT file was included in error (dated 2021) and therefore WILL NOT work. You need to use the latest DAT file.
Demos 010 to 040
These are tested and work. These just show the basic LED operations, and basic memory operations. The DAT resolves the memory mapping issues (found on test) and the need to disable JTAGEN by default to enable normal port operations.
I will update this thread as I make progress.
Enjoy
Last edit: Anobium 2022-01-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Required a change to the USART.H library to support these specific USART register bits. Microchip have decided to use the old usartTX interrupt registers for the CAN bus register controls.
There you will need an updated USART.H for Q84 support.
Enjoy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The remaining demos have been added with library updates are required.
Added String handler from DAT to Terminal, PWM basic motor controller using an interrupt, PWM CCP and PMW 16bit, SAF and Progmem support, I2C, SPI, EE routines and interrupt handlers.
Hardware SPI in - again this should work. An alternative is software SPI.
Hardware CANBUS - you need to create routines for this.
And, anything else not covered by a demo!
Enjoy
Last edit: Anobium 2022-01-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have started to add the 18FxxQ84 chip family. The demos are here.
Demos
https://github.com/Anobium/Great-Cow-BASIC-Demonstration-Sources/tree/master/Vendor_Boards/Great_Cow_Basic_Demo_Board/18f27Q84_chiprange_demonstrations
DAT file
You will need a new data file dated 2022.. Any previous DAT file was included in error (dated 2021) and therefore WILL NOT work. You need to use the latest DAT file.
Demos 010 to 040
These are tested and work. These just show the basic LED operations, and basic memory operations. The DAT resolves the memory mapping issues (found on test) and the need to disable JTAGEN by default to enable normal port operations.
I will update this thread as I make progress.
Enjoy
Last edit: Anobium 2022-01-02
PIC-AS issue resolved
PIC-AS compilation now works on on the Q84 use the latest build 0.98.07 2022-02-01 or later (Windows 32 bit) :
Build 1054 or later has the fix.
Demos
More added including Serial Transmit, Timer and Timer Interrupts.
See https://github.com/Anobium/Great-Cow-BASIC-Demonstration-Sources/tree/master/Vendor_Boards/Great_Cow_Basic_Demo_Board/18f27Q84_chiprange_demonstrations
USART
Required a change to the USART.H library to support these specific USART register bits. Microchip have decided to use the old usartTX interrupt registers for the CAN bus register controls.
There you will need an updated USART.H for Q84 support.
Enjoy
Demos
The remaining demos have been added with library updates are required.
Added String handler from DAT to Terminal, PWM basic motor controller using an interrupt, PWM CCP and PMW 16bit, SAF and Progmem support, I2C, SPI, EE routines and interrupt handlers.
See https://github.com/Anobium/Great-Cow-BASIC-Demonstration-Sources/tree/master/Vendor_Boards/Great_Cow_Basic_Demo_Board/18f27Q84_chiprange_demonstrations
What does not get tested ?
Hardware SPI in - again this should work. An alternative is software SPI.
Hardware CANBUS - you need to create routines for this.
And, anything else not covered by a demo!
Enjoy
Last edit: Anobium 2022-01-03
Added hardware serial demos to suite of test applications.
010_hello_world.gcb
020_blink.gcb
030_blink_another_way.gcb
040_rotate_the_leds.gcb
050_show_a2d_value_on_leds.gcb
060_variable_rotate_the_leds.gcb
070_debounce_the_switch.gcb
080_using_the_reset_switch_as_an_input.gcb
090_reversible_leds_with_variable_delay.gcb
100_reversible_leds_with_variable_delay_to_serial_terminal.gcb
110_rotate_the_leds_using_16bit_timer0_.gcb
120_use_pwm_via_ccp_and_adc_to_control_led_brightness.gcb
130_rotate_the_leds_using_8bit_timer0.gcb
140_rotate_the_leds_using_the_timer_overflow_event.gcb
150_show_i2c_devices_to_serial_terminal.gcb
160_showing_eeprom_data_to_serial_terminal.gcb
170_using_external_interrupt_to_raise_an_event.gcb
180_ensuring_program_matches_chip_specfiied_to_serial_terminal.gcb
190_using_an_interrupt_to_manage_the_pwm_signal_to_control_an_leds_brightness.gcb
200_i2c_glcd_using_ssd1306_128_32.gcb
210_i2c_glcd_using_ssd1306_128_64.gcb
220_i2c_glcd_sprites_using_ssd1306.gcb
230_i2c_glcd_voltmeter_using_ssd1306.gcb
240_pwm_fixed_modes.gcb
250_pwm_variable_modes.gcb
260_spi_glcd_using_ili9341.gcb
270_millis_glcd_integrated_using_ili9341.gcb
280_showing_SAF_data_to_serial_terminal.gcb
290_showing_PROGMEM_data_to_serial_terminal.gcb
300_basic_hardware_serial_loopback_to_terminal.gcb
310_ringbuffer_hardware_serial_loopback_to_terminal.gcb
320_use_dma_to_send_bigtable_data_to_serial.gcb
See https://github.com/Anobium/Great-Cow-BASIC-Demonstration-Sources/tree/master/Vendor_Boards/Great_Cow_Basic_Demo_Board/18f27Q84_chiprange_demonstrations
Enjoy
Last edit: Anobium 2022-01-03