Search found 9 matches

by ZeekDev
Mon Mar 09, 2020 5:00 am
Forum: General Discussion and Questions
Topic: MicroPython using a Virtual Machine?
Replies: 8
Views: 7882

Re: MicroPython using a Virtual Machine?

No, im wanting to run it on hardware, I just need about double the 128K of ram it has.

Also the Pyboard is about 50$, bit too over my budget sadly.

If only there was a native raspberry implementation :shock:
by ZeekDev
Sun Mar 08, 2020 10:02 am
Forum: General Discussion and Questions
Topic: MicroPython using a Virtual Machine?
Replies: 8
Views: 7882

Re: MicroPython using a Virtual Machine?

You could use an ESP32 with SPIRAM, which gives you 4 MByte of heap space. With PYBD-SF6 you have ~ 400k available heap space. What is a PYBD-SF6? I didn't see that in the store. Also, I heard there was a Pi Zero port, as it uses the same CPU. However, I cant find any real way to install it or use ...
by ZeekDev
Sun Mar 08, 2020 9:44 am
Forum: General Discussion and Questions
Topic: MicroPython using a Virtual Machine?
Replies: 8
Views: 7882

MicroPython using a Virtual Machine?

Hear me out here. I came to ask if Micropython was capable of being run on a Windows/Linux virtual machine. What i mean by this is, is there a way I can take the essential backend ROM or init code to set up μPy itself into an ISO, and package it snd run it on a virtualbox? And run it like it is an A...
by ZeekDev
Tue Feb 25, 2020 5:53 am
Forum: General Discussion and Questions
Topic: New to MicroPython, question about RAM.
Replies: 10
Views: 7129

Re: New to MicroPython, question about RAM.

I'm simply trying to figure out exactly how much ram I should expect to have for my Python program. The program will have about ~2000 lines, I'm going to store it on a external SD card. My main issue is I want to make sure I don't get overloaded with memory errors (It will access variables/lists a ...
by ZeekDev
Tue Feb 25, 2020 5:43 am
Forum: General Discussion and Questions
Topic: Clock speed increase?
Replies: 1
Views: 1470

Clock speed increase?

My clock speed is stuck at ~5-10 MHZ, but the limit for my board (pyboard 1.1) is 168MHZ. My script takes about 30 minutes to run (400 lines) I've tried importing machine and using machine.freq() but it doesnt seem to be a defined function, any way I can force the CPU to run at a speed faster than t...
by ZeekDev
Tue Feb 25, 2020 5:29 am
Forum: General Discussion and Questions
Topic: New to MicroPython, question about RAM.
Replies: 10
Views: 7129

Re: New to MicroPython, question about RAM.

Ah ok, is there any way in python to access the CCMRAM whatsoever? What do you mean by access from Python? i.e. you can always use machine.mem8 etc, but I guess you mean you want to store program data there (i.e. more heap). However, I just remembered that MicroPython uses the (entire) CCMRAM for t...
by ZeekDev
Tue Feb 25, 2020 5:12 am
Forum: General Discussion and Questions
Topic: New to MicroPython, question about RAM.
Replies: 10
Views: 7129

Re: New to MicroPython, question about RAM.

In this case, the heap is the "Python heap", i.e. it's what's available to your Python program to use for storing variables, plus anything used by the VM such as compiled bytecode. The rest of the RAM is used by the stack and any memory used by the very low level parts of the firmware (i.e. the dat...
by ZeekDev
Tue Feb 25, 2020 4:21 am
Forum: General Discussion and Questions
Topic: New to MicroPython, question about RAM.
Replies: 10
Views: 7129

Re: New to MicroPython, question about RAM.

My understanding is that while the STM32F4 in the Pyboard does support external RAM (via the FSMC), the particular package used in the Pyboard 1.1 does not have the pins (i.e. it would need to be the 100-pin or higher packages). The other option is (Q)SPI RAM, which you could map for reading like r...
by ZeekDev
Mon Feb 24, 2020 7:54 pm
Forum: General Discussion and Questions
Topic: New to MicroPython, question about RAM.
Replies: 10
Views: 7129

New to MicroPython, question about RAM.

Hello. I've recently bought a MicroPython Pyboard 1.1, and I noticed the board has 192k of RAM. I was wondering if there is/there are plans to offer expansions for RAM, either by a connector or an expansion card? or if there is another way to expand memory at home. While 192k will work wonders for m...