Search found 75 matches

by bellad
Tue Jun 23, 2020 8:03 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 158
Views: 66300

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

ok , thank , but it's same i have put STM32F4DISC-20200622-unstable-v1.12-557-g3a9d94803.dfu it's ok , except when i do CTRL-D no reset , he crashes when dfu-util -s :mass-erase:force -a 0 -d 0483:df11 -D BLACK_F407VE-20170620-v1.9.1-29-g1686346.dfu cannot open dfu 0483:df11 ok i have put driver zad...
by bellad
Mon Jun 22, 2020 7:26 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 158
Views: 66300

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

hello, i have put BLACK_F407VE-20170620-v1.9.1-29-g1686346.dfu on my card with dfusedemo with bt0-3.3v it's ok after bt0-gnd , i plug usb and unknown device d2 d3 toogle and after nothing i have not st-link , it's possible with usb ? how to switch to repl mode by usb ? for RPEL mode use usb J4 or rx...
by bellad
Fri Jun 19, 2020 11:31 am
Forum: General Discussion and Questions
Topic: mpy-cross for stm32 exist ??
Replies: 1
Views: 185

Re: mpy-cross for stm32 exist ??

i ask me if i have the good firmware because : >>> import gc >>> gc.collect() >>> gc.mem_free() 33488 >>> MPY: sync filesystems MPY: soft reboot MPY: can't mount SD card MicroPython v1.12-513-g51fd6c977-dirty on 2020-06-08; MCUDEV STM32F407VE with STM32F407VE Type "help()" for more information. >>> ...
by bellad
Thu Jun 18, 2020 1:00 pm
Forum: General Discussion and Questions
Topic: mpy-cross for stm32 exist ??
Replies: 1
Views: 185

mpy-cross for stm32 exist ??

hello, i try mpy-cross.exe windows for stm32 MicroPython v1.12-513-g51fd6c977-dirty on 2020-06-08; MCUDEV STM32F407VE with STM32F407VE but when import Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: invalid syntax for number mpy-cross version : MicroPython v.1.12 o...
by bellad
Thu Jun 18, 2020 8:22 am
Forum: General Discussion and Questions
Topic: convert in HEX
Replies: 3
Views: 248

Re: convert in HEX

ok thank Robert

for the both =

Code: Select all

'010000010001000000000000'
by bellad
Thu Jun 18, 2020 7:53 am
Forum: General Discussion and Questions
Topic: convert in HEX
Replies: 3
Views: 248

convert in HEX

hello ,
i try convert

Code: Select all

 mem=[1,0,0,1,0,1,0,0,0,0,0,0]
in Hexadecimal
i try with :

Code: Select all

res = ''.join(format(x, '02x') for x in mem)
but :

Code: Select all

NameError: name 'format' isn't defined
thank
by bellad
Thu Jun 11, 2020 12:42 pm
Forum: General Discussion and Questions
Topic: FATAL ERROR:deadlock stm32
Replies: 2
Views: 193

Re: FATAL ERROR:deadlock stm32

i have change pin A0 with other , it's same
i think a multi thread crash
i use multi thread just for blink led
I shouldn't use it properly
I'm giving up , with no multi thread no crash , my no blink led
never mind
by bellad
Thu Jun 11, 2020 9:32 am
Forum: General Discussion and Questions
Topic: FATAL ERROR:deadlock stm32
Replies: 2
Views: 193

Re: FATAL ERROR:deadlock stm32

i ask me if pa0 -WK_UP pin is good for the out ??
by bellad
Thu Jun 11, 2020 7:50 am
Forum: General Discussion and Questions
Topic: FATAL ERROR:deadlock stm32
Replies: 2
Views: 193

FATAL ERROR:deadlock stm32

hello, i try in multi thread is good during a moment , memory free : 15088 and suddenly FATAL ERROR:deadlock who can do that ?? thank >>> import micropython >>> micropython.mem_info() stack: 564 out of 15360 GC: total: 35072, used: 19984, free: 15088 No. of 1-blocks: 33, 2-blocks: 11, max blk sz: 32...
by bellad
Tue Jun 09, 2020 1:37 pm
Forum: General Discussion and Questions
Topic: stm32 thread
Replies: 13
Views: 578

Re: stm32 thread

stm32 is a muti thread ?? because i 2 thread and a crash who to know the active list of thread ? who to debug thread ? my prog: import machine , time import _thread as th #thermostats cchp=machine.Pin('B15', machine.Pin.IN, machine.Pin.PULL_DOWN) cchf=machine.Pin('B13', machine.Pin.IN, machine.Pin.P...