Search found 53 matches

by Tetraeder
Mon Aug 31, 2015 7:20 am
Forum: Development of MicroPython
Topic: Reduced MicroPython
Replies: 11
Views: 9850

Re: Reduced MicroPython

I want at the end micro python which consists only of the UART repl and the necessary files for Python.

Ok thanks for the tip. Let's see how much I can still reduce to nothing more goes :D
by Tetraeder
Fri Aug 28, 2015 1:08 pm
Forum: Development of MicroPython
Topic: Reduced MicroPython
Replies: 11
Views: 9850

Re: Reduced MicroPython

The strip down method was better for me. Yielded faster results. My reduced MicroPython: - /tools - /extmod - /lib - /py - /stmhal * bufhelper * extint * gccollect * gchelpers.s * irq * main * Makefile * make-stmconst.py * modpyb * modstm * modstmconst.gen.c * moduselect * mpconfigport.h/.mk * mphal...
by Tetraeder
Thu Aug 27, 2015 7:09 am
Forum: Development of MicroPython
Topic: Reduced MicroPython
Replies: 11
Views: 9850

Reduced MicroPython

Hello everyone, In my try to understand MicroPython(is an still ongoing process :? :?: ) i reduced the whole MicroPython project to the minium. Only Repl running over UART (no USB driver, leds, pins, spi, i2c,...) on the pyBoard. For me it's the best starting point to port MicroPython to another tar...
by Tetraeder
Tue Apr 21, 2015 6:07 am
Forum: Other Boards
Topic: Pin confuguration STM32F429
Replies: 3
Views: 6076

Re: Pin confuguration STM32F429

Hello, At the time you can flash micropython on the STM32F429i with the build-enviroment of the "STM32F4DISCO". Problem is that the USB_OTG connector "CN6" is currently not working, so you have no access to micropython over USB. But you can set in the main.c a UART-instance for the REPL prompt. Furt...
by Tetraeder
Mon Apr 13, 2015 2:53 pm
Forum: Development of MicroPython
Topic: How to change the USB instance?
Replies: 7
Views: 7115

Re: How to change the USB instance?

Little update,...
The STM32F429 discovery firmware package included libraries for the USB_OTG_HS, this is the right track.

I try to integrate the libraries....i report back soon.
by Tetraeder
Fri Apr 10, 2015 9:16 am
Forum: Development of MicroPython
Topic: How to change the USB instance?
Replies: 7
Views: 7115

Re: How to change the USB instance?

Thanks for the quick answers, blmorris. Exactly i will use the combined FS/HS (USB-HS) controller (CN6) in Full-Speed-Mode for the repl and CN1 for power supply / firmware upgrade (ST-Link/V2) Currently running MicroPython at the F429i with many modules (LED,PWM,UART,... and a repl-prompt via UART)....
by Tetraeder
Thu Apr 09, 2015 9:41 am
Forum: Development of MicroPython
Topic: How to change the USB instance?
Replies: 7
Views: 7115

Re: How to change the USB instance?

okay, so HS is not supported without an external transceiver. For my understanding: Therefore at the line 97 in /stmhal/usbd_conf.c is the HS-config for other targets how has USB-HighSpeed support, right? The pyboard uses the FS-config starting at line 57 (stmhal/usbd_conf.c), declared in /stmhal/bo...
by Tetraeder
Tue Apr 07, 2015 2:54 pm
Forum: Development of MicroPython
Topic: How to change the USB instance?
Replies: 7
Views: 7115

How to change the USB instance?

Hallo again :) ,

I have changed the USB port configuration in /stmhal/usbd_conf.c for the USB_OTG_FS.

My Question is, in which file will set the variable ``hpcd->Instance``?
Or is decided by the driver, whether HighSpeed or FullSpeed?

thanks
by Tetraeder
Tue Mar 17, 2015 8:20 am
Forum: MicroPython pyboard
Topic: Firmware flashing methods?
Replies: 9
Views: 11419

Re: Firmware flashing methods?

Okay thanks I try it. Back to my thread headline "Firmware flashing methods". I try to explain it..... Firmware.dfu ( D evice F irmware U pgrade) -> is converted from the Firmware.elf and can be flashed to pyboard over DFU-UTIL (some posts above explained). Firmware.elf ( E xecutable and L inkable F...
by Tetraeder
Tue Mar 10, 2015 3:29 pm
Forum: MicroPython pyboard
Topic: Firmware flashing methods?
Replies: 9
Views: 11419

Re: Firmware flashing methods?

Thanks Bryan, After I now again a little deeper into MicroPython, I can confirm the acceptance. Now I try to rebuild step by step MicroPython for the pyBoard with the minimal-directory. I guess that's the best way to get an idea how MicroPython works for a later porting to another MCU. Or have anybo...