Skip to content

Releases: sipeed/MaixPy-v1

v0.6.3

30 May 03:34
Compare
Choose a tag to compare

download at : https://dl.sipeed.com/shareURL/MAIX/MaixPy/release/master

BUG fix

Vision

  • reduce camera I2C cmd send interval to accelerate boot up

Others

  • Fix SD card cmd send usage, add crc to support more SD cards

v0.6.2

23 Dec 03:12
Compare
Choose a tag to compare

download at : https://dl.sipeed.com/shareURL/MAIX/MaixPy/release/master

Update since tag v0.4.0:

New feature

KPU

  • Support kmodel V4(nncase v0.2.0 beta4), you need to call kpu.setoutputs(obj, out_layer, w, h, ch) to set output shape before kpu.forward
  • Add load_flash support (load big model but slowlly)
  • Add 1 dimension input support( list)
  • Add classifier module

vision

  • Add UTF-8 customize font support, load_font & draw_font & draw_string
  • Support image.draw_image transparent mixed (Transparency from black to white)
  • Improved font effect of openmv image.font
  • Add OV5640 and GC2145 partially function support

Others

  • Add ulab module
  • Add lodepng module(for lvgl)
  • Sensor dual buffer
  • Add sensor.set_jb_quality(q) for IDE image quality
  • Add Maix.utils.flash_read API
  • Mic-Array IO pin supports custom configuration
  • Add maix_config for different board use one firmware, allow lcd/sensor/sdcard remapping pins in config.json
  • Support ussl(https)
  • Support WDT (watchdog timer)
  • fm.fpioa.set_function args now allow set_io_driving & set_sl & set_st
  • Support software i2c & spi
  • Add SpeechRecognizer(Now Refactor to speech)
  • Refactor NES module support nes.input() & nes.loop()
  • WS2812 add ws_num() get ws2812 config number.
  • Speech add speech_isolated_word support maix bit/dock/duino/etc.
  • Network add wiznet5k support
  • Improve image.rotation_correction()
  • Support onewire

Optimize

  • Remove LCD font, now use image's font
  • Optimize IDE script execute, and change to file mode instead of REPL mode
  • Make built in py files configuable, revemo pye in minimum firmware by default
  • Optimize I2C slave code
  • Make sensor.set_windowing() center align
  • Change KPU error code to string message
  • MaixPy boot speed up!

BUG fix

Vision

  • Fix image.to_grayscale bug
  • Fix lcd.draw_string color bug
  • OV7740 hmirror error(soft fix)
  • Fix bmp image load error
  • Fix lcd init uninitialized variables cause image misalignment

Others

  • Fix time.time() error (RTC hardware bug)
  • time.time() now start from 2000.1.1 00:00:00, the same as micropython
  • Fix wave audio play bug
  • Pull up io16 in main.py
  • Fix kpu.conv3 bug
  • Fix thread gc collect bug
  • Fix kpu.deinit bug, and auto collect bug
  • Fix ESP8285/ESP32 network layer communication
  • Fix GPIOHS can't read after write
  • Fix can't play avi for self record.
  • Fix conflicts between SDCard and ESP32 on Maixduino.

0.6.1

26 Nov 08:58
Compare
Choose a tag to compare
v0.6.1

fix ci

0.5.0

28 Sep 03:23
Compare
Choose a tag to compare

v0.4.0

19 Jul 07:28
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

v0.3.2

15 May 02:51
Compare
Choose a tag to compare

New Features

  • Compress JPEG in second core, increase FPS in IDE mode
  • Optimize find lines speed
  • Add WiFi scan(#71)

API Changes

  • remove cpufreq module, add Maix.freq module, now can change CPU and KPU freq max to 600MHz, see doc (#72)

Bug Fix

  • Fix audio(wav) play bug
  • Fix image.resize() alloc size(#69)
  • Fix mic array too slow problem(#62)
  • FIx bug gc free error when stop script from IDE
  • fix uart iqr re-entrant error (#74)

v0.3.1

27 Apr 02:40
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

New Features

  • Add file transfer support for MaixPy IDE
  • Add machine.reset()

Fix

  • Fix os.getcwd() return value error
  • Clear file when open file with "w" mode
  • Fix img.get_statistics() memory align error

Docs

maixpy.sipeed.com

Firmware Download

dl.sipeed.com
or assets below


New Features

  • Add file transfer support for MaixPy IDE
  • Add machine.reset()

Fix

  • Fix os.getcwd() return value error(#49)
  • Clear file when open file with "w" mode
  • Fix img.get_statistics() memory align error(#55)

Docs

maixpy.sipeed.com

Download

Firmware and model

dl.sipeed.com
or assets below

  • maixpy_v0.3.1_full.bin: firmware with full function
  • maixpy_v0.3.1_no_lvgl.bin: firmware with no littlvgl support
  • maixpy_v0.3.1_minimum.bin: firmware with minimum function support
  • face_model_at_0x300000.kfpkg: face detect model at flash adrees 0x300000, burn it with kflash(This file contains only the model. Burning this file will not cause the firmware in flash to be overwritten.)

MaixPy IDE


新特性

  • 为 MaixPy IDE 增加文件传输和脚本保存的功能
  • 增加硬件复位功能: machine.reset()

修复

  • 修复 os.getcwd() 返回值问题(#49)
  • 当文件以 "w" 模式打开时,清除文件所有内容
  • 修复 img.get_statistics() 出现的内存对齐错误(#55)

文档

maixpy.sipeed.com

下载

固件下载

dl.sipeed.com
或者下面的 assets 下载

  • maixpy_v0.3.1_full.bin: 全功能版本固件
  • maixpy_v0.3.1_no_lvgl.bin: 不包含 littlvgl 的固件
  • maixpy_v0.3.1_minimum.bin: 最小功能的固件
  • face_model_at_0x300000.kfpkg: 将会烧录到flash地址0x300000的人脸检测模型,使用kflash烧录。(此文件只包含模型,烧录此文件不会导致flash里面的固件被覆盖)

MaixPy IDE 下载


v0.3.0

18 Apr 11:00
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

New Features

  • Adapt for OpenMV IDE( Can not use the original version, in order to adapt MaixPy, there are modifications to the IDE source code)
  • Add UART.any()
  • Add get REPL UART object by UART.repl_uart(), e.g. : change baud rate to 1.5M:
from machine import UART

repl = UART.repl_uart()
repl.init(1500000, 8, None, 1, read_buf_len=2048)
  • Add set REPL UART, by UART.set_repl_uart(obj), the obj is UART object, the old one will be delete automatically(default REPL UART is UARTHS)

API Changes

  • Remove clock module, move clock.clock() to time module, remove clock.sleep() function, you MUST use time.sleep_ms(n) to sleep n ms, time.sleep(n) means sleep n s, It's different with OpenMV's!
  • Auto run sensor after sensor reset, you can stop sensor by sensor.run(0)
  • Remove : rewrite boot.py in _boot.py when BOOT key pushed down on power up
  • Create Board_Info object as var board_info in board.py, use it by:
from board import board_info
print(board.BOOT_KEY)

the same as fpioa_manager

from fpioa_manager import fm
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

or just import from fpioa_manager

from fpioa_manager import fm, board_info
print(board.BOOT_KEY)
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

Fix

  • Fix touchscreen module compile error when not select it in makefile

Download

Docs

maixpy.sipeed.com


新特性

  • 适配 OpenMV IDE (OpenMVP官方IDE不能使用, 为了适配 MaixPy 对 IDE 源码有修改)
  • 添加UART.any() 函数
  • 增加 获取 交互串口对象(REPL UART object) 的方法: UART.repl_uart(), 比如:修改波特率位 1.5M:
from machine import UART

repl = UART.repl_uart()
repl.init(1500000, 8, None, 1, read_buf_len=2048)
  • 增加 重新设置串口对象的接口, 通过 UART.set_repl_uart(obj) 来修改,obj 参数 是一个 UART对象,旧的使用在 REPL 上的串口对象将会被自动销毁(开机 REPL默认使用的串口是 UARTHS)

API 改动

  • 移除了 clock 模块,因为它看起来比较奇怪,把 clock.clock() 函数移到了 time 模块,删除了 clock.sleep() 函数, 如果需要延时 n 毫秒请使用 time.sleep_ms(n)time.sleep(n) 只用来延时 n 秒, 注意这是和 OpenMV 不同的地方
  • 在摄像头初始化后(sensor.reset) 会自动启动运行,不需要再调用 sensor.run(1),当然可以调用
    sensor.run(0) 来停止运行
  • 删除了开机按下 BOOT 键会重新刷写 boot.py 的功能
  • board.py 中新建了一个 Board_Info 对象: board_info,所以使用它如下:
from board import board_info
print(board.BOOT_KEY)

fpioa_manager 也一样

from fpioa_manager import fm
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

或者从 fpioa_manager 导入他们

from fpioa_manager import fm, board_info
print(board.BOOT_KEY)
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

修复

  • 修复在 Makefile 选择不使用 touchscreen 模块时编译出错的问题

下载

文档

maixpy.sipeed.com

v0.2.4

20 Mar 11:17
Compare
Choose a tag to compare
v0.2.4 Pre-release
Pre-release

Release Notes

New Features

  • Add jpeg decoding support
  • Add I2S, FFT support
  • Add WAV playback recording function
  • Add KPU to support general neural network forward calculations and yolo2
  • Add binocular camera support
  • Add touch screen (ns2009) support
  • Add microphone array support

Optional new features

  • Add NES game simulator (with sound and PS2 joystick support)
  • Add AVI playback and recording function (screen recordable )
  • Add LittlvGL GUI library support

Modify

  • SPIFFS size is reduced from 6M to 3M, in fact the address is changed from 0x600000 to 0xD00000
  • Other optimizations, including firmware size, stability, small bug fixes, etc.

Firmware Download

maixpy_v0.2.4

Note

maixpy_v0.2.4_full.bin: With full feature, but firmware may a little bit huge

maixpy_v0.2.4_minimum.bin: Just integrated base modules to leave more space for AI or other applications

maixpy_v0.2.4_*_with_model_at_0x300000.kfpkg: With face detect model burn at 0x300000 of the flash, then you can try face detect demo with micropython code like kpu.load(0x300000)

Docs And Demo



更新说明

新特性

  • 增加 jpeg 解码支持
  • 增加 I2SFFT 支持
  • 增加 WAV 播放录制功能
  • 增加 KPU, 支持通用神经网络 forward 计算以及yolo2
  • 增加双目摄像头支持
  • 增加触摸屏(ns2009)支持
  • 增加麦克风阵列支持

可选新特性

  • 增加 NES FC 红白机游戏模拟器(带声音和 PS2 手柄支持)
  • 增加 AVI 播放、录制功能(可录屏)
  • 增加 LittlvGL 图形库(GUI)支持

修改

  • SPIFFS 大小从 6M 减小到 3M, 其实地址从 0x600000 改变为 0xD00000
  • 其它优化, 包括固件大小、稳定性、小Bug 修复等

固件下载

maixpy_v0.2.4

说明

maixpy_v0.2.4_full.bin: 全功能版本, 固件体积会比较大

maixpy_v0.2.4_minimum.bin: 最小功能版本,只保留了基本的模块,为AI 或者其它功能腾出空间

maixpy_v0.2.4_*_with_model_at_0x300000.kfpkg: 内置了一个人脸识别模型, 烧录后可以直接运行代码查看现象:代码例示kpu.load(0x300000)

文档 和 例程


v0.1.1 beta

20 Feb 04:13
Compare
Choose a tag to compare
v0.1.1 beta Pre-release
Pre-release

Update v0.1.1 (beta)

New Features

  • Support most of Micropython standard lib, see doc
  • Support hardware on chip peripheral: I2C PWM SPI Timer UART FPIOA GPIO
  • Support openmv class lcd sensor and image(not completely yet)
  • VFS support, flash use spiffs, and FAT32 format SD(TF) card
  • Add WiFi(esp8285) driver, see network and socket module
  • Support Micropython Editor, edit file by pye("filename.py")
  • Support file transform tools, GUI tool uPyLoader and shell tool armpy

Files