Search found 10 matches

by mpymike
Wed Mar 16, 2016 8:46 pm
Forum: ESP8266 boards
Topic: New *early access* mp-esp8266-firmware-vXY.bin on ESP8266
Replies: 49
Views: 46263

Re: New mp-esp8266-firmware-v01.bin on ESP8266

I too had similar problems with v02.

It might be useful to list the device_id (eg 4014) and the flash memory chip part number if you can read it.
by mpymike
Tue Mar 15, 2016 8:56 pm
Forum: ESP8266 boards
Topic: New *early access* mp-esp8266-firmware-vXY.bin on ESP8266
Replies: 49
Views: 46263

Re: New mp-esp8266-firmware-v01.bin on ESP8266

Thanks

My ESP-01's seem to use 8Mbit flash (BergMicro 25Q80 with device_id 4014). So it should be big enough.
Could it be that the bin needs >8Mbit for boot_ to work?
by mpymike
Mon Mar 14, 2016 2:55 pm
Forum: ESP8266 boards
Topic: New *early access* mp-esp8266-firmware-vXY.bin on ESP8266
Replies: 49
Views: 46263

Re: New mp-esp8266-firmware-v01.bin on ESP8266

How do you find out what the manufacturer and device codes are?
by mpymike
Mon Mar 14, 2016 4:32 am
Forum: ESP8266 boards
Topic: New *early access* mp-esp8266-firmware-vXY.bin on ESP8266
Replies: 49
Views: 46263

Re: New mp-esp8266-firmware-v01.bin on ESP8266

I've been programming a bunch of ESP01s of dubious quality... A couple of them gave me this boot_ error. MicroPython v1.5.2-395-g5f6d12c on 2016-03-08; ESP module with ESP8266 Type "help()" for more information. >>> import esp >>> esp.osdebug(None) >>> >>> >>> import boot_ ioctl(1, 0) ioctl(5, 0) re...
by mpymike
Mon Sep 08, 2014 1:53 am
Forum: Hardware Projects
Topic: Ello Wrld
Replies: 4
Views: 6784

Re: Ello Wrld

I started building a Rover 5 bot a while back also, but never finished it. I liked it because it comes with a 4 motor option and has plenty of speed and power. As I can see with your chassis it is not very breadboard friendly. I mounted mine using a using a piece of hardboard. I wasn't happy with it...
by mpymike
Tue May 27, 2014 2:51 pm
Forum: General Discussion and Questions
Topic: How fast can an output pin be toggled?
Replies: 24
Views: 23579

Re: How fast can an output pin be toggled?

I think I see what you are suggesting. I maybe missing something but I don't see what the advantage is setting up the DMA to pump out the data like that. Its not like you've offloaded the cpu so it could do something else while the transfer is happening. Implementing a bitbang function in assembler ...
by mpymike
Tue May 27, 2014 3:54 am
Forum: General Discussion and Questions
Topic: How fast can an output pin be toggled?
Replies: 24
Views: 23579

Re: How fast can an output pin be toggled?

With this design the DMA feeds the timer with a stream of pulse width values. The size of the buffer holding these values is given by: * The buffer size can be calculated as follows: * number of LEDs * 24 bytes + 42 bytes This is a bit wasteful imo. Using a bit banging assembler solution it can be d...
by mpymike
Mon May 26, 2014 8:22 pm
Forum: General Discussion and Questions
Topic: native and viper decorator problem
Replies: 0
Views: 3509

native and viper decorator problem

Not sure if I'm using the decorators correctly, or if they are not supported yet. >>> @micropython.native ... def speed_native(): ... print('doing speed_native') ... pin = pyb.Pin('X1', pyb.Pin.OUT_PP) ... for i in range(100000): ... pin.value(0) ... pin.value(1) ... >>> speed_native() doing speed_n...
by mpymike
Mon May 26, 2014 7:13 pm
Forum: General Discussion and Questions
Topic: How fast can an output pin be toggled?
Replies: 24
Views: 23579

Re: How fast can an output pin be toggled?

Thanks for the replies. It looks like the best solution is to use the SPI peripheral. I agree bit banging is not very efficient. I was looking for an easier solution. I didn't know about the 3 different code emitters. I tried the @micropython.native and @micropython.viper decorators but did they did...
by mpymike
Mon May 26, 2014 6:14 am
Forum: General Discussion and Questions
Topic: How fast can an output pin be toggled?
Replies: 24
Views: 23579

How fast can an output pin be toggled?

Just got my board a couple of days ago, awesome! I'm now trying to find a way to use it to control a strip of WS2812 serial LEDs http://www.mikrocontroller.net/attachment/180459/WS2812B_preliminary.pdf These need a stream of digital pulses to control the intensity of each of the RGB LEDs. With a pul...