Search found 9 matches

by NikolaiE
Mon Nov 12, 2018 7:38 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

Re: wtf main.py and boot.py empty?!

I just found out, that you can write inline assembler.

I start to like it.
by NikolaiE
Sat Nov 10, 2018 9:34 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

Re: wtf main.py and boot.py empty?!

if you can manage it to directly interprete c-code this has great value.
by NikolaiE
Sat Nov 10, 2018 8:55 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

Re: wtf main.py and boot.py empty?!

when i push the rst button electricity becomes visible ...
by NikolaiE
Sat Nov 10, 2018 8:29 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

Re: wtf main.py and boot.py empty?!

I'm doing some analyzation: my boot.py: import machine import pyb q = pyb.micros() p = pyb.micros() pyb.LED(3).on() # indicate we are waiting for switch press k = pyb.micros() pyb.LED(4).on() # indicate that we are selecting the mode pyb.usb_mode('VCP+MSC') pyb.main('main.py') # if switch was presse...
by NikolaiE
Sat Nov 10, 2018 7:43 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

Re: wtf main.py and boot.py empty?!

my main.py: this works: pyb.delay(2000) f = open("/sd/schrott.txt", "a") f.write(str(pyb.millis()) + "\n") f.flush() f.close() f = open("/sd/schrott.txt", "r") f.read() uos.sync() pyb.LED(3).on() # indicate we are waiting for switch press pyb.LED(4).on() # indicate that we are selecting the mode and...
by NikolaiE
Sat Nov 10, 2018 7:26 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

Re: wtf main.py and boot.py empty?!

Thanks.

Is there any overview of boot process or enabled devices while starting up?
by NikolaiE
Sat Nov 10, 2018 3:41 pm
Forum: MicroPython pyboard
Topic: wtf main.py and boot.py empty?!
Replies: 12
Views: 829

wtf main.py and boot.py empty?!

I managed it now to write data to the sd-card, but when i remove it: boot.py and main.py are empty?

Then I wrote scripts in there again and repeated procedure, they becam empty again.

Can i manage it to use boot.py and main.py from the sd-card?
by NikolaiE
Sat Nov 10, 2018 2:11 pm
Forum: MicroPython pyboard
Topic: DFU Util does not connect
Replies: 2
Views: 277

Re: DFU Util does not connect

On linux i had no problems, i also thought its a win10 problem.
When I used DFUse from ST it worked on win10

Thank you.
by NikolaiE
Sat Nov 10, 2018 1:30 pm
Forum: MicroPython pyboard
Topic: DFU Util does not connect
Replies: 2
Views: 277

DFU Util does not connect

I have put my Pyboard into dfu mode with connecting the pins. My device manager is showing up the stm32 in dfu mode, but dfu-util still can not connect.

Cannot open DFU device 0483:df11