-
• #2
And...Add, I have tried to communicate with via direct mini-USB on-board, and also by FTDI (Serial1 direct). 115000bauds. No response and no LED !!! Death! :-(
-
• #3
Hmm... It should work. I don't have time to check the actual image on a normal maple board again, but I think people (@bobricius?) do use it and it's fine.
You did use the ST flash utility rather than the maple one?
When flashed with Espruino it would communicate at 9600 baud by default so you could try that?
-
• #4
hi maple mini using diferent pin for usb enumeration controll.
-
• #5
also led is on another pin
-
• #7
I have .py file for maplemini without bootloader. I'm not tested it throughly, but usbserial, led, button, i2c1 and save() works on 4$ maplemini clone from ali. bmp085.js module require hand minification for 20k of RAM.
-
• #8
Great, thanks for letting me know. Do you think you could issue a GitHub pull request for it? I've got a maple mini here so it'd be fun to have it working,
-
• #9
File without board outline definition in attach.
May be somebody else can add it to Github?
MAPLEMINI section of Makefile is just a copy of Olimexino one with BOARD=MAPLEMINI
MAPLEMINI word sould be added to scripts/create_zip.sh also.
1 Attachment
-
• #10
thanks - done!
-
• #11
So strange...
1 Attachment
-
• #12
That is strange! Just tried here, and it happens on the Maple Mini, but not on other boards (well, the Espruino board).
-
• #13
Uh, is this one of the low-ram boards that uses the smaller size jsvars?
Has anyone checked that the jsvar size shrink didn't break that? I think most people are using official boards or the higher spec STM32 boards, so maybe this could have slipped through?
-
• #14
Same incorrect result on the Olimexino_STM32 (128k FLASH, 20k SRAM)
using v1.72 built 2014/12/03.I get the correct result on a real Maple RET6 (512k FLASH, 64k SRAM)
using v1.72 built 2015/01/02 with essentially Bigram parameters applied (3250 jsVars) -
• #15
Yes, it'll be using the 12 bit vars.
I just did a compile with the PC forced to use 12 byte vars, and that showed the problem too - so at least it'll be easy to debug
-
• #16
Right - got it. It's to do with floating point numbers being overwritten by the reference count.
I've got a slightly hacky fix for it I think - I'll commit it in a sec.
-
• #17
Ok, sorted. If you try again with the latest from GitHub then it should work.
-
• #18
Just to confirm this now works with the Olimexino_STM32
-
• #19
Great, thanks for letting me know!
-
• #20
hi, what should I type to upload espruino to maple mini like user51876?
something like that?python maplemini.py -p /dev/ttyUSB0 -evw espruino_1v80_olimexino_stm32.bin
maplemini.py should be instead of stm32loader.py?
-
• #21
could anyone explain how to load Espruino into mini as user51876 did?
-
• #22
Have you tried just using the instructions for flashing other boards - specifically the ones for the Olimexino/Leaflabs Maple?
-
• #23
yes, I did, I can upload standard olimexino_stm32 but my mini then have some mess with pinout, pins are not the same as on the rev3+ maple, rev3+ maple works fine but not mini
-
• #24
You would have to build your own binary using the documentation here : https://github.com/espruino/Espruino
Once you've followed the steps in the Readme, just type
make clean;MAPLEMINI=1 RELEASE=1 make
I tried to upload the firmware to a mini maple, the firmware uploaded fine (Download & Verify), but does not work! Practically, Maple and Maple Mini are identical, based on the same STM32F103, with slight differences & pinout.
Great work with Espruino!!!! I'm looking forward to see how advances, and try ... if I can!