Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main.py/boot.py not running on boot #464

Open
JustinOng opened this issue Apr 26, 2022 · 0 comments
Open

main.py/boot.py not running on boot #464

JustinOng opened this issue Apr 26, 2022 · 0 comments

Comments

@JustinOng
Copy link

Describe the bug
Latest dev build seems to have broken running of main.py and boot.py on boot

To Reproduce
Steps to reproduce the behavior:

  1. Flash
  2. Create main.py and boot.py:
f=open("boot.py", "w");f.write("print('BOOT')");f.close()
f=open("main.py", "w");f.write("print('MAIN')");f.close()
  1. Reset

Expected behavior
MAIN and BOOT should have been printed. On maixpy_v0.6.2_75_g973361c0d:

[MAIXPY] Pll0:freq:806000000
[MAIXPY] Pll1:freq:398666666
[MAIXPY] Pll2:freq:45066666
[MAIXPY] cpu:freq:403000000
[MAIXPY] kpu:freq:398666666
[MAIXPY] Flash:0xc8:0x17
[MaixPy] gc heap=0x802ffd80-0x8037fd80(524288)
[MaixPy] init end

 __  __              _____  __   __  _____   __     __
|  \/  |     /\     |_   _| \ \ / / |  __ \  \ \   / /
| \  / |    /  \      | |    \ V /  | |__) |  \ \_/ /
| |\/| |   / /\ \     | |     > <   |  ___/    \   /
| |  | |  / ____ \   _| |_   / . \  | |         | |
|_|  |_| /_/    \_\ |_____| /_/ \_\ |_|         |_|

Official Site : https://www.sipeed.com
Wiki          : https://maixpy.sipeed.com

BOOT
MAIN
MicroPython v0.6.2-75-g973361c0d on 2022-04-16; Sipeed_M1 with kendryte-k210
Type "help()" for more information.
>>>

Actual behaviour

[MAIXPY] Pll0:freq:806000000
[MAIXPY] Pll1:freq:398666666
[MAIXPY] Pll2:freq:45066666
[MAIXPY] cpu:freq:403000000
[MAIXPY] kpu:freq:398666666
[MAIXPY] Flash:0xc8:0x17
[MaixPy] gc heap=0x802ffd80-0x8037fd80(524288)
[MaixPy] init end

 __  __              _____  __   __  _____   __     __
|  \/  |     /\     |_   _| \ \ / / |  __ \  \ \   / /
| \  / |    /  \      | |    \ V /  | |__) |  \ \_/ /
| |\/| |   / /\ \     | |     > <   |  ___/    \   /
| |  | |  / ____ \   _| |_   / . \  | |         | |
|_|  |_| /_/    \_\ |_____| /_/ \_\ |_|         |_|

Official Site : https://www.sipeed.com
Wiki          : https://maixpy.sipeed.com

MicroPython v0.6.2-77-g11806960d on 2022-04-21; Sipeed_M1 with kendryte-k210
Type "help()" for more information.
>>>

Please complete the following information

  • IDE version: NA
  • Firmware version: v0.6.2-77-g11806960d
  • Board: Maix Bit
  • OS: Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant