Страница 1 из 1
Atmega 128A интеграция.
Добавлено: 09.10.2020{, 20:05}
ivanpost
Atmega 128A интеграция.
Добавлено: 03.06.2024{, 19:53}
dimdi
Здравствуйте. Прошу подсказки. Понадобилось мне воспользоваться 128-й. Установил ваше описание и накидал простенькую мигалку. И обломился на ошибке. Может выход есть? подскажите пож.
благодарю...
ошибка:Arduino: 1.8.19 (Windows 10), Плата:"ATmega128, No bootloader, EEPROM retained, Default, BOD 2.7V, LTO enabled, External 16 MHz"
"d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR -Wextra -flto -g "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\cores\\MCUdude_corefiles" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\variants\\64-pin-avr" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Utilites\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_SelectCore\\src" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\libraries\\SoftwareSerial\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire" "d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src\\EthernetUdp.cpp" -o "C:\\Users\\dimverler\\AppData\\Local\\Temp\\arduino_build_517422\\libraries\\Ethernet\\EthernetUdp.cpp.o"
"d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR -Wextra -flto -g "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\cores\\MCUdude_corefiles" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\variants\\64-pin-avr" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Utilites\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_SelectCore\\src" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\libraries\\SoftwareSerial\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire" "d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src\\socket.cpp" -o "C:\\Users\\dimverler\\AppData\\Local\\Temp\\arduino_build_517422\\libraries\\Ethernet\\socket.cpp.o"
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\utility/w5100.h:18:0,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\EthernetServer.cpp:23:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:308:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!(SPSR & _BV(SPIF))) ;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:309:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
*p = SPDR;
^
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\utility/w5100.h:18:0,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\EthernetUdp.cpp:32:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:308:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!(SPSR & _BV(SPIF))) ;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:309:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
*p = SPDR;
^
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\utility/w5100.h:18:0,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\socket.cpp:23:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:308:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!(SPSR & _BV(SPIF))) ;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:309:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
*p = SPDR;
^
"d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR -Wextra -flto -g "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\cores\\MCUdude_corefiles" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\variants\\64-pin-avr" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Utilites\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_SelectCore\\src" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\libraries\\SoftwareSerial\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire" "d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src\\utility\\w5100.cpp" -o "C:\\Users\\dimverler\\AppData\\Local\\Temp\\arduino_build_517422\\libraries\\Ethernet\\utility\\w5100.cpp.o"
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\utility\w5100.h:18:0,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet\src\utility\w5100.cpp:13:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:308:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!(SPSR & _BV(SPIF))) ;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:309:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
*p = SPDR;
^
Compiling library "SPI"
"d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR -Wextra -flto -g "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\cores\\MCUdude_corefiles" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\variants\\64-pin-avr" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Utilites\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_SelectCore\\src" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\libraries\\SoftwareSerial\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire" "d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src\\SPI.cpp" -o "C:\\Users\\dimverler\\AppData\\Local\\Temp\\arduino_build_517422\\libraries\\SPI\\SPI.cpp.o"
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src\SPI.cpp:14:0:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src\SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src\SPI.h:308:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!(SPSR & _BV(SPIF))) ;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src\SPI.h:309:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
*p = SPDR;
^
Compiling library "Flprog_Blocks"
"d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR -Wextra -flto -g "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\cores\\MCUdude_corefiles" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\variants\\64-pin-avr" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Utilites\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_SelectCore\\src" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\libraries\\SoftwareSerial\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire" "d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src\\flprog_Blocks.cpp" -o "C:\\Users\\dimverler\\AppData\\Local\\Temp\\arduino_build_517422\\libraries\\Flprog_Blocks\\flprog_Blocks.cpp.o"
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites\src/flprogUtilites.h:48:0,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Blocks\src\flprog_Blocks.h:3,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Blocks\src\flprog_Blocks.cpp:1:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites\src/uart/flprogUart.h: In member function 'virtual void FLProgUartBasic::setDeviceName(String)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites\src/uart/flprogUart.h:48:39: warning: unused parameter 'name' [-Wunused-parameter]
virtual void setDeviceName(String name){};
^~~~
In file included from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites\src/tcp/variant/avr/flprogTCPDeviceAvrConnectedLibs.h:7:0,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites\src/tcp/flprogTcpDevice.h:7,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites\src/flprogUtilites.h:49,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Blocks\src\flprog_Blocks.h:3,
from d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Blocks\src\flprog_Blocks.cpp:1:
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:308:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!(SPSR & _BV(SPIF))) ;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI\src/SPI.h:309:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
*p = SPDR;
^
Compiling library "Wire"
"d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR -Wextra -flto -g "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\cores\\MCUdude_corefiles" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\variants\\64-pin-avr" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Utilites\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_SelectCore\\src" "-ID:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\packages\\MegaCore\\hardware\\avr\\3.0.2\\libraries\\SoftwareSerial\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Ethernet\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\SPI\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Flprog_Blocks\\src" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire" "-Id:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire\\utility" "d:\\RADIO\\FLPROG 8.2\\ideV8\\portable\\sketchbook\\libraries\\Wire\\Wire.cpp" -o "C:\\Users\\dimverler\\AppData\\Local\\Temp\\arduino_build_517422\\libraries\\Wire\\Wire.cpp.o"
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Wire\Wire.cpp: In member function 'void TwoWire::begin()':
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Wire\Wire.cpp:62:3: error: 'DIDR0' was not declared in this scope
DIDR0 &= 0xCF;
^~~~~
d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Wire\Wire.cpp:62:3: note: suggested alternative: 'OCDR0'
DIDR0 &= 0xCF;
^~~~~
OCDR0
Несколько библиотек найдено для "SoftwareSerial.h"
Используется: D:\RADIO\FLPROG 8.2\ideV8\portable\packages\MegaCore\hardware\avr\3.0.2\libraries\SoftwareSerial
Не используется: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Esp32-SoftwareSerial
Не используется: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Esp32-SoftwareSerial-master
Не используется: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SoftwareSerial
Несколько библиотек найдено для "Ethernet.h"
Используется: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet
Не используется: d:\RADIO\FLPROG 8.2\ideV8\libraries\Ethernet
Несколько библиотек найдено для "SPI.h"
Используется: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI
Не используется: D:\RADIO\FLPROG 8.2\ideV8\portable\packages\MegaCore\hardware\avr\3.0.2\libraries\SPI
Несколько библиотек найдено для "Wire.h"
Используется: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Wire
Не используется: D:\RADIO\FLPROG 8.2\ideV8\portable\packages\MegaCore\hardware\avr\3.0.2\libraries\Wire
Используем библиотеку Flprog_Utilites версии 1.0.0 из папки: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Utilites
Используем библиотеку Flprog_SelectCore версии 1.0.0 из папки: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_SelectCore
Используем библиотеку SoftwareSerial версии 1.1 из папки: D:\RADIO\FLPROG 8.2\ideV8\portable\packages\MegaCore\hardware\avr\3.0.2\libraries\SoftwareSerial
Используем библиотеку Ethernet версии 2.0.2 из папки: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Ethernet
Используем библиотеку SPI версии 1.0 из папки: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\SPI
Используем библиотеку Flprog_Blocks версии 1.0.0 из папки: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Flprog_Blocks
Используем библиотеку Wire версии 1.0 из папки: d:\RADIO\FLPROG 8.2\ideV8\portable\sketchbook\libraries\Wire
exit status 1
Ошибка компиляции для платы ATmega128.