embedded-trainings-2020
embedded-trainings-2020 copied to clipboard
README.md required usb cable type with pic of connected setup
Good day, Firstly thank you for making the course materials available to wanna-be embedded rust developers. I purchased the required hardware from "Symmetry Electronics, part of TTI Semiconductor Group"
nRF52840 Development Kit for nRF52840 wireless SoC https://www.semiconductorstore.com/cart/pc/viewPrd.asp?idproduct=94949 High-end Bluetooth 5/Thread/802.15.4/ANT/2.4GHz multiprotocol SoC https://www.semiconductorstore.com/cart/pc/viewPrd.asp?idproduct=94964
I believe the DK requires this cable USB 2.0 Type A Male to Micro-USB Type B Male: Hi-Speed USB Device Cable A Male / Micro-B Male, 1 m (3 ft.), Black https://www.accessotronik.com/product_p/307161_m119.htm
Also it would be nice to see a picture of the entire setup with the board and dongle for others to follow easier.
Here are the relevant amounts I paid for the hardware to get up and running with the course: The cost for the above in CAD$ 43.95CAD DK + 10.00CAD Dongle + 17.66CAD Freight = 71.61CAD PAID
Also post-paid "DUTY AND TAX" : 28.00CAD PAID
And Finally the above micro-usb cable at a local AccessoTronik: 13.45CAD PAID(2m length because they didn't carry the 1m length)
ENTIRE COST OF ABOVE: 113.06CAD
Hi omac777, make sure you have 2 micro-USB cables handy because you need one for the debugger and one for flashing. Also, make sure that none of them are data- and not power-only cables.
The setup pictures are a good idea, I'll see if I can take some soon!
Thank you for the quick reply Mr. Steenbrink,
You said "Also, make sure that none of them are data- and not power-only cables." I think you meant "ensure they are data cables not power cables".
I only have one cable. I'll have to go back and buy another one. When checking the hardware, I was able to do the following with success on one cable.
/home/loongson/ferrousSystemsRustEmbeddedCourse/embedded-trainings-2020/beginner/apps cargo +stable build --target=thumbv7em-none-eabi --bin hello file target/thumbv7em-none-eabi/debug/hello cargo +stable size --target=thumbv7em-none-eabi --bin hello -- -A cargo +stable bloat --target=thumbv7em-none-eabi --bin hello
###this flashes and runs the program cargo +stable flash --target=thumbv7em-none-eabi --chip nRF52840_xxAA --bin hello
###this shows the output for the previous run cargo +stable embed --target=thumbv7em-none-eabi --bin hello
I'm happy to report the hardware works and building/running the rust for it is wonderful :)