EMW3165

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

EMW3165

Post by deshipu » Thu Jul 16, 2015 4:38 pm

This has to come up sooner or later, so I may as well be the first to mention the new module on the market:
http://www.seeedstudio.com/depot/EMW316 ... Path=19_20

It says that it has an STM32F411CE with 2.5MB of Flash and 128kB of SRAM. Sounds like something that could maybe run Micropython?

terryoy
Posts: 1
Joined: Mon Aug 17, 2015 3:24 am

Re: EMW3165

Post by terryoy » Mon Aug 17, 2015 4:55 am

I wish to be sooner :)

daguro
Posts: 1
Joined: Tue Sep 15, 2015 1:58 am

Re: EMW3165

Post by daguro » Tue Sep 15, 2015 2:11 am

I've got one of these. This is the memory map for the Lua module that ships:


+-- Content --+-- Flash ---+-- Start ---+--- End ----+
| Bootloader | Internal | 0x08000000 | 0x08007fff |
| Settings | SPI Flash | 0x00000000 | 0x00000fff |
| Application | Internal | 0x0800c000 | 0x0807ffff |
| OTA Storage | SPI Flash | 0x00040000 | 0x000bffff |
| RF Driver | SPI Flash | 0x00002000 | 0x0003ffff |
+-------------+------------+------------+------------+

I got these from going to the boot loader by holding down the boot switch and pressing reset.

There's 464k in that application slot.

I built the stm32f411discovery board image. objdump shows

Sections:
Idx Name Size VMA LMA File off Algn
0 .isr_vector 00000188 08000000 08000000 00008000 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .text 0003f440 08020000 08020000 00010000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .data 0000005c 20000000 0805f440 00050000 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .bss 000063f8 2000005c 0805f49c 0005005c 2**2
ALLOC
4 .heap 00004000 20006454 0805f49c 00056454 2**0
ALLOC
5 .stack 00000800 2000a454 0805f49c 00052454 2**0
ALLOC
6 .ARM.attributes 00000037 00000000 00000000 0005005c 2**0
CONTENTS, READONLY
7 .comment 00000070 00000000 00000000 00050093 2**0
CONTENTS, READONLY


If I try to load this module, it will wipe out the bootloader.

The SWD clock and data are available on the EWM3165. Anyone have experience using the VLINK on a Discovery board to jump another device?

loboris
Posts: 344
Joined: Fri Oct 02, 2015 6:19 pm

Re: EMW3165

Post by loboris » Fri Oct 02, 2015 6:33 pm

You can easily connect EMW3165 to Diiscovery ST-LINK SWD port.
Remove CH3 jumpers and connect SWCLK, GND, SWDIO, NRST from CN2 to EMW3165. No need to connect VDD.
Update st-link firmware first, than you can read the content of the flash and save it as backup.
I've tested it with WiFiMCU board. Image

danielm
Posts: 167
Joined: Mon Oct 05, 2015 12:24 pm

Re: EMW3165

Post by danielm » Mon Oct 19, 2015 12:45 pm

Are there any news regarding possibility of MicroPython running on this MCU?

KevinA
Posts: 12
Joined: Mon Nov 09, 2015 11:17 pm

Re: EMW3165

Post by KevinA » Tue Nov 10, 2015 3:20 am

Are there any news regarding possibility of MicroPython running on this MCU?
Anyone working on this? Seeed has the EMW3165 module for $7.95 with a $21 EMWE - 3165 - A Development Board, Banggood.com has the WiFiMCU EMW3165 for $11 with free shipping. The WICED SDK comes with everything including the tool chain when you launch Eclipse you can import a project and burn it in minutes (with a break for coffee).

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: EMW3165

Post by pfalcon » Tue Nov 10, 2015 8:51 am

Well, let's hope Seeed works on this - that's their hardware, they sell it, and they are in good position to support software development for it.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
platforma
Posts: 258
Joined: Thu May 28, 2015 5:08 pm
Location: Japan

Re: EMW3165

Post by platforma » Tue Nov 10, 2015 12:23 pm

Ordered one together with wifimcu board as well, aliexpress has a discount on them. I guess the progress depends on the involvement of devs. I'd be interested to poke around if there is more info available than what we had at the beginning of ESP discovery.

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: EMW3165

Post by mcauser » Wed Jan 24, 2018 7:28 am

The EMW3165 is on sale at Seeed at $4.48
https://m.seeedstudio.com/productDetail/2488
Grabbing two

Opps, sorry for digging up a 3yr old post.

Post Reply