Search found 147 matches

by chrismas9
Sun Dec 22, 2019 3:00 am
Forum: MicroPython pyboard
Topic: [CLOSED] Custom Micropython build
Replies: 7
Views: 751

Re: Custom Micropython build

You need to install the full MSYS2, not just make. There are various utils like SED that are needed. You need to set the MSYS2 path before windows\system32 because it has to replace some Windows utilities. I find it easier to use WSL for building MicroPython with Windows tools for managing source co...
by chrismas9
Sun Dec 22, 2019 2:40 am
Forum: MicroPython pyboard
Topic: Loading Files via JTAG
Replies: 4
Views: 499

Re: Loading Files via JTAG

You can add UART REPL in mpconfigport.h. See NUCLEO_F411RE port for an example. For Linux use rshell to copy scripts to the flash. I use Thonny on Windows. There are discussions on the forum about other IDEs and plugins. For production you can use JTAG to read out a complete flash image and clone it...
by chrismas9
Sat Dec 14, 2019 5:34 am
Forum: General Discussion and Questions
Topic: Propeller Spin vs MicoPython Ideology
Replies: 4
Views: 461

Re: Propeller Spin vs MicoPython Ideology

Have a look at uasyncio cooperative multi-tasking and Peter Hinch's tutorials. There is lots of discussion on the forum and GitHub
by chrismas9
Tue Dec 03, 2019 12:44 pm
Forum: General Discussion and Questions
Topic: GPS Antennas interchangeability
Replies: 3
Views: 372

Re: GPS Antennas interchangeability

You should be able to swap antennae. They are all 50 ohm and same frequency. I have used quite a few different types. If you want to compare antennae find an app that displays all satellites in view and run both antennae at the same time using two modules. Look at the number of satellites found and ...
by chrismas9
Fri Nov 15, 2019 2:48 am
Forum: Pyboard D-series
Topic: UART on alternate pins
Replies: 4
Views: 1088

Re: UART on alternate pins

Edit the pin assignment in mpconfigboard.h for your port and rebuild MicroPython
by chrismas9
Fri Nov 15, 2019 2:46 am
Forum: Programs, Libraries and Tools
Topic: New version of Thonny IDE
Replies: 7
Views: 1886

Re: New version of Thonny IDE

What i still miss: automatic sync files on device <-> local I actually use Thonny to avoid writing to local flash. I have multiple test scripts with different names that Thonny lets me run in RAM without renaming them to main.py. Only when one is tested do I download it as main.py. Also some of my ...
by chrismas9
Fri Nov 15, 2019 2:35 am
Forum: General Discussion and Questions
Topic: CAN on STM32F4xx
Replies: 12
Views: 1288

Re: CAN on STM32F4xx

If the STBY is high or floating the device will sleep until it sees a dominant star on the bus. This means the transceiver at the listening end will wake up after a delay. The sending end will not wake up if you want to send. You need to either tie STBY low or drive it low before sending. It is also...
by chrismas9
Fri Nov 15, 2019 2:21 am
Forum: Development of MicroPython
Topic: [Solved]screen /dev/ttyACM0 on STM32L4R9IDISC
Replies: 17
Views: 1628

Re: screen /dev/ttyACM0 on STM32L4R9IDISC

If you can't get the green LED to flash you have a more fundamental problem than no REPL. I would review the driver and HAL interface changes you made for the MCU. On one port I did the interrupt vector table was different to most and I have also found the occassional bug in the STM32hal libraries. ...
by chrismas9
Wed Nov 13, 2019 7:56 pm
Forum: General Discussion and Questions
Topic: CAN on STM32F4xx
Replies: 12
Views: 1288

Re: CAN on STM32F4xx

Do you have a Pyboard or any Nucleo or Discovery board with dual CAN MCU. It might be worth trying your hardware and test script on other hardware.
by chrismas9
Wed Nov 13, 2019 6:03 pm
Forum: Development of MicroPython
Topic: [Solved]screen /dev/ttyACM0 on STM32L4R9IDISC
Replies: 17
Views: 1628

Re: screen /dev/ttyACM0 on STM32L4R9IDISC

Is MicroPython running? Hold the joystick button down and press reset. The green LED should count in flashes. One flash, two then three. Release the button after three flashes. It should reset the filesystem which will hold the LED one for one or two seconds.