Search found 463 matches
- Mon May 09, 2016 10:59 pm
- Forum: Other Boards
- Topic: STM32 F4 Discovery ...
- Replies: 33
- Views: 36535
Re: STM32 F4 Discovery ...
Seems to me your board is working fine and the issue is with your USB connection. Maybe try a Linux Live distro on a USB drive instead of running in a VM. Or, if you have a serial-USB adapter, enable the console on UART6 in mpconfigboard.h, recompile, flash firmware and then connect the serial-usb a...
- Mon May 09, 2016 9:14 pm
- Forum: Other Boards
- Topic: STM32 F4 Discovery ...
- Replies: 33
- Views: 36535
Re: STM32 F4 Discovery ...
- Does the board show up as a USB device at all (e.g. with lsusb)?
- Did you try the procedure to re-create the flash drive (hold user and reset button, let go of reset button, then release user button when two leds are lit together)?
- Did you try flashing with openocd (make target deploy-openocd)?
- Did you try the procedure to re-create the flash drive (hold user and reset button, let go of reset button, then release user button when two leds are lit together)?
- Did you try flashing with openocd (make target deploy-openocd)?
- Mon May 09, 2016 1:54 pm
- Forum: ESP8266 boards
- Topic: MemoryError when importing a custom module
- Replies: 44
- Views: 44453
Re: MemoryError when importing a custom module
So, if I want to put constant definitions in a separate module, to be imported by my other modules or main program, "const" won't be of any use to me at all? That's unfortunate, because it puts a penalty on modularizing the code.
- Mon May 09, 2016 11:58 am
- Forum: ESP8266 boards
- Topic: MemoryError when importing a custom module
- Replies: 44
- Views: 44453
Re: MemoryError when importing a custom module
That's surprising. Can you elaborate on why this is so?deshipu wrote:I'm afraid const() will only save memory when used within the same module. If you use it from another module, it has to live in memory.
- Mon May 09, 2016 11:44 am
- Forum: Other Boards
- Topic: Burning program into pyboard.
- Replies: 4
- Views: 4103
Re: Burning program into pyboard.
STM32F boards with Flash memory have the facility to protect the flash contents against reading them out with a debugger or similar. It doesn't work with MicroPython and I'm sceptical that it could be made to work.
- Sat May 07, 2016 2:06 pm
- Forum: Drivers for External Components
- Topic: Adding USB-MIDI support to stmhal port?
- Replies: 4
- Views: 7810
- Thu May 05, 2016 12:51 am
- Forum: Other Boards
- Topic: Does micropython in STM32F4DISC support Accel?
- Replies: 2
- Views: 3107
Re: Does micropython in STM32F4DISC support Accel?
There is an staccel.py file in the stmhal/boards/STM32F4DISC directory which does support the accelerometer on the 407 discovery board: https://github.com/micropython/micropython/blob/master/stmhal/boards/STM32F4DISC/staccel.py Except this one doesn't work out of the box. Here's a fixed one: https:...
- Tue May 03, 2016 4:52 pm
- Forum: Drivers for External Components
- Topic: A simple GUI for LCD touchscreens
- Replies: 5
- Views: 7152
- Tue May 03, 2016 10:02 am
- Forum: Drivers for External Components
- Topic: Adding USB-MIDI support to stmhal port?
- Replies: 4
- Views: 7810
Re: Adding USB-MIDI support to stmhal port?
I don't think this would work. USB-MIDI is a configuration of the USB Audio class and not a HID device.
- Tue May 03, 2016 9:50 am
- Forum: Other Boards
- Topic: STM32 F4 Discovery ...
- Replies: 33
- Views: 36535
Re: STM32 F4 Discovery ...
I was replying to this:
Chris
Rando wrote:[...] failing that can you refer me to a know good STM32F4 Discovery that works with MicroPython.
Chris