TheAlchemist
Member since May 2016 • Last active Jun 2016Most recent activity
-
I was wondering if there was any more work done on this issue.
As someone just starting out in the embedded space, I can testify that the Pico has a much better beginner experience than a Raspberry Pi, especially for JavaScript.
I can put some work in on this issue... I like the idea of DietPI that boots directly into a Espruino prompt that can be programmed using the Web IDE.
Besides the timer issue (BTW, here's the Broadcom datasheet for the Zero), anyone foresee any problems?
-
- 14 comments
- 5,173 views
-
-
espruino_1v85.139_pico_1r3_bootloader.bin
successfully flashed this time, yay!I tried almost everything I could think of, including:
- B3-B8
- B3-B7, A8
- B13-B15, A5-A7
Just for the record, what's the proper syntax for
.connect()
:var wlan = require("CC3000").connect(SPI2, A7, A6, A5);
....or....
var wlan = require("CC3000").connect(SPI2, {cs:A7, en:A6, irq:A5});
Thanks so much, @Gordon! :)
- B3-B8
-
Sorry, @Gordon, no luck with
espruino_1v85.139_pico_1r3_bootloader.bin
either. Same result: red LED stays on.Any ideas? I don't think my Pico is busted, because I just flashed it back with the regular firmware, and works fine.
-
There's a weird non-printable character in the URLs above. (To give credit where credit is due, I used https://hexed.it/ to inspect the URLs.)
But, anyway, http://www.espruino.com/tmp/espruino_1v85.139_pico_1r3.bin doesn't seem to work on my Pico. :( The red LED is on when I plug it in after uploading the firmware, and the Web IDE can't connect to it (the Ports list is missing the Pico, even).
Any ideas? Perhaps I flashed it wrong? I can upload a screencast, if that would help.
-
Wow, you're awesome, @Gordon! Unfortunately, http://www.espruino.com/tmp/espruino_1v85.139_pico_1r3.bin doesn't seem to exist (I get a 404).
I can't wait to try it on pins other than B3-B8. :)
-
Thanks for the quick reply, @Gordon!
Unfortunately, setting up SPI1 doesn't fix it (that would be too easy). A
.connect()
call with no args always works, but.connect(SPI1, B6, B7, B8)
always hangs, whether I set up SPI or not.At least now I know I'm not going crazy, and this is actually weird.
I'm thinking of just getting an ESP8266, unless there's WiFi module folks recommend.
-
Hi everyone!
I'm trying to use my Pico + CC3000 using non-default pins (not B6-B8).
In failing to do this, I tried just this:
var wlan = require("CC3000").connect(SPI1, B6, B7, B8);
...which hangs!
But this:
var wlan = require("CC3000").connect();
...works great! Takes about four seconds.
Am I using the API incorrectly?
Thanks everyone!
P.S. I tried this too:
var wlan = require("CC3000").connect(SPI1, {cs:B6, en:B7, irq:B8});
Also hangs.
Thanks for all the nitty-gritty details, @Gordon!
About the timer: are we sure this isn't doable? I'm not familiar with the terminology, so I'm not sure what to even Google. The Broadcom datasheet implies there's a timer, but I don't know enough to see if it's the "right kind" of timer.