Search found 9 matches

by wghe
Mon Mar 18, 2019 7:55 pm
Forum: Development of MicroPython
Topic: Micro:bit sensor project idea
Replies: 1
Views: 1846

Re: Micro:bit sensor project idea

I think you are looking for some proximity detection through ToF sensor matrix.

https://www.st.com/en/imaging-and-photo ... tId=SC1934

Good luck!
WG
by wghe
Thu Mar 14, 2019 9:44 pm
Forum: General Discussion and Questions
Topic: meaning for GC report number
Replies: 3
Views: 2217

Re: meaning for GC report number

Hi Dave,

Very clear and got it! :)

Best regards,
WG
by wghe
Thu Mar 14, 2019 7:58 pm
Forum: General Discussion and Questions
Topic: meaning for GC report number
Replies: 3
Views: 2217

meaning for GC report number

Hi

Could anyone please to explain following GC number from machine.info()?

Code: Select all

>>> machine.info()
GC:
102784 total
2112 : 100672
1=56 2=23 m=8


Thanks in advance!

Regards,
WG
by wghe
Mon Mar 11, 2019 9:47 pm
Forum: Development of MicroPython
Topic: Disable dfu UPLOAD in mboot
Replies: 0
Views: 1940

Disable dfu UPLOAD in mboot

Hi Following changes can make mboot to disable dfu UPLOAD function, hope it is useful! 1. modify mpconfigboard.h like this: // Remove MBOOT_UPLOAD_ENABLE to disable dfu UPLAOD for released firmware #define MBOOT_UPLOAD_ENABLE (1) #define MBOOT_UPLOAD_EMPTY_BYTE (0xFF) 2. change main.c for /mboot: vo...
by wghe
Mon Mar 11, 2019 2:35 pm
Forum: Development of MicroPython
Topic: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN
Replies: 8
Views: 4919

Re: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN

Hi Meekdai,

Thanks, will try that zadig.

Regards,
WG
by wghe
Sat Mar 09, 2019 12:41 pm
Forum: Development of MicroPython
Topic: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN
Replies: 8
Views: 4919

Re: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN

Hi Dave, Thanks for sharing more details! I just ported mboot to other stm32 hardware with 1 USR switch and 1 LED, the change to remove reset_mode can jump to application automatically and run mboot if hold the USR switch after reboot. I am using RaspberryPi 3B+ for cross-compiling MicroPython firmw...
by wghe
Fri Mar 08, 2019 10:49 pm
Forum: Development of MicroPython
Topic: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN
Replies: 8
Views: 4919

Re: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN

Hi Dave, I tried dfu-util, but it does not work for mboot. 1. dfu-util: dfu-util-0.9-win64 2. command: dfu-util -a 0 -d 0483:df11 -D firmware.dfu 3. error output: Cannot open DFU device 0483:df11 No DFU capable USB device available So, I changed to use en.stsw-stm32080.zip from ST, it can write firm...
by wghe
Fri Mar 08, 2019 9:11 pm
Forum: Development of MicroPython
Topic: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN
Replies: 8
Views: 4919

Re: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN

Hi Dave

Thanks! You are correct, 'make' process works with your suggest.

Regards,
WG
by wghe
Fri Mar 08, 2019 6:34 pm
Forum: Development of MicroPython
Topic: No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN
Replies: 8
Views: 4919

No genhdr/pins.h to make mboot with MBOOT_BOOTPIN_PIN

Hi! I am trying to make mboot for default PYBV10 board. I added MBOOT_BOOTPIN_PIN related defines in /PYBV10/mpconfigboard.h: #define MBOOT_BOOTPIN_PIN (pin_A0) #define MBOOT_BOOTPIN_PULL (MP_HAL_PIN_PULL_UP) #define MBOOT_BOOTPIN_ACTIVE (0) After $ make V=1 USE_MBOOT=1, mboot got following error: I...