-
• #2
Looks like your board isn't in bootloader mode? Hold down BTN1 and then press and release RST - the blue LED should start glowing and then you can flash it.
BUT you actually need to write to a different address (0x08002800 - because of the bootloader).
It's best just to run:
ESPRUINO_1V3=1 make serialflash
And that will automatically call the correct command.
-
• #3
Amazing, after all that troubleshooting to get
make
working, I failed to realize I should probably set the board to bootloader mode. That command worked great @Gordon, thanks much!I'm getting all the more excited about the Espruino project and its potential after seeing your dedication to it. I didn't quite expect a forum reply that late at night. :)
-
• #4
No problem :) I just happened to see the post when I went to turn the PC off - always glad to help, especially if you're planning on contributing back ;)
I've cloned the Espruino repository with the intention of contributing to the JavaScript implementation (in as far as I can wrap my head around C). I've got an Espruino board, so I'm running make with
ESPRUINO_1V3=1
.I am on commit e4677650181132e9f883df9fbfeb4d4d3d60d3e9 when I'm doing all this. My machine is running Ubuntu 12.04 and I've installed all the compiler bits as far as I'm aware. (gcc, arm-none-eabi-gcc, and another one which name escapes me right now.)
My full make command:
I haven't exported any other env variables prior to running
make
.Make exits with these last few lines, and an exit code of 0 (I think):
Here's a full dump of
make
's output.Then, I'm running the loader:
Which outputs:
Is there something wrong with the build, or the problem purely in loading it onto the board? I'd appreciate any pointers.