resolved: starting exploring the Jeenode Zero (upload not working)
It arrived yesterday! Following the instructions in the wiki (http://jeelabs.org/article/1651c/), the C-version, everything was easy and straight forward. First obstacle, the upload does not work. This is what I see:
Connected to: /dev/ttyUSB0
Count: 568 bytes
Checksum: b1dc0e80 hex
That's what I did: Host: PC/Suse Linux, binary version of folie, the commands have to be transferred on the command line:
folie -p /dev/ttyUSB0 -b 115200 -u blink.bin
I tried baudrates 115200, 57600, 9600, the same result. What may be the problem? Is the bootloader missing?
Additional information: Connected the JNZ via USB-Bub, no modifications, the red LED on the JNZ is on, so the polarity seems to be OK.
Thanks for help,
p.s.: I am not sure, is this the appropriate place to give feedback concerning the Jeenode Zero?
OK, reflashing worked. I wanted to explore the RF69, the rf-xxx words were not there. So I did:
the last one ended like this:
1> core.fs 5: ( core start: ) 00008100 ok.
2> rf69.fs 59: rf!@ not found.
I took these files from embello/explore/1608-forth/jz3. Where can I find rf69.fs for jz3?
In this (uncomplete) state rf-init gives the answer "stack underflow", which was also the case before I reflashed Mecrisp. Perhaps the fabric software is worng at this point as well.
Here's a complete re-flash and reload from scratch, same as what I did for the rev3 boards we shipped out to you:
$ folie Folie v2.9 ? Select the serial port: 1: /dev/cu.Bluetooth-Incoming-Port 2: /dev/cu.usbmodem3430DC31 ? 2 Enter '!help' for additional help, or ctrl-d to quit. [connected to /dev/cu.usbmodem3430DC31] !u 6 20500b .+V31 #0417 R .+W .+E161* writing: 81/81 done. Mecrisp-Stellaris RA 2.3.3 with M0 core for STM32L053C8 by Matthias Koch Erase block at 00005004 from Flash Erase block at 00005080 from Flash Finished. Reset Mecrisp-Stellaris RA 2.3.3 with M0 core for STM32L053C8 by Matthias Koch !s always.fs 1> always.fs 3: 1> always.fs 4: Finished. Reset Mecrisp-Stellaris RA 2.3.3 with M0 core for STM32L053C8 by Matthias Koch 1> always.fs 11: ( flash use: ) 00005064 ok. 1> always.fs 12: Redefine eraseflash. ok. !s board.fs 1> board.fs 4: eraseflash Finished. Reset Mecrisp-Stellaris RA 2.3.3 with M0 core for STM32L053C8 by Matthias Koch 1> board.fs 6: ( board start: ) 00005100 ok. 1> board.fs 35: Redefine init. ok. 1> board.fs 63: ( board end, size: ) 00008100 12288 ok. !s core.fs 1> core.fs 3: <<<board>>> Finished. Reset Mecrisp-Stellaris RA 2.3.3 with M0 core for STM32L053C8 by Matthias Koch 64 KB <jnz> 39440C47 ram/flash: 6816 32384 free ok. 1> core.fs 4: cr compiletoflash ok. 1> core.fs 5: ( core start: ) 00008180 ok. 2> rf69.fs 133: Redefine rf-init. ok. 1> core.fs 16: ( core end, size: ) 0000AF78 11768 ok. ok. !reset Mecrisp-Stellaris RA 2.3.3 with M0 core for STM32L053C8 by Matthias Koch 64 KB <jnz> 39440C47 ram/flash: 4928 20480 free ok.
This was done by entering these line, with
1608-forth/jz3/ as working directory:
folie 2 !u 6 !s always.fs !s board.fs !s core.fs CTRL-C
rf69.fs is in
../flib/spi/rf69.fs - as you can also see in
core.fs, where it is included
It's OK now, works as you described, when I made a new git-clone of embello. Obviously the one that I had on my PC before, was corrupted.
Just a remark to prevent others to run into the same mistakes that I made. I was wondering why the SerPlus-dongle that I soldered worked well for communication with JNZ, but still was not good for uploads. After unsuccessfull research for bad soldering spots, I finally found the mistake: When working with the SerPlus-dongle, folie must be lauched WITHOUT "-r"!