Massive change to GCBASIC compiler to support EEPROM operations for AVRs
A huge update to the compiler to properly support AVR ( legacy and Dx ) microcontrollers.
You can now easily create and manage reference data in EEPROM using TABLE or EEPROM instructions.
AVR microcontrollers operations now support
- Automatic EEP file creation
- Table data being saved to EEPROM EEP file.
- EEPROM - END EEPROM data saved to EEPROM EEP file.
- New programmer to enable very fast programming - no need for Microchip Studio.
Specific to ASM
- AVR ASM .ESEG section for EEPROM data
- AVR ASM labels support creation of EEPROM and TABLE data blocks
-
Specific to GCASM
- Add ESEG handler for AVR EEPROM
- Sets ORG correctly
- Metadata now handles ESEG ASM
- Updated LST file to show ESEG sections
- Change HEX file address to handle ESEG DATA as bytes
- Change ORG error handling to appropriately handle ESEG error messages
- Add automatic creation of EEP file for ESEG DATA
New programmer
The new programmer uses the nEDBG using UPDI interface. This means the PROGMEM and EEPROM can be programmed from GCSTUDIO.
[tool = atprogram3]desc=ATMEL nEDBG using UPDI with EEPtype=programmeruseif=progconfig=command=%atmelATPROGRAMdir%\ATprogram.exeparams=-t nEDBG -i UPDI -d ATMEGA4809 chiperase program -f "%FileName%" erase -ee program -ee --format hex -f "%FileNameEEP%"workingdir=%atmelATPROGRAMdir%\
Add this to you USE.INI if not already present in your specific USE.INI
Here is a video of the operations.
This shows using EEPROM reference data, the ASM files, using Microchip Studio ( slow!) and a proper use case for using the EEPROM reference data.
Massive change to GCBASIC compiler to support EEPROM operations for AVRs
A huge update to the compiler to properly support AVR ( legacy and Dx ) microcontrollers.
You can now easily create and manage reference data in EEPROM using TABLE or EEPROM instructions.
AVR microcontrollers operations now support
- Automatic EEP file creation
- Table data being saved to EEPROM EEP file.
- EEPROM - END EEPROM data saved to EEPROM EEP file.
- New programmer to enable very fast programming - no need for Microchip Studio.
Specific to ASM
- AVR ASM .ESEG section for EEPROM data
- AVR ASM labels support creation of EEPROM and TABLE data blocks
-
Specific to GCASM
- Add ESEG handler for AVR EEPROM
- Sets ORG correctly
- Metadata now handles ESEG ASM
- Updated LST file to show ESEG sections
- Change HEX file address to handle ESEG DATA as bytes
- Change ORG error handling to appropriately handle ESEG error messages
- Add automatic creation of EEP file for ESEG DATA
New programmer
The new programmer uses the nEDBG using UPDI interface. This means the PROGMEM and EEPROM can be programmed from GCSTUDIO.
Add this to you USE.INI if not already present in your specific USE.INI
Here is a video of the operations.
This shows using EEPROM reference data, the ASM files, using Microchip Studio ( slow!) and a proper use case for using the EEPROM reference data.
@angel-spartan
There are two items that we need change in GCSTUDIO.
Huge change - enjoy.
Surely, take it for granted.
An outstanding work both of you are doing, clearly it's a lot of work you are putting in, on a very short time.
Angel