Finish early Bonus:Paid to learn Zephyr Project RTOS on B-L475E-IOT01A


#21

So this is the fork from Github

I am adding everyone as a Github Collaborator to this project.

Everyone should clone this and also make push request to make sure that I can confirm.

I will be offline intermittently after the 21st of Oct so please do this soon.

Mark


#22

I couldn’t make it today but plan on showing up next time. Thanks @majicj -
have forked this.Edit - correction - cloned!


#23

Tim has left you guys 2 boards in the drop box


#24

Just wasted a few hours trying to get Ubuntu working on a16GB Kingston thumbdrive. Now its saying cannot locate several pkgs. Arrggghh.
[edit: ok I figured it out]


#25

How is it going. I will be at vhs Saturday at 15:00 to help people finish their task 1 hello world and blinky


#26

I will have 1 and perhaps 2 Linux laptops to in block people.
It you new help don’t for get to bring your board and record videos of success for the blog


#27

Yes, we need an attendance update from the participants, I know that Rebel is coming around 3.30pm.

OK I ran out of disk space on the USB based linux even with only 3GB persistant partition. Hours wasted :wink:


#28

I’m moving along slowly…but moving. Just troubleshooting some SDK issues but I feel close…so close.
edit: woo - got it, just need to flash to the board which I will do tomorrow. Will come in early.


#29

Progress!

(64 bit Linux running in a virtual machine on a WIndows 10 host)


#30

Hi Zephyrers,
My re-re-re…installation was fine (the culprit was a faulty USB cable from a ST Micro development kit, handed out by ST Applications Engineers at the ST Day conference in Seattle), here are the steps and pitfalls:

(1) Please follow the install instructions exactly as per https://github.com/erwango/openocd-stm32.

(2) Don’t follow the steps on either https://www.zephyrproject.org/doc/getting_started/installation_linux.html OR
http://zephyr-docs.s3-website-us-east-1.amazonaws.com/online/dev/boards/arm/disco_l475_iot1/doc/disco_l475_iot1.html

(3) Use a KNOWN good USB to USB micro cable!

(4) You may need correct arm-gcc and arm-gdb; let Debian’s “Synaptics Package Manager” and Fedora’s “Yum Package manager” point the correct dependencies.

(5) If possible, sit next to Peter (Thank you Peter!) who helped a ton!

(6) To flash to STMicro board, use the command:
stm32_flsh l4 ~zephyr/samples/hello_world/outdir/disco_l475_iot1/zephyr.bin
Wait for ST Micro flash to be written, you may get a message such as “Unable to match requested speed 500 kHz, using 480 kHz” (not an error)

(7) Set screen communication (or use Arduino IDE to see the output):
screen /dev/ttyACM0 115200 (else you may see garbage outputted by ST Micro board)

(8) Press the “RESET” button on the ST Micro board and see “Hello World” in the terminal (screen)!

Enjoy,
RK


#31

Where is this information captured in VHS wiki?

Can you provide the link.

I really like the personal touch to the instructions. It is great you
covered the challenges you faced.
This is great in the VHS BLOG along with some pictures.

When you update the blog please send a message to
bpreston@linuxfoundation.org so that he can read it and share it.


#32

I have requested wiki editing/writing access.
Thanks,
RK


#33

Great, will try this also on a similar laptop. What linux did you use in the end?
Thanks
-Bob


#34

Hi fellow Zephyrers,
The updated detailed instructions are added to the wiki at
http://vanhack.ca/doku.php?id=hacks:boards:rtos:zephyr

Thanks,
RK
(Rebel_without_Clause)


#35

You rock Thanks @Rebel_without_Clause


#36

I used the latest version of 64 bit Xubuntu. Pretty much followed the instructions at https://www.zephyrproject.org/doc/getting_started/installation_linux.html

The trickiest part was getting openocd working properly.

Hosting on Windows requires the USB drivers from
http://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm32-mcu-eval-tools/stm32-mcu-discovery-kits/b-l475e-iot01a.html
Also needed to add some rules to etc/udev/rules.d from the firmware upgrade on the same page to connect properly with the board.

I’ll add all the details to the wiki tomorrow.


#37

Thank you, the link error in the wiki is now corrected!


#38

Thanks!


#39

I’d highly recommend avoiding requiring OpenOCD for this Zephyr stuff - as people are experiencing, it’s tragically complicated to get running.

Segger offers free firmware to upgrade the onboard ST-LINK on ST’s dev boards to full J-Link capabilities, which allows you to use their mature, relatively easy to use, cross-platform tools (including GDB server) absolutely free: https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/


#40

Hi Richard, Zephyr’s

Please document the procedure required to use Segger’s firmware. And
comment on your experience.