Search found 9 matches
- Mon Dec 16, 2019 4:52 am
- Forum: Other Boards
- Topic: [PIC32M]MicroPython port to the PIC32M
- Replies: 4
- Views: 3326
Re: [PIC32M]MicroPython port to the PIC32M
Nice work! I'd like to give this a try; is there a dev board you could recommend that uses this micro? Hi mattyt, So far I didn't find any dev board comes with this micro, but these two combined together could make one: https://www.digikey.com.au/product-detail/en/microchip-technology/DM330013-2/DM...
- Fri Nov 08, 2019 10:19 am
- Forum: Other Boards
- Topic: [PIC32M]MicroPython port to the PIC32M
- Replies: 4
- Views: 3326
Re: [PIC32M]MicroPython port to the PIC32M
Nice work! I'd like to give this a try; is there a dev board you could recommend that uses this micro? Hi mattyt, So far I didn't find any dev board comes with this micro, but these two combined together could make one: https://www.digikey.com.au/product-detail/en/microchip-technology/DM330013-2/DM...
- Fri Nov 08, 2019 3:21 am
- Forum: Other Boards
- Topic: [PIC32M]MicroPython port to the PIC32M
- Replies: 4
- Views: 3326
[PIC32M]MicroPython port to the PIC32M
MicroPython port to the PIC32M https://github.com/jacklinquan/micropython/tree/pic32m/ports/pic32m This is an experimental port of MicroPython to the PIC32M series microcontroller from Microchip. The experiment is done with PIC32MX170F256B in 28-pin DIP package for easy hand soldering. Supported fea...
- Thu Oct 31, 2019 11:41 pm
- Forum: Other Boards
- Topic: [PIC32]Experiment on PIC32MX170F256B, gc.collect() crashes.
- Replies: 4
- Views: 2973
Re: [PIC32]Experiment on PIC32MX170F256B, gc.collect() crashes.
I'm not sure if PIC32 port is still of any interest I have been using PIC32MX and would be interested to see how it performs under micropython. Are you interested in making your port public and published on Github? Hi uCTRL, I will try to upload it to github and do a pull request for pic32 port. Th...
- Thu Oct 31, 2019 11:35 pm
- Forum: Other Boards
- Topic: [PIC32]Experiment on PIC32MX170F256B, gc.collect() crashes.
- Replies: 4
- Views: 2973
Re: [PIC32]Experiment on PIC32MX170F256B, gc.collect() crashes.
Hi @stijn, Thank you for the explanation. I've figured it out. Now gc.collect() works fine. To answer these questions to myself or others who are interested: 1, To read out stack pointer, must use some asm code, but can be very simple. 2, PIC32 stack is descending. 3, stack_dummy in main.c does not ...
- Thu Oct 31, 2019 2:05 am
- Forum: Other Boards
- Topic: [PIC32]Experiment on PIC32MX170F256B, gc.collect() crashes.
- Replies: 4
- Views: 2973
[PIC32]Experiment on PIC32MX170F256B, gc.collect() crashes.
Hi, I'm not sure if PIC32 port is still of any interest. I did a quick experiment anyway. The micro is PIC32MX170F256B in DIP package for easy soldering. I made a simple hand soldered board with only 1 LED as peripheral and UART1 as REPL. The firmware development environment is: MPLAB X IDE v5.10 MC...
- Thu Oct 03, 2019 3:27 am
- Forum: Other Boards
- Topic: [PIC24]REPL error of assertion"emit->stack_zise == 0"
- Replies: 3
- Views: 2133
Re: [PIC24]REPL error of assertion"emit->stack_zise == 0"
@jimmo @Damien I've confirmed my findings with the micropython port for pic16 from https://github.com/micropython/micropython/tree/master/ports/pic16bit I built this port with PIC24FJ1024GB606 and the same Makefile(the path of XC16 changed). You can find it here: https://github.com/jacklinquan/micro...
- Tue Oct 01, 2019 11:23 am
- Forum: Other Boards
- Topic: [PIC24]REPL error of assertion"emit->stack_zise == 0"
- Replies: 3
- Views: 2133
Re: [PIC24]REPL error of assertion"emit->stack_zise == 0"
Hi Jimmo, Thank you for the reply. This afternoon I just tried the latest version (1.11.0) from https://github.com/micropython/micropython/tree/master/ports/pic16bit It compiled as well and gave me the same result. The REPL works on UART and small number math works. The errors for the others are the...
- Tue Oct 01, 2019 1:58 am
- Forum: Other Boards
- Topic: [PIC24]REPL error of assertion"emit->stack_zise == 0"
- Replies: 3
- Views: 2133
[PIC24]REPL error of assertion"emit->stack_zise == 0"
Hi, I'm trying to port MicroPython to PIC24 (PIC24FJ1024GB606), a 16-bit micro from Microchip. I'm using MicroPython version 1.9.2, the same version used for MicroBit. Compiler: XC16 v1.35 The experiment project compiles and run the REPL on UART. Here's some brief result: Very simple math works like...